Skip to content

Commit e8dce54

Browse files
committed
Rely on dark-theme-base, add ckeditor theme, fix contrast issues
1 parent cdcefc4 commit e8dce54

3 files changed

Lines changed: 11 additions & 25 deletions

File tree

steffunky-backoffice-lunar-eclipse-theme/datamodel.steffunky-backoffice-lunar-eclipse-theme.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111
</imports>
1212
<stylesheets>
1313
<stylesheet id="fullmoon">../css/backoffice/main.scss</stylesheet>
14-
<stylesheet id="style">steffunky-backoffice-lunar-eclipse-theme/scss/style.scss</stylesheet>
14+
<stylesheet id="dark-stylesheet">steffunky-backoffice-dark-theme-base/scss/stylesheet.scss</stylesheet>
15+
<stylesheet id="stylesheet">steffunky-backoffice-lunar-eclipse-theme/scss/style.scss</stylesheet>
1516
<stylesheet id="ace_editor">steffunky-backoffice-lunar-eclipse-theme/scss/ace_editor.scss</stylesheet>
16-
<stylesheet id="ck_editor">steffunky-backoffice-lunar-eclipse-theme/scss/editor.scss</stylesheet>
17+
<stylesheet id="ckeditor">steffunky-backoffice-dark-theme-base/scss/ckeditor.scss</stylesheet>
1718
</stylesheets>
1819
<precompiled_stylesheet>steffunky-backoffice-lunar-eclipse-theme/precompiled-themes/main.css</precompiled_stylesheet>
1920
</theme>

steffunky-backoffice-lunar-eclipse-theme/scss/scss-variables.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,14 +192,15 @@ $ibo-quick-create--icon--color--on-hover: $ibo-color-primary-300;
192192
$ibo-quick-create--icon--color--on-active: $ibo-color-primary-400;
193193

194194
$ibo-datatable--toolbar--text-color: $ibo-color-white-200;
195-
$ibo-vendors-datatables--pagination-button--background-color--on-hover: $ibo-color-highlight-med-500;
195+
$ibo-vendors-datatables--pagination-button--background-color--on-hover: $ibo-color-highlight-high-500;
196196
$ibo-vendors-datatables--pagination-button--text-color--is-active: $ibo-color-white-200;
197-
$ibo-vendors-datatables--pagination-button--background-color--is-active: $ibo-color-highlight-low-500;
197+
$ibo-vendors-datatables--pagination-button--background-color--is-active: $ibo-color-highlight-med-500;
198198
$ibo-vendors-datatables--pagination-button--box-shadow--is-active: inset 0px 1px 0px rgba(0, 0, 0, 0.15);
199199
$ibo-vendors-datatables--pagination-button--text-color--is-disabled: $ibo-color-grey-600;
200200

201201
$ibo-vendors-datatables--page-length-selector--text-color: $ibo-color-grey-100;
202202
$ibo-vendors-datatables--page-length-selector--background-color: $ibo-color-grey-600;
203+
$ibo-vendors-datatables--page-length-selector--background-color: $ibo-color-grey-600;
203204
$ibo-vendors-datatables--page-length-selector--border-color: $ibo-color-grey-800;
204205
$ibo-vendors-datatables--page-length-selector--border-color--on-focus: $ibo-color-primary-300;
205206

@@ -299,7 +300,7 @@ $ibo-search-form-panel--criteria--border-color: transparent;
299300
$ibo-search-form-panel--multiple-choice--hover--color: $ibo-color-grey-500;
300301
$ibo-search-form-panel--items--hover--color: $ibo-search-form-panel--multiple-choice--hover--color;
301302

302-
$ibo-activity-entry--main-information--background-color: $ibo-color-white-150;
303+
$ibo-activity-entry--main-information--background-color: $ibo-color-white-100;
303304
$ibo-activity-entry--main-information--is-current-user--background-color: $ibo-color-primary-100;
304305
$ibo-activity-entry--medallion--has-no-image--background-color: $ibo-color-grey-300;
305306
$ibo-activity-entry--medallion--has-no-image--text-color: $ibo-color-white-100;
Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,5 @@
1-
.dataTable {
2-
@each $sColorLabel, $aAttributes in $ibo-vendors-datatables--row-highlight--colors {
3-
$sBgColor: nth($aAttributes, 1);
4-
tr.ibo-is-#{$sColorLabel}{
5-
color: $sBgColor;
6-
&:nth-child(odd) {
7-
background-color: $ibo-vendors-datatables--row--background-color--is-odd;
8-
}
9-
10-
&:nth-child(even) {
11-
background-color: $ibo-vendors-datatables--row--background-color--is-even;
12-
}
13-
&:hover, &.selected:hover {
14-
background-color: $ibo-datatable--row--background-color--is-hover;
15-
}
16-
&.selected {
17-
background-color: $ibo-datatable--row--background-color--is-selected;
18-
}
19-
}
20-
}
1+
.ibo-is-html-content pre{
2+
color: $ibo-color-white-100;
3+
background-color: $ibo-color-grey-700;
4+
border: 1px solid $ibo-color-grey-600;
215
}

0 commit comments

Comments
 (0)