Skip to content

Commit

Permalink
Fix highlight color contrast in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanw committed Sep 20, 2023
1 parent ec98f52 commit 9887f0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/styles/components/misc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

.highlight {
background: $highlight;
color: $highlight-color;
}

[v-cloak] {
Expand Down
2 changes: 2 additions & 0 deletions frontend/styles/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ $box-shadow-yellow: 2px 2px 0 transparentize($yellow-300, 0.85);
$froide-theme: ("highlight", "callout");

$highlight: var(--froide-highlight-bg);
$highlight-color: var(--froide-highlight-color);

$froide-theme-light: (
"highlight": (
"bg": $yellow-100,
Expand Down

0 comments on commit 9887f0c

Please sign in to comment.