Skip to content

Commit a69b339

Browse files
committed
fix(ui): use icon-strong-base for active titlebar icon buttons
1 parent 26f835c commit a69b339

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

packages/ui/src/components/button.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,10 @@
179179
background-color: var(--surface-base-active);
180180
}
181181

182+
[data-component="button"].titlebar-icon[data-variant="ghost"][aria-expanded="true"] [data-slot="icon-svg"] {
183+
color: var(--icon-strong-base);
184+
}
185+
182186
[data-component="button"].titlebar-icon[data-variant="ghost"][aria-expanded="true"]:hover:not(:disabled) {
183187
background-color: var(--surface-base-active);
184188
}

packages/ui/src/components/icon-button.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,10 @@
176176
background-color: var(--surface-base-active);
177177
}
178178

179+
[data-component="icon-button"].titlebar-icon[data-variant="ghost"][aria-expanded="true"] [data-slot="icon-svg"] {
180+
color: var(--icon-strong-base);
181+
}
182+
179183
[data-component="icon-button"].titlebar-icon[data-variant="ghost"][aria-expanded="true"]:hover:not(:disabled) {
180184
background-color: var(--surface-base-active);
181185
}

0 commit comments

Comments
 (0)