diff --git a/src/components/Button.svelte b/src/components/Button.svelte
index 8a85f7426..b9cc3d966 100644
--- a/src/components/Button.svelte
+++ b/src/components/Button.svelte
@@ -31,7 +31,8 @@
`--button-color-3: var(--color-fill-${variant}-shade);` +
// The ghost colors are called --color-fill-counter and --color-fill-counter-emphasized.
`--button-color-4: var(--color-fill${variant === "ghost" ? "" : `-${variant}`}-counter);` +
- `--text-color: ${variant === "ghost" ? "var(--color-foreground-contrast)" : "var(--color-foreground-white)"}`,
+ `--text-color: ${variant === "ghost" ? "var(--color-foreground-contrast)" : "var(--color-foreground-white)"};` +
+ `--text-color-active: ${variant === "ghost" ? "var(--color-foreground-emphasized)" : "var(--color-foreground-white)"};`,
);
@@ -119,7 +120,7 @@
color: var(--color-foreground-disabled);
}
.container.active:not(.disabled) {
- color: var(--color-foreground-emphasized);
+ color: var(--text-color-active);
}
.disabled .p1-3,
diff --git a/src/components/Changes.svelte b/src/components/Changes.svelte
index de05b9904..e748738ad 100644
--- a/src/components/Changes.svelte
+++ b/src/components/Changes.svelte
@@ -118,10 +118,15 @@
-
(hideChanges = !hideChanges)}>
-
+
+
(hideChanges = !hideChanges)}
+ stylePadding="0 4px">
+
+
Changes
-
+
{#if !hideChanges}
-
+
{#snippet toggle(onclick)}
-