Skip to content

Commit

Permalink
fix: light theme issues in color gutter
Browse files Browse the repository at this point in the history
  • Loading branch information
abose committed Nov 30, 2024
1 parent f4f8ddb commit e6b2a37
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/styles/Extn-CSSColorPreview.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
// Check `extensionsIntegrated/CSSColorPreview for more reference
/* Single color preview */
.ico-cssColorPreview {
border: solid 1px rgba(0, 0, 0, 0.2);
border: solid 1px rgba(255, 255, 255, 0.2);
.dark & {
border: solid 1px rgba(0, 0, 0, 0.2);
}
display: inline-block;
top: .1em;
height:.7em;
Expand All @@ -13,13 +16,16 @@

/* Multiple colors preview container (this is a div) */
.ico-multiple-cssColorPreview {
border: solid 1px rgba(255, 255, 255, 0.2);
.dark & {
border: solid 1px rgba(0, 0, 0, 0.2);
}
position: relative;
display: inline-block;
top: .1em;
width: .7em;
height:.7em;
margin-left: .15em;
border: solid 1px rgba(0, 0, 0, 0.2);
}

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

0 comments on commit e6b2a37

Please sign in to comment.