@schalkneethling/miyagi-core 4.4.2 → 4.4.4
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/README.md +7 -2
- package/api/app.js +16 -16
- package/api/index.js +263 -262
- package/bin/miyagi.js +1 -1
- package/dist/css/iframe.css +6 -30
- package/frontend/assets/css/iframe/accordion-tabs.css +39 -39
- package/frontend/assets/css/iframe/jsontree.js.css +149 -149
- package/frontend/assets/css/iframe/prism.css +45 -45
- package/frontend/assets/css/iframe/styleguide/colors.css +27 -27
- package/frontend/assets/css/iframe/styleguide/fonts.css +23 -23
- package/frontend/assets/css/iframe/styleguide/index.css +58 -58
- package/frontend/assets/css/iframe/styleguide/spacings.css +10 -10
- package/frontend/assets/css/iframe.css +191 -191
- package/frontend/assets/css/main/menu/config-switcher.css +21 -21
- package/frontend/assets/css/main/menu/config-switchers.css +34 -34
- package/frontend/assets/css/main/menu/goto.css +16 -16
- package/frontend/assets/css/main/menu/nav.css +49 -49
- package/frontend/assets/css/main/menu/search.css +34 -34
- package/frontend/assets/css/main/menu/title.css +18 -18
- package/frontend/assets/css/main/menu.css +89 -89
- package/frontend/assets/css/main/reset.css +47 -47
- package/frontend/assets/css/main.css +41 -41
- package/frontend/assets/css/shared.css +16 -16
- package/frontend/assets/css/tokens.css +108 -107
- package/frontend/assets/js/_accordion-tabs.js +392 -392
- package/frontend/assets/js/_goto.js +59 -59
- package/frontend/assets/js/_iframe-links.js +14 -14
- package/frontend/assets/js/_is-triggered.js +3 -3
- package/frontend/assets/js/_main.js +369 -369
- package/frontend/assets/js/_mock-data.js +8 -8
- package/frontend/assets/js/_prism.js +1082 -1081
- package/frontend/assets/js/_search.js +186 -186
- package/frontend/assets/js/_socket.js +44 -44
- package/frontend/assets/js/config-switcher/development-mode.js +38 -38
- package/frontend/assets/js/config-switcher/index.js +55 -55
- package/frontend/assets/js/config-switcher/text-direction.js +22 -22
- package/frontend/assets/js/config-switcher/theme.js +68 -68
- package/frontend/assets/js/iframe.build.js +25 -25
- package/frontend/assets/js/iframe.js +38 -38
- package/frontend/assets/js/jsontree.js +979 -976
- package/frontend/assets/js/main.build.js +29 -29
- package/frontend/assets/js/main.js +31 -31
- package/frontend/assets/js/styleguide/color-converter.js +652 -652
- package/frontend/assets/js/styleguide/index.js +100 -100
- package/lib/build/index.js +1014 -1020
- package/lib/cli/app.js +16 -16
- package/lib/cli/component.js +50 -50
- package/lib/cli/doctor.js +130 -121
- package/lib/cli/drupal-assets.js +163 -157
- package/lib/cli/lint.js +196 -196
- package/lib/cli/run.js +150 -146
- package/lib/config.js +86 -86
- package/lib/constants/lint-log-levels.js +6 -6
- package/lib/drupal/load-assets-config.js +59 -60
- package/lib/drupal/resolve-library-assets.js +132 -141
- package/lib/errors.js +20 -20
- package/lib/generator/component.js +124 -124
- package/lib/generator/mocks.js +156 -156
- package/lib/helpers.js +68 -68
- package/lib/i18n/en.js +93 -93
- package/lib/i18n/index.js +8 -8
- package/lib/index.js +13 -13
- package/lib/init/args.js +153 -153
- package/lib/init/config.js +452 -438
- package/lib/init/engines.js +41 -41
- package/lib/init/index.js +83 -83
- package/lib/init/rendering.js +3 -3
- package/lib/init/static.js +90 -90
- package/lib/init/twing/cache.js +27 -27
- package/lib/init/twing/functions.js +37 -37
- package/lib/init/views.js +5 -5
- package/lib/logger.js +72 -72
- package/lib/mocks/get.js +88 -88
- package/lib/mocks/index.js +2 -2
- package/lib/mocks/resolve/ref.js +447 -447
- package/lib/mocks/resolve/tpl.js +218 -218
- package/lib/mocks/resolve.js +154 -154
- package/lib/render/helpers/resolve-assets.js +29 -39
- package/lib/render/helpers.js +27 -27
- package/lib/render/index.js +18 -18
- package/lib/render/views/iframe/component.docs.js +50 -50
- package/lib/render/views/iframe/component.js +249 -248
- package/lib/render/views/iframe/design-tokens/colors.js +38 -38
- package/lib/render/views/iframe/design-tokens/index.js +3 -3
- package/lib/render/views/iframe/design-tokens/sizes.js +35 -35
- package/lib/render/views/iframe/design-tokens/typography.js +37 -37
- package/lib/render/views/iframe/docs.js +42 -42
- package/lib/render/views/iframe/index.js +28 -28
- package/lib/render/views/iframe/variation.js +89 -89
- package/lib/render/views/iframe/variation.standalone.js +69 -68
- package/lib/render/views/main/component.docs.js +38 -38
- package/lib/render/views/main/component.js +55 -55
- package/lib/render/views/main/design-tokens.js +38 -38
- package/lib/render/views/main/docs.js +33 -33
- package/lib/render/views/main/index.js +33 -33
- package/lib/state/components.js +99 -99
- package/lib/state/css.js +33 -33
- package/lib/state/docs.js +72 -72
- package/lib/state/file-contents.js +154 -154
- package/lib/state/helpers.js +53 -53
- package/lib/state/index.js +39 -39
- package/lib/state/menu/index.js +202 -202
- package/lib/state/menu/structure.js +84 -84
- package/lib/state/partials.js +12 -12
- package/lib/state/source-tree.js +51 -51
- package/lib/styleguide/color-names.js +148 -148
- package/lib/styleguide/colors.js +113 -113
- package/lib/styleguide/helpers.js +33 -33
- package/lib/styleguide/index.js +4 -4
- package/lib/styleguide/media-queries.js +18 -18
- package/lib/styleguide/spacings.js +22 -22
- package/lib/styleguide/typography.js +46 -46
- package/lib/validator/mocks.js +110 -83
- package/lib/validator/schemas.js +236 -227
- package/package.json +120 -117
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
*,
|
|
2
2
|
*::after,
|
|
3
3
|
*::before {
|
|
4
|
-
|
|
4
|
+
box-sizing: border-box;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
/* http://meyerweb.com/eric/tools/css/reset/
|
|
@@ -90,39 +90,39 @@ time,
|
|
|
90
90
|
mark,
|
|
91
91
|
audio,
|
|
92
92
|
video {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
93
|
+
border: 0;
|
|
94
|
+
font: inherit;
|
|
95
|
+
font-size: 100%;
|
|
96
|
+
margin: 0;
|
|
97
|
+
padding: 0;
|
|
98
|
+
vertical-align: baseline;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
body {
|
|
102
|
-
|
|
102
|
+
line-height: 1;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
ol,
|
|
106
106
|
ul {
|
|
107
|
-
|
|
107
|
+
list-style: none;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
blockquote,
|
|
111
111
|
q {
|
|
112
|
-
|
|
112
|
+
quotes: none;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
blockquote::before,
|
|
116
116
|
blockquote::after,
|
|
117
117
|
q::before,
|
|
118
118
|
q::after {
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
content: "";
|
|
120
|
+
content: none;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
table {
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
border-collapse: collapse;
|
|
125
|
+
border-spacing: 0;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
/* custom */
|
|
@@ -130,60 +130,60 @@ table {
|
|
|
130
130
|
input,
|
|
131
131
|
button,
|
|
132
132
|
textarea {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
133
|
+
background: none;
|
|
134
|
+
border: none;
|
|
135
|
+
color: inherit;
|
|
136
|
+
font: inherit;
|
|
137
|
+
margin: 0;
|
|
138
|
+
padding: 0;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
button,
|
|
142
142
|
[type="button"],
|
|
143
143
|
[type="submit"],
|
|
144
144
|
[type="reset"] {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
145
|
+
-webkit-appearance: none;
|
|
146
|
+
-moz-appearance: none;
|
|
147
|
+
appearance: none;
|
|
148
|
+
white-space: normal;
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
a {
|
|
152
|
-
|
|
152
|
+
color: inherit;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
::-webkit-input-placeholder {
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
color: inherit;
|
|
157
|
+
opacity: 0.618;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
::-moz-placeholder {
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
color: inherit;
|
|
162
|
+
opacity: 0.618;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
:-ms-input-placeholder {
|
|
166
|
-
|
|
167
|
-
|
|
166
|
+
color: inherit;
|
|
167
|
+
opacity: 0.618;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
::placeholder {
|
|
171
|
-
|
|
172
|
-
|
|
171
|
+
color: inherit;
|
|
172
|
+
opacity: 0.618;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
input[type="search"] {
|
|
176
|
-
|
|
176
|
+
-webkit-appearance: textfield;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
input[type="search"]::-webkit-search-cancel-button,
|
|
180
180
|
input[type="search"]::-webkit-search-decoration {
|
|
181
|
-
|
|
181
|
+
-webkit-appearance: none;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
textarea {
|
|
185
|
-
|
|
186
|
-
|
|
185
|
+
display: block;
|
|
186
|
+
resize: vertical;
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
/* Removes touch input lag from tappable things */
|
|
@@ -193,25 +193,25 @@ input,
|
|
|
193
193
|
textarea,
|
|
194
194
|
select,
|
|
195
195
|
label {
|
|
196
|
-
|
|
197
|
-
|
|
196
|
+
-ms-touch-action: manipulation;
|
|
197
|
+
touch-action: manipulation;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
button::-moz-focus-inner,
|
|
201
201
|
input::-moz-focus-inner {
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
border: 0;
|
|
203
|
+
padding: 0;
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
/* https://mobile.twitter.com/LeaVerou/status/1045768279753666562 */
|
|
207
207
|
:focus:not(:focus-visible) {
|
|
208
|
-
|
|
208
|
+
outline: none;
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
@media (prefers-reduced-motion: reduce) {
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
212
|
+
*,
|
|
213
|
+
*::after,
|
|
214
|
+
*::before {
|
|
215
|
+
scroll-behavior: auto !important;
|
|
216
|
+
}
|
|
217
217
|
}
|
|
@@ -4,68 +4,68 @@
|
|
|
4
4
|
@import url("./main/menu.css");
|
|
5
5
|
|
|
6
6
|
html {
|
|
7
|
-
|
|
7
|
+
height: 100%;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
body {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
background: var(--color-Menu-background);
|
|
12
|
+
color: var(--color-Text);
|
|
13
|
+
display: grid;
|
|
14
|
+
font-family: var(--font-family);
|
|
15
|
+
font-size: var(--font-size);
|
|
16
|
+
line-height: var(--line-height);
|
|
17
|
+
min-height: 100%;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.Content {
|
|
21
|
-
|
|
21
|
+
grid-area: iframe;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.FrameWrapper {
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
height: 100%;
|
|
26
|
+
width: 100%;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.Frame {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
display: block;
|
|
31
|
+
height: 100%;
|
|
32
|
+
width: 100%;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
@media (width <= 40rem) {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
html {
|
|
37
|
+
--spacing-x: 1rem;
|
|
38
|
+
--spacing-y: 1rem;
|
|
39
|
+
}
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
body {
|
|
42
|
+
grid-template:
|
|
43
|
+
"nav"
|
|
44
|
+
"iframe" 1fr;
|
|
45
|
+
}
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
@media (width > 40rem) {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
html {
|
|
50
|
+
--spacing-x: 2rem;
|
|
51
|
+
--spacing-y: 4rem;
|
|
52
|
+
}
|
|
53
53
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
body {
|
|
55
|
+
grid-template-areas: "nav iframe";
|
|
56
|
+
grid-template-columns: 16rem 1fr;
|
|
57
|
+
}
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.u-hiddenVisually {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
61
|
+
position: absolute;
|
|
62
|
+
width: 1px;
|
|
63
|
+
height: 1px;
|
|
64
|
+
margin: -1px;
|
|
65
|
+
border: 0;
|
|
66
|
+
padding: 0;
|
|
67
|
+
clip-path: inset(100%);
|
|
68
|
+
/* stylelint-disable-next-line */
|
|
69
|
+
clip: rect(0 0 0 0);
|
|
70
|
+
overflow: hidden;
|
|
71
71
|
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
html {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
--toggle-border: 0 solid var(--color-Icon);
|
|
3
|
+
--toggle-borderWidth: 0.25em;
|
|
4
|
+
--toggle-fontSize: 0.5em;
|
|
5
|
+
--toggle-height: 1em;
|
|
6
|
+
--toggle-transition: transform 0.15s ease;
|
|
7
|
+
--toggle-width: 1em;
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
color-scheme: light;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
@media (prefers-color-scheme: dark) {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
html {
|
|
14
|
+
color-scheme: dark;
|
|
15
|
+
}
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.theme-light {
|
|
19
|
-
|
|
19
|
+
color-scheme: light;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.theme-dark {
|
|
23
|
-
|
|
23
|
+
color-scheme: dark;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
html[dir="ltr"] {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
--toggle-transition-closed: translate(-75%, -50%) rotate(45deg);
|
|
28
|
+
--toggle-transition-opened: translate(-50%, -75%) rotate(135deg);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
html[dir="rtl"] {
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
--toggle-transition-closed: translate(75%, -50%) rotate(-45deg);
|
|
33
|
+
--toggle-transition-opened: translate(50%, -75%) rotate(-135deg);
|
|
34
34
|
}
|
|
@@ -1,112 +1,113 @@
|
|
|
1
1
|
html {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
--font-family:
|
|
3
|
+
-apple-system, "BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica",
|
|
4
|
+
"Arial", sans-serif;
|
|
5
|
+
--font-size: 1rem;
|
|
6
|
+
--line-height: 1.5;
|
|
7
|
+
--divider: 0.0625rem solid var(--color-Divider);
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
9
|
+
/* colors */
|
|
10
|
+
--color-Code-background: light-dark(
|
|
11
|
+
var(--color-Code-background--light),
|
|
12
|
+
var(--color-Code-background--dark)
|
|
13
|
+
);
|
|
14
|
+
--color-Divider: light-dark(
|
|
15
|
+
var(--color-Divider--light),
|
|
16
|
+
var(--color-Divider--dark)
|
|
17
|
+
);
|
|
18
|
+
--color-Icon: light-dark(var(--color-Icon--light), var(--color-Icon--dark));
|
|
19
|
+
--color-Iframe-background: light-dark(
|
|
20
|
+
var(--color-Iframe-background--light),
|
|
21
|
+
var(--color-Iframe-background--dark)
|
|
22
|
+
);
|
|
23
|
+
--color-Iframe-link: light-dark(
|
|
24
|
+
var(--color-Iframe-link--light),
|
|
25
|
+
var(--color-Iframe-link--dark)
|
|
26
|
+
);
|
|
27
|
+
--color-Iframe-text-secondary: light-dark(
|
|
28
|
+
var(--color-Iframe-text-secondary--light),
|
|
29
|
+
var(--color-Iframe-text-secondary--dark)
|
|
30
|
+
);
|
|
31
|
+
--color-Iframe-text-tertiary: light-dark(
|
|
32
|
+
var(--color-Iframe-text-tertiary--light),
|
|
33
|
+
var(--color-Iframe-text-tertiary--dark)
|
|
34
|
+
);
|
|
35
|
+
--color-Iframe-text: light-dark(
|
|
36
|
+
var(--color-Iframe-text--light),
|
|
37
|
+
var(--color-Iframe-text--dark)
|
|
38
|
+
);
|
|
39
|
+
--color-Link-active-background: light-dark(
|
|
40
|
+
var(--color-Link-active-background--light),
|
|
41
|
+
var(--color-Link-active-background--dark)
|
|
42
|
+
);
|
|
43
|
+
--color-Link: light-dark(var(--color-Link--light), var(--color-Link--dark));
|
|
44
|
+
--color-Menu-background: light-dark(
|
|
45
|
+
var(--color-Menu-background--light),
|
|
46
|
+
var(--color-Menu-background--dark)
|
|
47
|
+
);
|
|
48
|
+
--color-MenuBar-background: light-dark(
|
|
49
|
+
var(--color-MenuBar-background--light),
|
|
50
|
+
var(--color-MenuBar-background--dark)
|
|
51
|
+
);
|
|
52
|
+
--color-Negative: light-dark(
|
|
53
|
+
var(--color-Negative--light),
|
|
54
|
+
var(--color-Negative--dark)
|
|
55
|
+
);
|
|
56
|
+
--color-Outline: light-dark(
|
|
57
|
+
var(--color-Outline--light),
|
|
58
|
+
var(--color-Outline--dark)
|
|
59
|
+
);
|
|
60
|
+
--color-Positive: light-dark(
|
|
61
|
+
var(--color-Positive--light),
|
|
62
|
+
var(--color-Positive--dark)
|
|
63
|
+
);
|
|
64
|
+
--color-Text: light-dark(var(--color-Text--light), var(--color-Text--dark));
|
|
65
|
+
--color-Tooltip-background: light-dark(
|
|
66
|
+
var(--color-Tooltip-background--light),
|
|
67
|
+
var(--color-Tooltip-background--dark)
|
|
68
|
+
);
|
|
69
|
+
--color-Tooltip-outline: light-dark(
|
|
70
|
+
var(--color-Tooltip-outline--light),
|
|
71
|
+
var(--color-Tooltip-outline--dark)
|
|
72
|
+
);
|
|
72
73
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
74
|
+
/* light */
|
|
75
|
+
--color-Code-background--light: hsl(0deg 0% 96%);
|
|
76
|
+
--color-Divider--light: rgb(0 0 0 / 10%);
|
|
77
|
+
--color-Icon--light: hsl(0deg 0% 56%);
|
|
78
|
+
--color-Iframe-background--light: #fff;
|
|
79
|
+
--color-Iframe-link--light: hsl(0deg 0% 12%);
|
|
80
|
+
--color-Iframe-text--light: hsl(0deg 0% 12%);
|
|
81
|
+
--color-Iframe-text-secondary--light: hsl(0deg 0% 36%);
|
|
82
|
+
--color-Iframe-text-tertiary--light: hsl(0deg 0% 56%);
|
|
83
|
+
--color-Link--light: hsl(0deg 0% 12%);
|
|
84
|
+
--color-Link-active-background--light: #fff;
|
|
85
|
+
--color-Menu-background--light: hsl(0deg 0% 96%);
|
|
86
|
+
--color-MenuBar-background--light: rgb(0 0 0 / 5%);
|
|
87
|
+
--color-Negative--light: #d9173e;
|
|
88
|
+
--color-Outline--light: hsl(0deg 0% 86%);
|
|
89
|
+
--color-Positive--light: hsl(80deg 100% 25%);
|
|
90
|
+
--color-Text--light: hsl(0deg 0% 36%);
|
|
91
|
+
--color-Tooltip-background--light: #f5f5f5;
|
|
92
|
+
--color-Tooltip-outline--light: #ddd;
|
|
92
93
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
94
|
+
/* dark */
|
|
95
|
+
--color-Code-background--dark: hsl(0deg 0% 16%);
|
|
96
|
+
--color-Divider--dark: rgb(255 255 255 / 5%);
|
|
97
|
+
--color-Icon--dark: hsl(0deg 0% 60%);
|
|
98
|
+
--color-Iframe-background--dark: hsl(0deg 0% 12%);
|
|
99
|
+
--color-Iframe-link--dark: hsl(0deg 0% 100%);
|
|
100
|
+
--color-Iframe-text--dark: hsl(0deg 0% 100%);
|
|
101
|
+
--color-Iframe-text-secondary--dark: hsl(0deg 0% 80%);
|
|
102
|
+
--color-Iframe-text-tertiary--dark: hsl(0deg 0% 60%);
|
|
103
|
+
--color-Link--dark: hsl(0deg 0% 100%);
|
|
104
|
+
--color-Link-active-background--dark: hsl(0deg 0% 12%);
|
|
105
|
+
--color-Menu-background--dark: hsl(0deg 0% 16%);
|
|
106
|
+
--color-MenuBar-background--dark: rgb(255 255 255 / 2.5%);
|
|
107
|
+
--color-Negative--dark: #ff305a;
|
|
108
|
+
--color-Outline--dark: hsl(0deg 0% 26%);
|
|
109
|
+
--color-Positive--dark: #8dd203;
|
|
110
|
+
--color-Text--dark: hsl(0deg 0% 80%);
|
|
111
|
+
--color-Tooltip-background--dark: #333;
|
|
112
|
+
--color-Tooltip-outline--dark: #444;
|
|
112
113
|
}
|