Skip to content

Commit

Permalink
fix: update to fixed highlightjs version
Browse files Browse the repository at this point in the history
  • Loading branch information
nekowinston authored and sgoudham committed Mar 3, 2023
1 parent f62c216 commit 98cf81a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"homepage": "https://github.com/catppuccin/mdBook#readme",
"devDependencies": {
"@catppuccin/highlightjs": "^0.1.1",
"@catppuccin/highlightjs": "^0.1.2",
"@catppuccin/palette": "^0.1.6",
"sass": "^1.58.3"
}
Expand Down
16 changes: 8 additions & 8 deletions src/bin/assets/catppuccin-highlight.css
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,11 @@
}
.mocha code .hljs-diff-addition {
color: #a6e3a1;
background: rgba(var(--ctp-green), 15%);
background: rgba(166, 227, 161, 0.15);
}
.mocha code .hljs-diff-deletion {
color: #f38ba8;
background: rgba(var(--ctp-red), 15%);
background: rgba(243, 139, 168, 0.15);
}

.macchiato code.hljs {
Expand Down Expand Up @@ -277,11 +277,11 @@
}
.macchiato code .hljs-diff-addition {
color: #a6da95;
background: rgba(var(--ctp-green), 15%);
background: rgba(166, 218, 149, 0.15);
}
.macchiato code .hljs-diff-deletion {
color: #ed8796;
background: rgba(var(--ctp-red), 15%);
background: rgba(237, 135, 150, 0.15);
}

.frappe code.hljs {
Expand Down Expand Up @@ -420,11 +420,11 @@
}
.frappe code .hljs-diff-addition {
color: #a6d189;
background: rgba(var(--ctp-green), 15%);
background: rgba(166, 209, 137, 0.15);
}
.frappe code .hljs-diff-deletion {
color: #e78284;
background: rgba(var(--ctp-red), 15%);
background: rgba(231, 130, 132, 0.15);
}

.latte code.hljs {
Expand Down Expand Up @@ -563,9 +563,9 @@
}
.latte code .hljs-diff-addition {
color: #a6d189;
background: rgba(var(--ctp-green), 15%);
background: rgba(166, 209, 137, 0.15);
}
.latte code .hljs-diff-deletion {
color: #e78284;
background: rgba(var(--ctp-red), 15%);
background: rgba(231, 130, 132, 0.15);
}

0 comments on commit 98cf81a

Please sign in to comment.