matcha-theme 20.208.0 → 20.209.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/base/_reset.scss +5 -152
- package/package.json +1 -1
package/base/_reset.scss
CHANGED
|
@@ -28,7 +28,7 @@ How to use
|
|
|
28
28
|
$foreground: map-get($theme, foreground);
|
|
29
29
|
|
|
30
30
|
a {
|
|
31
|
-
color:
|
|
31
|
+
color: getBlue($theme);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
pre > code{
|
|
@@ -36,13 +36,13 @@ How to use
|
|
|
36
36
|
}
|
|
37
37
|
code {
|
|
38
38
|
&:not(.highlight) {
|
|
39
|
-
background-color:
|
|
39
|
+
background-color: getSurface($theme);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.changelog {
|
|
44
44
|
.entry {
|
|
45
|
-
background-color:
|
|
45
|
+
background-color: getSurface($theme);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -56,111 +56,16 @@ How to use
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
.text-primary {
|
|
60
|
-
color: map-get($primary, default) !important;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.text-warn {
|
|
64
|
-
color: map-get($warn, default) !important;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.text-label {
|
|
68
|
-
color: map-get($foreground, label) !important;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.text-placeholder {
|
|
72
|
-
color: map-get($foreground, placeholder) !important;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.text-basic {
|
|
76
|
-
color: map-get($foreground, foreground) !important;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
// Changelog
|
|
80
|
-
.changelog {
|
|
81
|
-
.entry {
|
|
82
|
-
.groups {
|
|
83
|
-
.breaking-changes {
|
|
84
|
-
.title {
|
|
85
|
-
background: map-get($background, red);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.new {
|
|
90
|
-
.title {
|
|
91
|
-
background: map-get($background, green);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.improved {
|
|
96
|
-
.title {
|
|
97
|
-
background: map-get($background, purple);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.fixed {
|
|
102
|
-
.title {
|
|
103
|
-
background: map-get($background, blue);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
59
|
// Code
|
|
111
60
|
code {
|
|
112
61
|
&:not(.highlight) {
|
|
113
|
-
color:
|
|
62
|
+
color: getBlue($theme);
|
|
114
63
|
}
|
|
115
64
|
}
|
|
116
65
|
|
|
117
66
|
// Mark
|
|
118
67
|
mark {
|
|
119
|
-
background:
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
// Message boxes
|
|
123
|
-
.matcha-message-box,
|
|
124
|
-
.matcha-msg-box,
|
|
125
|
-
.message-box {
|
|
126
|
-
background-color: getPrimaryAlpha($theme);
|
|
127
|
-
border-left-color: map-get($primary, default);
|
|
128
|
-
color: map-get($foreground, foreground);
|
|
129
|
-
|
|
130
|
-
&.error,
|
|
131
|
-
&.warning,
|
|
132
|
-
&.success,
|
|
133
|
-
&.info,
|
|
134
|
-
&--error,
|
|
135
|
-
&--warning,
|
|
136
|
-
&--success,
|
|
137
|
-
&--info {
|
|
138
|
-
color: map-get($foreground, foreground);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
&--error,
|
|
142
|
-
&.error {
|
|
143
|
-
background-color: map-get($background, red-alpha);
|
|
144
|
-
border-left-color: map-get($background, red);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
&--warning,
|
|
148
|
-
&.warning {
|
|
149
|
-
background-color: map-get($background, yellow-alpha);
|
|
150
|
-
border-left-color: map-get($background, yellow);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
&--success,
|
|
154
|
-
&.success {
|
|
155
|
-
background-color: map-get($background, green-alpha);
|
|
156
|
-
border-left-color: map-get($background, green);
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
&--info,
|
|
160
|
-
&.info {
|
|
161
|
-
background-color: map-get($background, blue-alpha);
|
|
162
|
-
border-left-color: map-get($background, blue);
|
|
163
|
-
}
|
|
68
|
+
background: getYellow($theme);
|
|
164
69
|
}
|
|
165
70
|
}
|
|
166
71
|
|
|
@@ -212,58 +117,6 @@ How to use
|
|
|
212
117
|
font-weight: 900;
|
|
213
118
|
}
|
|
214
119
|
|
|
215
|
-
.matcha-message-box,
|
|
216
|
-
.matcha-msg-box,
|
|
217
|
-
.message-box {
|
|
218
|
-
padding: 16px;
|
|
219
|
-
border-left: 6px solid;
|
|
220
|
-
|
|
221
|
-
&.error,
|
|
222
|
-
&.warning,
|
|
223
|
-
&.success,
|
|
224
|
-
&.info,
|
|
225
|
-
&--error,
|
|
226
|
-
&--warning,
|
|
227
|
-
&--success,
|
|
228
|
-
&--info {
|
|
229
|
-
padding: 16px;
|
|
230
|
-
border-left: 6px solid;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.title {
|
|
235
|
-
line-height: 24px;
|
|
236
|
-
margin: 0 0 16px 0;
|
|
237
|
-
display: flex;
|
|
238
|
-
align-items: center;
|
|
239
|
-
|
|
240
|
-
.title-bullet {
|
|
241
|
-
margin: 0px 8px 0 0;
|
|
242
|
-
display: inline-block;
|
|
243
|
-
position: relative;
|
|
244
|
-
border-radius: 10px;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
.title-content {
|
|
248
|
-
line-height: 20px;
|
|
249
|
-
display: -webkit-box;
|
|
250
|
-
-webkit-line-clamp: 2;
|
|
251
|
-
overflow: hidden;
|
|
252
|
-
text-overflow: ellipsis;
|
|
253
|
-
word-break: break-word;
|
|
254
|
-
white-space: initial;
|
|
255
|
-
-webkit-box-orient: vertical;
|
|
256
|
-
text-transform: capitalize;
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.title-sm {
|
|
261
|
-
display: block;
|
|
262
|
-
overflow: hidden;
|
|
263
|
-
text-overflow: ellipsis;
|
|
264
|
-
white-space: nowrap;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
120
|
|
|
268
121
|
// -----------------------------------------------------------------------------------------------------
|
|
269
122
|
// @ Container helpers
|