Skip to content

Commit

Permalink
Include highlightjs theme in each color scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgio committed Aug 11, 2024
1 parent 7158057 commit 399c097
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/src/main/resources/render/html-wrapper.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
[[endif:SLIDES]]
<link rel="stylesheet" href="theme/theme.css">
[[if:CODE]]
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlightjs-line-numbers.js/2.8.0/highlightjs-line-numbers.min.js"></script>
[[endif:CODE]]
Expand Down
2 changes: 2 additions & 0 deletions core/src/main/resources/render/theme/color/beaver.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/* Beamer's Beaver color theme */

@import url('https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css');

:root {
--primary: rgb(187, 39, 26);
--primary-darker: rgb(149, 29, 18);
Expand Down
2 changes: 2 additions & 0 deletions core/src/main/resources/render/theme/color/darko.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import url('https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark.min.css');

:root {
--primary: #224A51;

Expand Down

0 comments on commit 399c097

Please sign in to comment.