Update Draftail styles to the dark theme

This commit is contained in:
Thibaud Colas 2018-01-10 23:55:14 +02:00
parent 382d59d1f3
commit fa4af4b8cc
2 changed files with 9 additions and 1 deletions

View file

@ -1,5 +1,4 @@
@import '../../../../node_modules/draft-js/dist/Draft';
@import '../../../../node_modules/draftail/dist/draftail';
// Give each block element eg. paragraph some spacing so we don't end up
// with empty paragraphs in code when user double enters because they think
@ -28,3 +27,10 @@ div[data-block='true'] {
// stylelint-disable declaration-no-important
content: none !important;
}
$color-editor-chrome: $color-grey-1;
$color-editor-chrome-text: $color-white;
$color-editor-chrome-active: $color-white;
$color-editor-chrome-accent: lighten($color-editor-chrome, 20%);
@import '../../../../node_modules/draftail/lib/index';

View file

@ -1 +1,3 @@
@import 'wagtailadmin/scss/variables';
@import '../../../../../../client/src/components/Draftail/Draftail';