Skip to content

Commit

Permalink
style(text-editor): overriding default mde styles (#2140)
Browse files Browse the repository at this point in the history
  • Loading branch information
owilliams320 authored Apr 9, 2024
1 parent 3b31c11 commit 2b7c6dd
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions libs/angular-text-editor/src/lib/text-editor.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,27 @@
// see: https://stackoverflow.com/questions/48806765/import-styles-in-angular-components-styles-with-ng-deep
/* stylelint-disable-next-line no-invalid-position-at-import-rule */
@import 'easymde/dist/easymde.min';

.editor-toolbar {
background-color: inherit;

i.separator {
border-left: none;
}

button .fa {
color: var(--mat-app-text-color, inherit);
}

button:hover,
button.active {
background-color: transparent;
border: 1px solid inherit;
}
}

.EasyMDEContainer .CodeMirror {
background-color: inherit;
color: inherit;
}
}

0 comments on commit 2b7c6dd

Please sign in to comment.