Skip to content

Commit

Permalink
fix: diff highlights
Browse files Browse the repository at this point in the history
  • Loading branch information
nekowinston committed Sep 22, 2023
1 parent be25caf commit 62e6b94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sass/_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ $highlights: (
"selector-pseudo": "teal",
"template-tag": "flamingo",
"template-variable": "flamingo",
"diff-addition": "green",
"diff-deletion": "red",
"addition": "green",
"deletion": "red",
);

$fontStyles: (
Expand Down Expand Up @@ -85,7 +85,7 @@ $fontStyles: (
}
}

@if ($key == "diff-addition" or $key == "diff-deletion") {
@if ($key == "addition" or $key == "deletion") {
@if $hexOutput {
background: color.change(map-get($color, $value), $alpha: 0.15);
} @else {
Expand Down

0 comments on commit 62e6b94

Please sign in to comment.