Skip to content

Commit

Permalink
Opt-out of forced-colors for colored-square and colored-border (#5237)
Browse files Browse the repository at this point in the history
We do want the color to be visible even if they're not system colors.
  • Loading branch information
nchevobbe authored Dec 4, 2024
1 parent 7e01482 commit 3b18ed2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions res/css/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,17 @@
box-sizing: border-box;
border: 0.5px solid rgb(0 0 0 / 0.1);
margin-right: 3px;

/* Opt-out of forced colors so the color is applied */
forced-color-adjust: none;
}

.colored-border {
border: 2px solid rgb(0 0 0 / 0.1);
margin-right: 3px;

/* Opt-out of forced colors so the color is applied */
forced-color-adjust: none;
}

.colored-border.ellipsis {
Expand Down

0 comments on commit 3b18ed2

Please sign in to comment.