Skip to content

Commit

Permalink
Brighen highlight colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikko Miu committed Sep 18, 2024
1 parent 2e70169 commit a32ff32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/action/code.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function highlightLines(parent, addLines, remLines, isTableNum = false) {
elem = reparentCodeTableNumber(lineElems[l - 1]);
}

elem?.classList.add("bg-green-950/30", "text-green-500");
elem?.classList.add("bg-green-900/40", "text-green-500");
});

remLines.forEach((l) => {
Expand All @@ -95,7 +95,7 @@ function highlightLines(parent, addLines, remLines, isTableNum = false) {
elem.classList.add("text-red-500");
}

elem?.classList.add("bg-red-950/30", "text-red-500");
elem?.classList.add("bg-red-900/40", "text-red-500");
});
}

Expand Down

0 comments on commit a32ff32

Please sign in to comment.