From 399c097dab5de29cb77c67fe77e1a1b323f79bd9 Mon Sep 17 00:00:00 2001 From: Giorgio Garofalo Date: Sun, 11 Aug 2024 19:11:57 +0200 Subject: [PATCH] Include highlightjs theme in each color scheme --- core/src/main/resources/render/html-wrapper.html | 1 - core/src/main/resources/render/theme/color/beaver.css | 2 ++ core/src/main/resources/render/theme/color/darko.css | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/src/main/resources/render/html-wrapper.html b/core/src/main/resources/render/html-wrapper.html index e9b88c94..570798a6 100644 --- a/core/src/main/resources/render/html-wrapper.html +++ b/core/src/main/resources/render/html-wrapper.html @@ -16,7 +16,6 @@ [[endif:SLIDES]] [[if:CODE]] - [[endif:CODE]] diff --git a/core/src/main/resources/render/theme/color/beaver.css b/core/src/main/resources/render/theme/color/beaver.css index 2f0c2a78..3ee6557c 100644 --- a/core/src/main/resources/render/theme/color/beaver.css +++ b/core/src/main/resources/render/theme/color/beaver.css @@ -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); diff --git a/core/src/main/resources/render/theme/color/darko.css b/core/src/main/resources/render/theme/color/darko.css index 494e3a9f..190480ac 100644 --- a/core/src/main/resources/render/theme/color/darko.css +++ b/core/src/main/resources/render/theme/color/darko.css @@ -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;