Skip to content

Commit 487a069

Browse files
committed
Tweak CSS
1 parent 2f65b57 commit 487a069

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

dev/vscode-button-group/vscode-button-group.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
gap: 6px;
2121
}
2222

23+
.wysiwyg-toolbar path {
24+
fill: currentColor;
25+
}
26+
2327
.icon-letter {
2428
flex: 1;
2529
font-family: sans-serif;

src/vscode-button/vscode-button.styles.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,25 @@ const styles: CSSResultGroup = [
140140
141141
.divider {
142142
display: var(--divider-display, none);
143-
background-color: var(--vscode-button-background, #0078d4);
143+
background-color: transparent;
144144
padding: 4px 0;
145145
box-sizing: border-box;
146146
}
147147
148+
:host(:hover) .divider,
149+
:host(:focus-visible) .divider {
150+
background-color: var(--vscode-button-hoverBackground, #026ec1);
151+
}
152+
148153
:host([secondary]) .divider {
149154
background-color: var(--vscode-button-secondaryBackground, #313131);
150155
}
151156
157+
:host([secondary]:hover) .divider,
158+
:host([secondary]:focus-visible) .divider {
159+
background-color: var(--vscode-button-secondaryHoverBackground, #3c3c3c);
160+
}
161+
152162
.divider > div {
153163
background-color: var(
154164
--vscode-button-separator,

0 commit comments

Comments
 (0)