Skip to content

Commit f20c0bf

Browse files
committed
tweak(ui): unify titlebar expanded button background
1 parent 9110e6a commit f20c0bf

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/ui/src/components/button.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,13 @@
172172
}
173173

174174
[data-component="button"].titlebar-icon[data-variant="ghost"][aria-expanded="true"] {
175-
background-color: var(--surface-base-active);
175+
background-color: var(--surface-raised-base-active);
176176
}
177177

178178
[data-component="button"].titlebar-icon[data-variant="ghost"][aria-expanded="true"] [data-slot="icon-svg"] {
179179
color: var(--icon-strong-base);
180180
}
181181

182182
[data-component="button"].titlebar-icon[data-variant="ghost"][aria-expanded="true"]:hover:not(:disabled) {
183-
background-color: var(--surface-base-active);
183+
background-color: var(--surface-raised-base-active);
184184
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,13 @@
169169
}
170170

171171
[data-component="icon-button"].titlebar-icon[data-variant="ghost"][aria-expanded="true"] {
172-
background-color: var(--surface-base-active);
172+
background-color: var(--surface-raised-base-active);
173173
}
174174

175175
[data-component="icon-button"].titlebar-icon[data-variant="ghost"][aria-expanded="true"] [data-slot="icon-svg"] {
176176
color: var(--icon-strong-base);
177177
}
178178

179179
[data-component="icon-button"].titlebar-icon[data-variant="ghost"][aria-expanded="true"]:hover:not(:disabled) {
180-
background-color: var(--surface-base-active);
180+
background-color: var(--surface-raised-base-active);
181181
}

0 commit comments

Comments
 (0)