parser: add ratio for price smas

This commit is contained in:
k
2024-07-12 12:02:57 +02:00
parent 35fd5054aa
commit 9077fee4d6
6 changed files with 147 additions and 70 deletions
@@ -167,7 +167,9 @@ function Button({
return (
<button
class={classPropToString([
disabled() ? "opacity-50" : "hover:bg-orange-50/20 active:scale-95",
disabled()
? "text-low-contrast"
: "hover:bg-orange-50/20 active:scale-95",
"min-w-20 flex-shrink-0 flex-grow whitespace-nowrap rounded-lg px-2 py-1.5",
])}
onClick={onClick}
+1 -1
View File
@@ -552,7 +552,7 @@ export function createPresets(scale: ResourceScale) {
{
title: "Vaulted Supply Net Change",
color: colors.vaultedness,
datasetPath: `/${scale}-to-vaulted-supply`,
datasetPath: `/${scale}-to-vaulted-supply-net-change`,
},
],
},
+5
View File
@@ -65,6 +65,11 @@ strong {
.text-high-contrast {
@apply text-orange-950 dark:text-orange-50;
}
.text-low-contrast {
@apply text-orange-950/50 dark:text-orange-50/50;
}
.decoration-high-contrast {
@apply decoration-orange-950 dark:decoration-orange-50;
}