Skip to content

Commit

Permalink
moved codeeditor scss var to codemirror styles
Browse files Browse the repository at this point in the history
  • Loading branch information
darausi committed Oct 25, 2024
1 parent a5f39ee commit bb0ab2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/TextField/textfield.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ $eccgui-size-textfield-padding-horizontal-small: $eccgui-size-inline-whitespace
$eccgui-typo-textfield-fontweight: $eccgui-font-weight-regular !default;
$eccgui-color-textfield-text: $eccgui-color-application-text !default;
$eccgui-color-textfield-background: white !default; // TODO define global var for it
$eccgui-color-codeeditor-background: $eccgui-color-textfield-background !default;
// lib vars
$pt-input-height: $eccgui-size-textfield-height-regular; // !default;
$pt-input-height-large: $eccgui-size-textfield-height-large; // !default;
Expand Down
3 changes: 3 additions & 0 deletions src/extensions/codemirror/_codemirror.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// own vars
$eccgui-color-codeeditor-background: $eccgui-color-textfield-background !default;

// adjustments
// stylelint-disable selector-class-pattern
.#{$eccgui}-codeeditor {
Expand Down

0 comments on commit bb0ab2a

Please sign in to comment.