Skip to content

Commit

Permalink
Update src/pydata_sphinx_theme/assets/styles/extensions/_sphinx_desig…
Browse files Browse the repository at this point in the history
…n.scss

Co-authored-by: gabalafou <[email protected]>
  • Loading branch information
trallard and gabalafou authored Jul 29, 2024
1 parent 5c66a78 commit 3a8609a
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,7 @@ $all-colors: map.merge($pst-semantic-colors, $extra-semantic-colors);
// later to calculate the text color
$highlight-color: color.scale($value, $lightness: -15%, $saturation: 5%);

--pst-color-#{$name}-highlight: #{color.scale(
$value,
$lightness: -15%,
$saturation: 5%
)};
--pst-color-#{$name}-highlight: #{$highlight-color};

// override the sphinx-design variables
--sd-color-#{$name}: var(--pst-color-#{$name});
Expand Down

0 comments on commit 3a8609a

Please sign in to comment.