Skip to content

Commit

Permalink
new dark UI colors and adaptions for column editor
Browse files Browse the repository at this point in the history
  • Loading branch information
agessler committed May 6, 2024
1 parent f8b00e6 commit 8063fbc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Widgets/ColumnContainerWidget/ColumnsEditorTab.scss
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@
.scrivito_dark {
.gle-preview {
border: 2px solid #777;
background: #555;
background: var(--jr-grey-light-hover);
}
.gle-preview.active {
border: 2px solid #426698;
Expand All @@ -370,7 +370,7 @@
}
.gle {
border: 2px solid #777;
background: #444;
background: var(--jr-grey-light);
}
.gle .grid-ruler {
opacity: 0.4;
Expand Down
10 changes: 9 additions & 1 deletion src/assets/stylesheets/scrivitoExtensions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
// general styles adaptions
// --------------------------------------------------------------- //
@import 'scrivito-neoletter-form-widgets/editing.css';
:root {
--jr-grey-dark: #111418;
--jr-grey-middle: #1d2229;
--jr-grey-light: #272d37;
--jr-grey-light-hover: #3a4353;

--jr-blue-light: #426698;
}

html,
body {
Expand All @@ -10,7 +18,7 @@ body {
}

.scrivito_dark {
background: #3f3f3f;
background: var(--jr-grey-middle);

[data-scrivito-editors-placeholder]:empty:not(:focus):before {
color: #aaa !important;
Expand Down

0 comments on commit 8063fbc

Please sign in to comment.