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

@ -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);
}