client: Fix foreground color

This commit is contained in:
Elian Doran 2024-10-27 19:43:48 +02:00
parent 1a25f60264
commit 87bc142552
No known key found for this signature in database
4 changed files with 4 additions and 4 deletions

View File

@ -526,7 +526,6 @@
/* @ckeditor/ckeditor5-code-block/theme/codeblock.css */ /* @ckeditor/ckeditor5-code-block/theme/codeblock.css */
.ck-content pre { .ck-content pre {
padding: 1em; padding: 1em;
color: hsl(0, 0%, 20.8%);
border: 1px solid hsl(0, 0%, 77%); border: 1px solid hsl(0, 0%, 77%);
border-radius: 2px; border-radius: 2px;
text-align: left; text-align: left;
@ -537,6 +536,7 @@
min-width: 200px; min-width: 200px;
} }
.ck-content pre:not(.hljs) { .ck-content pre:not(.hljs) {
color: hsl(0, 0%, 20.8%);
background: hsla(0, 0%, 78%, 0.3); background: hsla(0, 0%, 78%, 0.3);
} }
/* @ckeditor/ckeditor5-code-block/theme/codeblock.css */ /* @ckeditor/ckeditor5-code-block/theme/codeblock.css */

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -382,7 +382,7 @@ button.btn, button.btn-sm {
padding: 0; padding: 0;
} }
pre:not(.CodeMirror-line) { pre:not(.CodeMirror-line):not(.hljs) {
color: var(--main-text-color) !important; color: var(--main-text-color) !important;
white-space: pre-wrap; white-space: pre-wrap;
font-size: 100%; font-size: 100%;