@createiq/swagger-ui-scss 5.31.2 → 5.32.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/package.json +1 -1
- package/style/_dark-mode.scss +135 -57
- package/style/_layout.scss +4 -0
- package/style/_topbar.scss +2 -2
- package/style/_variables.scss +1 -0
package/package.json
CHANGED
package/style/_dark-mode.scss
CHANGED
|
@@ -1,41 +1,87 @@
|
|
|
1
1
|
@use "sass:list";
|
|
2
2
|
|
|
3
3
|
// Variables for consistent theme
|
|
4
|
-
$neutral-10: #
|
|
5
|
-
$neutral-20: #
|
|
6
|
-
$neutral-30: #
|
|
7
|
-
$neutral-40: #
|
|
8
|
-
$neutral-50: #
|
|
9
|
-
$neutral-60: #
|
|
10
|
-
$neutral-80: #
|
|
11
|
-
$neutral-85: #
|
|
12
|
-
$neutral-95: #
|
|
13
|
-
$neutral-98: #
|
|
14
|
-
$neutral-100: #
|
|
15
|
-
|
|
16
|
-
$success-30: #
|
|
17
|
-
$error-30: #
|
|
18
|
-
|
|
19
|
-
$authorize-button: #
|
|
20
|
-
$link: #
|
|
21
|
-
$markdown-code: #
|
|
22
|
-
$textarea: #
|
|
4
|
+
$neutral-10: #f0f1f1;
|
|
5
|
+
$neutral-20: #e4e6e6;
|
|
6
|
+
$neutral-30: #d2d6d7;
|
|
7
|
+
$neutral-40: #b7bcbf;
|
|
8
|
+
$neutral-50: #8c969a;
|
|
9
|
+
$neutral-60: #6b757a;
|
|
10
|
+
$neutral-80: #545d61;
|
|
11
|
+
$neutral-85: #434b4f;
|
|
12
|
+
$neutral-95: #2a2e30;
|
|
13
|
+
$neutral-98: #1c2022;
|
|
14
|
+
$neutral-100: #080a0b;
|
|
15
|
+
|
|
16
|
+
$success-30: #4ac966;
|
|
17
|
+
$error-30: #ff5f5f;
|
|
18
|
+
|
|
19
|
+
$authorize-button: #3ece90;
|
|
20
|
+
$link: #51a8ff;
|
|
21
|
+
$markdown-code: #b68ae1;
|
|
22
|
+
$textarea: #0d1014;
|
|
23
23
|
$textarea-disabled: #202225;
|
|
24
|
-
$info-version-stamp: #
|
|
25
|
-
$curl-command-button: #
|
|
26
|
-
$curl-command-button-text: #
|
|
27
|
-
$json-schema-2020-12__attribute--primary: #
|
|
28
|
-
$json-schema-2020-12__constraint--string: #
|
|
24
|
+
$info-version-stamp: #1d632e;
|
|
25
|
+
$curl-command-button: #3b424d;
|
|
26
|
+
$curl-command-button-text: #ebebeb;
|
|
27
|
+
$json-schema-2020-12__attribute--primary: #9898ff;
|
|
28
|
+
$json-schema-2020-12__constraint--string: #d4aa53;
|
|
29
29
|
|
|
30
30
|
$opblock_colors: (
|
|
31
|
-
post: (
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
31
|
+
post: (
|
|
32
|
+
#112929,
|
|
33
|
+
#104834,
|
|
34
|
+
#14392c,
|
|
35
|
+
#00b572,
|
|
36
|
+
),
|
|
37
|
+
deprecated: (
|
|
38
|
+
#272c34,
|
|
39
|
+
#495361,
|
|
40
|
+
#262e36,
|
|
41
|
+
#6a6a6a,
|
|
42
|
+
),
|
|
43
|
+
put: (
|
|
44
|
+
#27201e,
|
|
45
|
+
#523524,
|
|
46
|
+
#9a5b3e,
|
|
47
|
+
#ff7d35,
|
|
48
|
+
),
|
|
49
|
+
get: (
|
|
50
|
+
#182536,
|
|
51
|
+
#294262,
|
|
52
|
+
#1c3043,
|
|
53
|
+
#55a1ff,
|
|
54
|
+
),
|
|
55
|
+
delete: (
|
|
56
|
+
#241a20,
|
|
57
|
+
#4b2420,
|
|
58
|
+
#2f2020,
|
|
59
|
+
#eb6156,
|
|
60
|
+
),
|
|
61
|
+
patch: (
|
|
62
|
+
#11282f,
|
|
63
|
+
#16494b,
|
|
64
|
+
#113239,
|
|
65
|
+
#03b7bf,
|
|
66
|
+
),
|
|
67
|
+
head: (
|
|
68
|
+
#282231,
|
|
69
|
+
#44336a,
|
|
70
|
+
#352c45,
|
|
71
|
+
#b889ff,
|
|
72
|
+
),
|
|
73
|
+
options: (
|
|
74
|
+
#202c3c,
|
|
75
|
+
#33465e,
|
|
76
|
+
#314558,
|
|
77
|
+
#6895c8,
|
|
78
|
+
),
|
|
79
|
+
query: (
|
|
80
|
+
#2a1a28,
|
|
81
|
+
#4a2848,
|
|
82
|
+
#3a2238,
|
|
83
|
+
#d977c6,
|
|
84
|
+
),
|
|
39
85
|
);
|
|
40
86
|
|
|
41
87
|
html.dark-mode {
|
|
@@ -57,13 +103,16 @@ html.dark-mode {
|
|
|
57
103
|
}
|
|
58
104
|
|
|
59
105
|
table thead tr {
|
|
60
|
-
td,
|
|
106
|
+
td,
|
|
107
|
+
th {
|
|
61
108
|
color: $neutral-20;
|
|
62
109
|
}
|
|
63
110
|
}
|
|
64
111
|
|
|
65
|
-
.markdown,
|
|
66
|
-
|
|
112
|
+
.markdown,
|
|
113
|
+
.renderedMarkdown {
|
|
114
|
+
p,
|
|
115
|
+
pre {
|
|
67
116
|
color: $neutral-20;
|
|
68
117
|
}
|
|
69
118
|
|
|
@@ -109,7 +158,7 @@ html.dark-mode {
|
|
|
109
158
|
right 10px center no-repeat;
|
|
110
159
|
color: $neutral-10;
|
|
111
160
|
border-color: $neutral-40;
|
|
112
|
-
box-shadow: none;
|
|
161
|
+
box-shadow: none;
|
|
113
162
|
outline: none;
|
|
114
163
|
|
|
115
164
|
&[multiple] {
|
|
@@ -121,12 +170,15 @@ html.dark-mode {
|
|
|
121
170
|
}
|
|
122
171
|
}
|
|
123
172
|
|
|
124
|
-
input::placeholder,
|
|
173
|
+
input::placeholder,
|
|
174
|
+
textarea::placeholder {
|
|
125
175
|
color: $neutral-10;
|
|
126
176
|
opacity: 0.5;
|
|
127
177
|
}
|
|
128
178
|
|
|
129
|
-
input.invalid,
|
|
179
|
+
input.invalid,
|
|
180
|
+
select.invalid,
|
|
181
|
+
textarea.invalid {
|
|
130
182
|
background: $neutral-98;
|
|
131
183
|
border-color: $error-30;
|
|
132
184
|
}
|
|
@@ -158,17 +210,22 @@ html.dark-mode {
|
|
|
158
210
|
.modal-ux {
|
|
159
211
|
background-color: $neutral-95;
|
|
160
212
|
color: $neutral-20;
|
|
161
|
-
border: none;
|
|
213
|
+
border: none;
|
|
162
214
|
|
|
163
215
|
&-header {
|
|
164
216
|
border-color: $neutral-80;
|
|
165
217
|
|
|
166
|
-
.close-modal svg {
|
|
218
|
+
.close-modal svg {
|
|
167
219
|
fill: $neutral-20;
|
|
168
220
|
}
|
|
169
221
|
}
|
|
170
222
|
|
|
171
|
-
h2,
|
|
223
|
+
h2,
|
|
224
|
+
h3,
|
|
225
|
+
h4,
|
|
226
|
+
h5,
|
|
227
|
+
p,
|
|
228
|
+
label {
|
|
172
229
|
color: $neutral-20;
|
|
173
230
|
}
|
|
174
231
|
|
|
@@ -207,8 +264,8 @@ html.dark-mode {
|
|
|
207
264
|
}
|
|
208
265
|
}
|
|
209
266
|
}
|
|
210
|
-
|
|
211
|
-
// ------ LOADING SPINNER ------
|
|
267
|
+
|
|
268
|
+
// ------ LOADING SPINNER ------
|
|
212
269
|
|
|
213
270
|
.loading-container .loading {
|
|
214
271
|
&::before {
|
|
@@ -221,7 +278,7 @@ html.dark-mode {
|
|
|
221
278
|
}
|
|
222
279
|
}
|
|
223
280
|
|
|
224
|
-
// ------ SCHEMES / SERVERS ------
|
|
281
|
+
// ------ SCHEMES / SERVERS ------
|
|
225
282
|
|
|
226
283
|
.scheme-container {
|
|
227
284
|
background: $neutral-98;
|
|
@@ -241,14 +298,22 @@ html.dark-mode {
|
|
|
241
298
|
}
|
|
242
299
|
}
|
|
243
300
|
|
|
244
|
-
// ------ INFO ------
|
|
301
|
+
// ------ INFO ------
|
|
245
302
|
|
|
246
303
|
.info {
|
|
247
|
-
h1,
|
|
304
|
+
h1,
|
|
305
|
+
h2,
|
|
306
|
+
h3,
|
|
307
|
+
h4,
|
|
308
|
+
h5,
|
|
309
|
+
.title {
|
|
248
310
|
color: $neutral-30;
|
|
249
311
|
}
|
|
250
312
|
|
|
251
|
-
li,
|
|
313
|
+
li,
|
|
314
|
+
p,
|
|
315
|
+
table,
|
|
316
|
+
.base-url {
|
|
252
317
|
color: $neutral-20;
|
|
253
318
|
}
|
|
254
319
|
|
|
@@ -268,7 +333,8 @@ html.dark-mode {
|
|
|
268
333
|
background: $neutral-85;
|
|
269
334
|
border-color: $error-30;
|
|
270
335
|
|
|
271
|
-
h4,
|
|
336
|
+
h4,
|
|
337
|
+
span {
|
|
272
338
|
color: $neutral-20;
|
|
273
339
|
}
|
|
274
340
|
|
|
@@ -281,7 +347,8 @@ html.dark-mode {
|
|
|
281
347
|
|
|
282
348
|
// ------ COPY / DOWNLOAD BUTTONS ------
|
|
283
349
|
|
|
284
|
-
.copy-to-clipboard,
|
|
350
|
+
.copy-to-clipboard,
|
|
351
|
+
.download-contents {
|
|
285
352
|
background: $neutral-80;
|
|
286
353
|
color: $neutral-20;
|
|
287
354
|
|
|
@@ -476,7 +543,8 @@ html.dark-mode {
|
|
|
476
543
|
}
|
|
477
544
|
|
|
478
545
|
.responses-inner {
|
|
479
|
-
h4,
|
|
546
|
+
h4,
|
|
547
|
+
h5 {
|
|
480
548
|
color: $neutral-20;
|
|
481
549
|
}
|
|
482
550
|
}
|
|
@@ -507,7 +575,12 @@ html.dark-mode {
|
|
|
507
575
|
color: $markdown-code;
|
|
508
576
|
}
|
|
509
577
|
|
|
510
|
-
.property-row,
|
|
578
|
+
.property-row,
|
|
579
|
+
.brace-open,
|
|
580
|
+
.brace-close,
|
|
581
|
+
.prop-format,
|
|
582
|
+
.property,
|
|
583
|
+
.description {
|
|
511
584
|
color: $neutral-20;
|
|
512
585
|
}
|
|
513
586
|
|
|
@@ -519,7 +592,8 @@ html.dark-mode {
|
|
|
519
592
|
.model-box {
|
|
520
593
|
background: $neutral-95;
|
|
521
594
|
|
|
522
|
-
.model-title,
|
|
595
|
+
.model-title,
|
|
596
|
+
.model {
|
|
523
597
|
color: $neutral-20;
|
|
524
598
|
}
|
|
525
599
|
|
|
@@ -527,7 +601,7 @@ html.dark-mode {
|
|
|
527
601
|
&:focus {
|
|
528
602
|
outline: none;
|
|
529
603
|
}
|
|
530
|
-
|
|
604
|
+
|
|
531
605
|
&:not(.prop) {
|
|
532
606
|
color: $neutral-20;
|
|
533
607
|
}
|
|
@@ -555,7 +629,10 @@ html.dark-mode {
|
|
|
555
629
|
color: $neutral-20;
|
|
556
630
|
}
|
|
557
631
|
|
|
558
|
-
&-property--required
|
|
632
|
+
&-property--required
|
|
633
|
+
> .json-schema-2020-12:first-of-type
|
|
634
|
+
> .json-schema-2020-12-head
|
|
635
|
+
.json-schema-2020-12__title::after {
|
|
559
636
|
color: $error-30;
|
|
560
637
|
}
|
|
561
638
|
|
|
@@ -596,10 +673,10 @@ html.dark-mode {
|
|
|
596
673
|
}
|
|
597
674
|
|
|
598
675
|
&--patternProperties {
|
|
599
|
-
.json-schema-2020-12__title::before,
|
|
676
|
+
.json-schema-2020-12__title::before,
|
|
600
677
|
.json-schema-2020-12__title::after {
|
|
601
678
|
color: $json-schema-2020-12__attribute--primary;
|
|
602
|
-
}
|
|
679
|
+
}
|
|
603
680
|
}
|
|
604
681
|
}
|
|
605
682
|
|
|
@@ -618,7 +695,8 @@ html.dark-mode {
|
|
|
618
695
|
}
|
|
619
696
|
|
|
620
697
|
&-json-viewer {
|
|
621
|
-
&__name--secondary,
|
|
698
|
+
&__name--secondary,
|
|
699
|
+
&__value--secondary {
|
|
622
700
|
color: $neutral-40;
|
|
623
701
|
}
|
|
624
702
|
}
|
package/style/_layout.scss
CHANGED
package/style/_topbar.scss
CHANGED
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
.dark-mode-toggle {
|
|
107
107
|
margin-left: 10px;
|
|
108
108
|
opacity: 0.8;
|
|
109
|
-
transition: all .2s;
|
|
109
|
+
transition: all 0.2s;
|
|
110
110
|
cursor: pointer;
|
|
111
111
|
|
|
112
112
|
button {
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
padding: 0;
|
|
116
116
|
|
|
117
117
|
svg {
|
|
118
|
-
fill: #
|
|
118
|
+
fill: #e4e6e6;
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
|