feat: improve help view
Some checks failed
Deploy to GitHub Pages / build_site (push) Failing after 1m24s

This commit is contained in:
2024-04-26 19:04:54 +02:00
parent 9d1b631c32
commit 98a4e6e34d
20 changed files with 243 additions and 170 deletions

View File

@@ -45,11 +45,11 @@
"histoire": "^0.17.17",
"publint": "^0.2.7",
"svelte": "^4.2.15",
"svelte-check": "^3.6.9",
"svelte-check": "^3.7.0",
"tslib": "^2.6.2",
"typescript": "^5.4.5",
"vite": "^5.2.10",
"vitest": "^1.5.1"
"vitest": "^1.5.2"
},
"svelte": "./dist/index.js",
"types": "./dist/index.d.ts",

View File

@@ -52,7 +52,7 @@ body {
/* Secondary color */
--secondary-color: #6c757d;
--layer-0: var(--neutral-900);
--layer-0: var(--neutral-800);
--layer-1: var(--neutral-500);
--layer-2: var(--neutral-400);
--layer-3: var(--neutral-200);

View File

@@ -8,6 +8,13 @@
export let max = 1;
export let id = "";
if (min > max) {
[min, max] = [max, min];
}
if (value > max) {
max = value;
}
function strip(input: number) {
return +parseFloat(input + "").toPrecision(2);
}