Skip to content

Commit

Permalink
fix: highlightjs syntax highlighting (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgoudham authored Sep 22, 2024
1 parent d5b486e commit 5a04755
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/catppuccin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

@each $flavour, $colour in catppuccin.$palette {
.#{$flavour} {
@include hljs.highlights($flavour, "hex");
@include hljs.highlights($flavour);
code {
color: map-get($colour, "text");
background: map-get($colour, "mantle");
Expand Down Expand Up @@ -62,5 +62,6 @@
--searchresults-li-bg: #{map-get($color, "base")};
--search-mark-bg: #{map-get($color, "peach")};
--warning-border: #{map-get($color, "peach")};
--color-scheme: #{if($flavour == "latte", "light", "dark")};
}
}

0 comments on commit 5a04755

Please sign in to comment.