From 9f919c05fab9ee1bf0948f3fc9db4c18287d1366 Mon Sep 17 00:00:00 2001 From: Brent Roose Date: Fri, 15 Mar 2024 11:07:18 +0100 Subject: [PATCH] Update --- README.md | 5 +++-- src/Themes/highlight-light-lite.css | 8 -------- src/Themes/highlight-tempest.css | 8 -------- 3 files changed, 3 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 6e8c9db..a1f849e 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,6 @@ $code = $highlighter->parse(htmlentities($raw), 'php'); Next, you can import one of the provided themes: ```css -@import "../vendor/tempest/highlight/src/Themes/highlight-tempest.css"; @import "../vendor/tempest/highlight/src/Themes/highlight-light-lite.css"; ``` @@ -49,4 +48,6 @@ Or you can build your own with just a couple of classes: .hl-comment { color: #888888; } -``` \ No newline at end of file +``` + +You should style your any pre tags yourself. \ No newline at end of file diff --git a/src/Themes/highlight-light-lite.css b/src/Themes/highlight-light-lite.css index 5660d83..cbe40d5 100644 --- a/src/Themes/highlight-light-lite.css +++ b/src/Themes/highlight-light-lite.css @@ -9,14 +9,6 @@ --comment-color: #888888; } -.prose pre { - background-color: var(--background-color); - color: var(--text-color); - max-width: 100%; - overflow-x: auto; - width: 100%; -} - .hl-keyword { color: var(--keyword-color); } diff --git a/src/Themes/highlight-tempest.css b/src/Themes/highlight-tempest.css index e0cba72..d9a7336 100644 --- a/src/Themes/highlight-tempest.css +++ b/src/Themes/highlight-tempest.css @@ -9,14 +9,6 @@ --comment-color: #888888; } -.prose pre { - background-color: var(--background-color); - color: var(--text-color); - max-width: 100%; - overflow-x: auto; - width: 100%; -} - .hl-keyword { color: var(--keyword-color); }