diff options
| author | David Hill <[email protected]> | 2026-02-17 17:51:49 +0000 |
|---|---|---|
| committer | David Hill <[email protected]> | 2026-02-17 17:51:49 +0000 |
| commit | a69b339bafd3a1b95cdec9a3374e38959db9fe7b (patch) | |
| tree | b97f5b2e20675cd6d37cf4c829021d533dd7db48 | |
| parent | 26f835cdd264b3e70afd6f8e3f4f14c12cd3aec4 (diff) | |
| download | opencode-a69b339bafd3a1b95cdec9a3374e38959db9fe7b.tar.gz opencode-a69b339bafd3a1b95cdec9a3374e38959db9fe7b.zip | |
fix(ui): use icon-strong-base for active titlebar icon buttons
| -rw-r--r-- | packages/ui/src/components/button.css | 4 | ||||
| -rw-r--r-- | packages/ui/src/components/icon-button.css | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/packages/ui/src/components/button.css b/packages/ui/src/components/button.css index 28f597f8a..794002888 100644 --- a/packages/ui/src/components/button.css +++ b/packages/ui/src/components/button.css @@ -179,6 +179,10 @@ background-color: var(--surface-base-active); } +[data-component="button"].titlebar-icon[data-variant="ghost"][aria-expanded="true"] [data-slot="icon-svg"] { + color: var(--icon-strong-base); +} + [data-component="button"].titlebar-icon[data-variant="ghost"][aria-expanded="true"]:hover:not(:disabled) { background-color: var(--surface-base-active); } diff --git a/packages/ui/src/components/icon-button.css b/packages/ui/src/components/icon-button.css index e6e00e407..ad8200ae6 100644 --- a/packages/ui/src/components/icon-button.css +++ b/packages/ui/src/components/icon-button.css @@ -176,6 +176,10 @@ background-color: var(--surface-base-active); } +[data-component="icon-button"].titlebar-icon[data-variant="ghost"][aria-expanded="true"] [data-slot="icon-svg"] { + color: var(--icon-strong-base); +} + [data-component="icon-button"].titlebar-icon[data-variant="ghost"][aria-expanded="true"]:hover:not(:disabled) { background-color: var(--surface-base-active); } |
