Skip to content

Commit 87fd91c

Browse files
committed
Rename css vars
1 parent 7b59b94 commit 87fd91c

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ const styles: CSSResultGroup = [
1313
}
1414
1515
::slotted(vscode-button:not(:first-child)) {
16-
--private-border-left-width: 0;
17-
--private-border-left-radius: 0;
18-
--private-border-left-width: 0;
16+
--vsc-border-left-width: 0;
17+
--vsc-border-left-radius: 0;
18+
--vsc-border-left-width: 0;
1919
}
2020
2121
::slotted(vscode-button:not(:last-child)) {
22-
--private-divider-display: block;
23-
--private-border-right-width: 0;
24-
--private-border-right-radius: 0;
25-
--private-border-right-width: 0;
22+
--vsc-divider-display: block;
23+
--vsc-border-right-width: 0;
24+
--vsc-border-right-radius: 0;
25+
--vsc-border-right-width: 0;
2626
}
2727
2828
::slotted(vscode-button:focus) {

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ const styles: CSSResultGroup = [
1515
1616
.root {
1717
background-color: var(--vscode-button-background, #0078d4);
18-
border-bottom-left-radius: var(--private-border-left-radius, 2px);
19-
border-bottom-right-radius: var(--private-border-right-radius, 2px);
18+
border-bottom-left-radius: var(--vsc-border-left-radius, 2px);
19+
border-bottom-right-radius: var(--vsc-border-right-radius, 2px);
2020
border-bottom-width: 1px;
2121
border-color: var(--vscode-button-border, transparent);
22-
border-left-width: var(--private-border-left-width, 1px);
23-
border-right-width: var(--private-border-right-width, 1px);
22+
border-left-width: var(--vsc-border-left-width, 1px);
23+
border-right-width: var(--vsc-border-right-width, 1px);
2424
border-style: solid;
25-
border-top-left-radius: var(--private-border-left-radius, 2px);
26-
border-top-right-radius: var(--private-border-right-radius, 2px);
25+
border-top-left-radius: var(--vsc-border-left-radius, 2px);
26+
border-top-right-radius: var(--vsc-border-right-radius, 2px);
2727
border-top-width: 1px;
2828
box-sizing: border-box;
2929
color: var(--vscode-button-foreground, #ffffff);
@@ -152,7 +152,7 @@ const styles: CSSResultGroup = [
152152
}
153153
154154
.divider {
155-
display: var(--private-divider-display, none);
155+
display: var(--vsc-divider-display, none);
156156
background-color: transparent;
157157
padding: 4px 0;
158158
box-sizing: border-box;

0 commit comments

Comments
 (0)