Skip to content

Commit

Permalink
fix(plugin-prismjs): fix color converting
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Sep 19, 2024
1 parent 7ce8c34 commit 7215129
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
$code-bg-color,
$saturation:
if(
color.channel(color.to-space($code-bg-color, hsl), 'lightness') < 50%,
color.channel($code-bg-color, 'whiteness', $space: hwb) < 50%,
5%,
10%
),
$lightness:
if(
color.channel(color.to-space($code-bg-color, hsl), 'lightness') < 50%,
color.channel($code-bg-color, 'whiteness', $space: hwb) < 50%,
5%,
-5%
)
Expand Down

0 comments on commit 7215129

Please sign in to comment.