Skip to content

Commit a1b5ece

Browse files
committed
fix: light theme issues in color gutter
1 parent f4f8ddb commit a1b5ece

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/styles/Extn-CSSColorPreview.less

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
// Check `extensionsIntegrated/CSSColorPreview for more reference
33
/* Single color preview */
44
.ico-cssColorPreview {
5-
border: solid 1px rgba(0, 0, 0, 0.2);
5+
border: solid 1px rgba(255, 255, 255, 0.2);
6+
.dark & {
7+
border: solid 1px rgba(0, 0, 0, 0.2);
8+
}
69
display: inline-block;
710
top: .1em;
811
height:.7em;
@@ -13,13 +16,16 @@
1316

1417
/* Multiple colors preview container (this is a div) */
1518
.ico-multiple-cssColorPreview {
19+
border: solid 1px rgba(255, 255, 255, 0.2);
20+
.dark & {
21+
border: solid 1px rgba(0, 0, 0, 0.2);
22+
}
1623
position: relative;
1724
display: inline-block;
1825
top: .1em;
1926
width: .7em;
2027
height:.7em;
2128
margin-left: .15em;
22-
border: solid 1px rgba(0, 0, 0, 0.2);
2329
}
2430

2531
/* For individual color boxes, they will be added inside the main .ico-multiple-cssColorPreview div */

0 commit comments

Comments
 (0)