Skip to content

Commit e0eb4c4

Browse files
committed
Refactor checkbox styling to use standard foreground color and adjust dimensions to 15x15 pixels
1 parent b38c792 commit e0eb4c4

1 file changed

Lines changed: 11 additions & 17 deletions

File tree

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.checkbox {
22
appearance: none;
3-
4-
height: 16px;
5-
width: 16px;
3+
height: 15px;
4+
width: 15px;
65
background-color: var(--vscode-checkbox-background);
6+
color: var(--vscode-checkbox-foreground);
77
border: 1px solid var(--vscode-checkbox-border);
88
border-radius: 3px;
99
position: relative;
@@ -20,19 +20,13 @@
2020
cursor: default;
2121
}
2222

23-
&:checked {
24-
border-color: var(--vscode-inputOption-activeBorder);
25-
color: var(--vscode-inputOption-activeForeground);
26-
background-color: var(--vscode-inputOption-activeBackground);
27-
28-
&::before {
29-
font-family: 'codicon';
30-
content: '\eab2';
31-
font-size: 13px;
32-
position: absolute;
33-
top: 50%;
34-
left: 50%;
35-
transform: translate(-50%, -50%);
36-
}
23+
&:checked::before {
24+
font-family: 'codicon';
25+
content: '\eab2';
26+
font-size: 13px;
27+
position: absolute;
28+
top: 50%;
29+
left: 50%;
30+
transform: translate(-50%, -50%);
3731
}
3832
}

0 commit comments

Comments
 (0)