matcha-theme 20.214.0 → 20.216.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/css/matcha-style.css +0 -43
- 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/css/matcha-style.css
CHANGED
|
@@ -43800,7 +43800,6 @@ How to use
|
|
|
43800
43800
|
}
|
|
43801
43801
|
|
|
43802
43802
|
.matcha-message-box,
|
|
43803
|
-
.matcha-msg-box,
|
|
43804
43803
|
.message-box {
|
|
43805
43804
|
padding: 16px;
|
|
43806
43805
|
border-left: 6px solid;
|
|
@@ -43814,14 +43813,6 @@ How to use
|
|
|
43814
43813
|
.matcha-message-box--warning,
|
|
43815
43814
|
.matcha-message-box--success,
|
|
43816
43815
|
.matcha-message-box--info,
|
|
43817
|
-
.matcha-msg-box.error,
|
|
43818
|
-
.matcha-msg-box.warning,
|
|
43819
|
-
.matcha-msg-box.success,
|
|
43820
|
-
.matcha-msg-box.info,
|
|
43821
|
-
.matcha-msg-box--error,
|
|
43822
|
-
.matcha-msg-box--warning,
|
|
43823
|
-
.matcha-msg-box--success,
|
|
43824
|
-
.matcha-msg-box--info,
|
|
43825
43816
|
.message-box.error,
|
|
43826
43817
|
.message-box.warning,
|
|
43827
43818
|
.message-box.success,
|
|
@@ -59721,7 +59712,6 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
59721
59712
|
}
|
|
59722
59713
|
|
|
59723
59714
|
.theme-default-light .matcha-message-box,
|
|
59724
|
-
.theme-default-light .matcha-msg-box,
|
|
59725
59715
|
.theme-default-light .message-box {
|
|
59726
59716
|
background-color: rgba(30, 91, 218, 0.2);
|
|
59727
59717
|
border-left-color: #1e5bda;
|
|
@@ -59736,14 +59726,6 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
59736
59726
|
.theme-default-light .matcha-message-box--warning,
|
|
59737
59727
|
.theme-default-light .matcha-message-box--success,
|
|
59738
59728
|
.theme-default-light .matcha-message-box--info,
|
|
59739
|
-
.theme-default-light .matcha-msg-box.error,
|
|
59740
|
-
.theme-default-light .matcha-msg-box.warning,
|
|
59741
|
-
.theme-default-light .matcha-msg-box.success,
|
|
59742
|
-
.theme-default-light .matcha-msg-box.info,
|
|
59743
|
-
.theme-default-light .matcha-msg-box--error,
|
|
59744
|
-
.theme-default-light .matcha-msg-box--warning,
|
|
59745
|
-
.theme-default-light .matcha-msg-box--success,
|
|
59746
|
-
.theme-default-light .matcha-msg-box--info,
|
|
59747
59729
|
.theme-default-light .message-box.error,
|
|
59748
59730
|
.theme-default-light .message-box.warning,
|
|
59749
59731
|
.theme-default-light .message-box.success,
|
|
@@ -59757,8 +59739,6 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
59757
59739
|
|
|
59758
59740
|
.theme-default-light .matcha-message-box--error,
|
|
59759
59741
|
.theme-default-light .matcha-message-box.error,
|
|
59760
|
-
.theme-default-light .matcha-msg-box--error,
|
|
59761
|
-
.theme-default-light .matcha-msg-box.error,
|
|
59762
59742
|
.theme-default-light .message-box--error,
|
|
59763
59743
|
.theme-default-light .message-box.error {
|
|
59764
59744
|
background-color: rgba(229, 58, 58, 0.2);
|
|
@@ -59767,8 +59747,6 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
59767
59747
|
|
|
59768
59748
|
.theme-default-light .matcha-message-box--warning,
|
|
59769
59749
|
.theme-default-light .matcha-message-box.warning,
|
|
59770
|
-
.theme-default-light .matcha-msg-box--warning,
|
|
59771
|
-
.theme-default-light .matcha-msg-box.warning,
|
|
59772
59750
|
.theme-default-light .message-box--warning,
|
|
59773
59751
|
.theme-default-light .message-box.warning {
|
|
59774
59752
|
background-color: rgba(232, 195, 0, 0.2);
|
|
@@ -59777,8 +59755,6 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
59777
59755
|
|
|
59778
59756
|
.theme-default-light .matcha-message-box--success,
|
|
59779
59757
|
.theme-default-light .matcha-message-box.success,
|
|
59780
|
-
.theme-default-light .matcha-msg-box--success,
|
|
59781
|
-
.theme-default-light .matcha-msg-box.success,
|
|
59782
59758
|
.theme-default-light .message-box--success,
|
|
59783
59759
|
.theme-default-light .message-box.success {
|
|
59784
59760
|
background-color: rgba(17, 144, 70, 0.2);
|
|
@@ -59787,8 +59763,6 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
59787
59763
|
|
|
59788
59764
|
.theme-default-light .matcha-message-box--info,
|
|
59789
59765
|
.theme-default-light .matcha-message-box.info,
|
|
59790
|
-
.theme-default-light .matcha-msg-box--info,
|
|
59791
|
-
.theme-default-light .matcha-msg-box.info,
|
|
59792
59766
|
.theme-default-light .message-box--info,
|
|
59793
59767
|
.theme-default-light .message-box.info {
|
|
59794
59768
|
background-color: rgba(30, 91, 218, 0.2);
|
|
@@ -75875,7 +75849,6 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
75875
75849
|
}
|
|
75876
75850
|
|
|
75877
75851
|
.theme-default-dark .matcha-message-box,
|
|
75878
|
-
.theme-default-dark .matcha-msg-box,
|
|
75879
75852
|
.theme-default-dark .message-box {
|
|
75880
75853
|
background-color: rgba(188, 206, 244, 0.2);
|
|
75881
75854
|
border-left-color: #bccef4;
|
|
@@ -75890,14 +75863,6 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
75890
75863
|
.theme-default-dark .matcha-message-box--warning,
|
|
75891
75864
|
.theme-default-dark .matcha-message-box--success,
|
|
75892
75865
|
.theme-default-dark .matcha-message-box--info,
|
|
75893
|
-
.theme-default-dark .matcha-msg-box.error,
|
|
75894
|
-
.theme-default-dark .matcha-msg-box.warning,
|
|
75895
|
-
.theme-default-dark .matcha-msg-box.success,
|
|
75896
|
-
.theme-default-dark .matcha-msg-box.info,
|
|
75897
|
-
.theme-default-dark .matcha-msg-box--error,
|
|
75898
|
-
.theme-default-dark .matcha-msg-box--warning,
|
|
75899
|
-
.theme-default-dark .matcha-msg-box--success,
|
|
75900
|
-
.theme-default-dark .matcha-msg-box--info,
|
|
75901
75866
|
.theme-default-dark .message-box.error,
|
|
75902
75867
|
.theme-default-dark .message-box.warning,
|
|
75903
75868
|
.theme-default-dark .message-box.success,
|
|
@@ -75911,8 +75876,6 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
75911
75876
|
|
|
75912
75877
|
.theme-default-dark .matcha-message-box--error,
|
|
75913
75878
|
.theme-default-dark .matcha-message-box.error,
|
|
75914
|
-
.theme-default-dark .matcha-msg-box--error,
|
|
75915
|
-
.theme-default-dark .matcha-msg-box.error,
|
|
75916
75879
|
.theme-default-dark .message-box--error,
|
|
75917
75880
|
.theme-default-dark .message-box.error {
|
|
75918
75881
|
background-color: rgba(242, 157, 157, 0.2);
|
|
@@ -75921,8 +75884,6 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
75921
75884
|
|
|
75922
75885
|
.theme-default-dark .matcha-message-box--warning,
|
|
75923
75886
|
.theme-default-dark .matcha-message-box.warning,
|
|
75924
|
-
.theme-default-dark .matcha-msg-box--warning,
|
|
75925
|
-
.theme-default-dark .matcha-msg-box.warning,
|
|
75926
75887
|
.theme-default-dark .message-box--warning,
|
|
75927
75888
|
.theme-default-dark .message-box.warning {
|
|
75928
75889
|
background-color: rgba(244, 225, 128, 0.2);
|
|
@@ -75931,8 +75892,6 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
75931
75892
|
|
|
75932
75893
|
.theme-default-dark .matcha-message-box--success,
|
|
75933
75894
|
.theme-default-dark .matcha-message-box.success,
|
|
75934
|
-
.theme-default-dark .matcha-msg-box--success,
|
|
75935
|
-
.theme-default-dark .matcha-msg-box.success,
|
|
75936
75895
|
.theme-default-dark .message-box--success,
|
|
75937
75896
|
.theme-default-dark .message-box.success {
|
|
75938
75897
|
background-color: rgba(136, 200, 163, 0.2);
|
|
@@ -75941,8 +75900,6 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
75941
75900
|
|
|
75942
75901
|
.theme-default-dark .matcha-message-box--info,
|
|
75943
75902
|
.theme-default-dark .matcha-message-box.info,
|
|
75944
|
-
.theme-default-dark .matcha-msg-box--info,
|
|
75945
|
-
.theme-default-dark .matcha-msg-box.info,
|
|
75946
75903
|
.theme-default-dark .message-box--info,
|
|
75947
75904
|
.theme-default-dark .message-box.info {
|
|
75948
75905
|
background-color: rgba(143, 173, 237, 0.2);
|
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);
|