matcha-theme 20.214.0 → 20.215.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/matcha-text-editor.scss +51 -0
- package/main.scss +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
@mixin matcha-text-editor-theme($theme) {
|
|
2
|
+
matcha-text-editor {
|
|
3
|
+
.sun-editor {
|
|
4
|
+
border-color: getDisabled($theme);
|
|
5
|
+
border-radius: 8px;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.sun-editor-id-toolbar {
|
|
10
|
+
background: getBackground($theme);
|
|
11
|
+
border-bottom-color: getDisabled($theme);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.sun-editor-id-toolbar .btn_editor {
|
|
15
|
+
background-color: getBackground($theme);
|
|
16
|
+
border-color: getDisabled($theme);
|
|
17
|
+
color: getForeground($theme);
|
|
18
|
+
|
|
19
|
+
&:hover,
|
|
20
|
+
&:focus {
|
|
21
|
+
background-color: getAccentAlpha($theme);
|
|
22
|
+
border-color: getAccent($theme);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.on {
|
|
26
|
+
background-color: getAccentAlpha($theme);
|
|
27
|
+
border-color: getAccent($theme);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.sun-editor-id-toolbar .layer_editor {
|
|
32
|
+
background-color: getSurface($theme);
|
|
33
|
+
border-color: getDisabled($theme);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.sun-editor-id-toolbar .btn_edit:hover,
|
|
37
|
+
.sun-editor-id-toolbar .btn_edit:focus {
|
|
38
|
+
background-color: getAccentAlpha($theme);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
matcha-text-editor {
|
|
44
|
+
display: block;
|
|
45
|
+
width: 100%;
|
|
46
|
+
|
|
47
|
+
.sun-editor {
|
|
48
|
+
border-radius: 8px;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
}
|
|
51
|
+
}
|
package/main.scss
CHANGED
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
@import "./components/matcha-progress-bar.scss"; // matcha-progress-bar($theme)
|
|
68
68
|
@import "./components/matcha-page-builder.scss"; // matcha-page-builder($theme)
|
|
69
69
|
@import "./components/matcha-snack-bar.scss"; // matcha-snack-bar-theme($theme)
|
|
70
|
+
@import "./components/matcha-text-editor.scss"; // matcha-text-editor-theme($theme)
|
|
70
71
|
|
|
71
72
|
// VENDORS
|
|
72
73
|
@import "./vendors/angular-editor.scss";
|
|
@@ -189,6 +190,7 @@
|
|
|
189
190
|
@include matcha-progress-bar-theme($theme);
|
|
190
191
|
@include matcha-page-builder-theme($theme);
|
|
191
192
|
@include matcha-snack-bar-theme($theme);
|
|
193
|
+
@include matcha-text-editor-theme($theme);
|
|
192
194
|
@include matcha-date-theme($theme);
|
|
193
195
|
@include matcha-time-theme($theme);
|
|
194
196
|
@include matcha-time-range-theme($theme);
|