N°7595 - Fix CKEditor 5 font color in dark themes

This commit is contained in:
Stephen Abello
2024-07-03 14:24:16 +02:00
parent 48e89dd27e
commit 17e8cad005
3 changed files with 11 additions and 829 deletions

View File

@@ -17,7 +17,7 @@ $ibo-vendors-ckeditor--autocomplete-item-image--background-color: $ibo-color-blu
$ibo-vendors-ckeditor--autocomplete-item-image--border: 1px solid $ibo-color-grey-600 !default;
$ibo-vendors-ckeditor--autocomplete-item-title--text-color: #3A3A3A !default;
$ibo-vendors-ckeditor--ck-content--text-color: $ibo-body-text-color !default;
/* - Following SCSS variables are only there to overlaod the CSS3 variables of CKEditor (see `src/resources/styles/default-theme.css` in CKEditor) */
$ibo-vendors-ckeditor--ck-color-list-button-on-background: $ibo-color-grey-200 !default;
$ibo-vendors-ckeditor--ck-color-list-button-on-background-focus: $ibo-color-grey-200 !default;
@@ -56,6 +56,10 @@ $ibo-vendors-ckeditor--ck-color-image-caption-text: $ibo-color-grey-900 !default
}
}
.ck.ck-content {
color: $ibo-vendors-ckeditor--ck-content--text-color;
}
.ck-editor__editable_inline:not(.ck-comment__input *) {
height: 200px;
}