Skip to content

Commit

Permalink
fix: Fix white background colour
Browse files Browse the repository at this point in the history
  • Loading branch information
sgoudham committed Aug 27, 2022
1 parent db3cf56 commit 38514d4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/bin/assets/catppuccin-highlight.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,11 @@
color: #f2cdcd !important;
}
.mocha pre .hljs-addition {
background-color: #181825 !important;
color: #a6e3a1 !important;
}
.mocha pre .hljs-deletion {
background-color: #181825 !important;
color: #f38ba8 !important;
}
.mocha pre .hljs-comment,
Expand Down Expand Up @@ -146,9 +148,11 @@
color: #f0c6c6 !important;
}
.macchiato pre .hljs-addition {
background-color: #1e2030 !important;
color: #a6da95 !important;
}
.macchiato pre .hljs-deletion {
background-color: #1e2030 !important;
color: #ed8796 !important;
}
.macchiato pre .hljs-comment,
Expand Down Expand Up @@ -234,9 +238,11 @@
color: #eebebe !important;
}
.frappe pre .hljs-addition {
background-color: #292c3c !important;
color: #a6d189 !important;
}
.frappe pre .hljs-deletion {
background-color: #292c3c !important;
color: #e78284 !important;
}
.frappe pre .hljs-comment,
Expand Down Expand Up @@ -322,9 +328,11 @@
color: #dd7878 !important;
}
.latte pre .hljs-addition {
background-color: #e6e9ef !important;
color: #40a02b !important;
}
.latte pre .hljs-deletion {
background-color: #e6e9ef !important;
color: #d20f39 !important;
}
.latte pre .hljs-comment,
Expand Down
2 changes: 2 additions & 0 deletions src/palette/catppuccin-highlight.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,12 @@
}

.hljs-addition {
background-color: #{map-get($color, "mantle")} !important;
color: #{map-get($color, "green")} !important;
}

.hljs-deletion {
background-color: #{map-get($color, "mantle")} !important;
color: #{map-get($color, "red")} !important;
}

Expand Down

0 comments on commit 38514d4

Please sign in to comment.