noctemyth 0.0.36
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/LICENSE +21 -0
- package/README.md +60 -0
- package/dist/css/noctemyth-skelton.css +11880 -0
- package/dist/css/noctemyth-skelton.css.map +1 -0
- package/dist/css/noctemyth-skelton.min.css +11880 -0
- package/dist/css/noctemyth-skelton.min.css.map +1 -0
- package/dist/css/noctemyth-utilities.css +142390 -0
- package/dist/css/noctemyth-utilities.css.map +1 -0
- package/dist/css/noctemyth-utilities.min.css +142390 -0
- package/dist/css/noctemyth-utilities.min.css.map +1 -0
- package/dist/css/noctemyth.css +51864 -0
- package/dist/css/noctemyth.css.map +1 -0
- package/dist/css/noctemyth.min.css +26439 -0
- package/dist/css/noctemyth.min.css.map +1 -0
- package/package.json +61 -0
- package/src/animations/fade.scss +41 -0
- package/src/animations/index.scss +1 -0
- package/src/backgrounds/dot.scss +55 -0
- package/src/backgrounds/gingham.scss +56 -0
- package/src/backgrounds/index.scss +5 -0
- package/src/backgrounds/rhombus.scss +49 -0
- package/src/backgrounds/stripe.scss +45 -0
- package/src/backgrounds/zigzag.scss +71 -0
- package/src/base/dub.scss +9 -0
- package/src/base/element.scss +5 -0
- package/src/base/index.scss +3 -0
- package/src/base/normalize.scss +394 -0
- package/src/components/accordion.scss +179 -0
- package/src/components/badge.scss +109 -0
- package/src/components/blockquote.scss +92 -0
- package/src/components/breadcrumbs.scss +47 -0
- package/src/components/button.scss +157 -0
- package/src/components/card.scss +89 -0
- package/src/components/dialogue.scss +452 -0
- package/src/components/div.scss +7 -0
- package/src/components/footer.scss +21 -0
- package/src/components/hamburger.scss +157 -0
- package/src/components/header.scss +36 -0
- package/src/components/heading.scss +40 -0
- package/src/components/image.scss +10 -0
- package/src/components/index.scss +26 -0
- package/src/components/input.scss +338 -0
- package/src/components/label.scss +17 -0
- package/src/components/link.scss +29 -0
- package/src/components/list.scss +16 -0
- package/src/components/loader.scss +72 -0
- package/src/components/main.scss +8 -0
- package/src/components/message.scss +53 -0
- package/src/components/modal.scss +41 -0
- package/src/components/nav.scss +387 -0
- package/src/components/paragraph.scss +12 -0
- package/src/components/progress.scss +43 -0
- package/src/components/section.scss +7 -0
- package/src/components/span.scss +7 -0
- package/src/css-variables/animation.scss +11 -0
- package/src/css-variables/border.scss +16 -0
- package/src/css-variables/color.scss +604 -0
- package/src/css-variables/components/breadcrumbs.scss +5 -0
- package/src/css-variables/components/button.scss +6 -0
- package/src/css-variables/components/dialogue.scss +15 -0
- package/src/css-variables/components/header.scss +7 -0
- package/src/css-variables/components/heading.scss +5 -0
- package/src/css-variables/components/index.scss +5 -0
- package/src/css-variables/index.scss +7 -0
- package/src/css-variables/miscellaneous.scss +8 -0
- package/src/css-variables/typography.scss +24 -0
- package/src/functions/index.scss +1 -0
- package/src/functions/string.scss +31 -0
- package/src/icons/check.scss +21 -0
- package/src/icons/chevron.scss +30 -0
- package/src/icons/index.scss +2 -0
- package/src/layouts/centering.scss +13 -0
- package/src/layouts/columns.scss +97 -0
- package/src/layouts/container.scss +59 -0
- package/src/layouts/index.scss +3 -0
- package/src/mixins/animation.scss +80 -0
- package/src/mixins/color.scss +33 -0
- package/src/mixins/element.scss +5 -0
- package/src/mixins/index.scss +5 -0
- package/src/mixins/responsive.scss +222 -0
- package/src/noctemyth-skelton.scss +12 -0
- package/src/noctemyth-utilities.scss +3 -0
- package/src/noctemyth.scss +9 -0
- package/src/utilities/border.scss +46 -0
- package/src/utilities/color.scss +327 -0
- package/src/utilities/decoration.scss +16 -0
- package/src/utilities/index.scss +7 -0
- package/src/utilities/positioning.scss +90 -0
- package/src/utilities/sizing.scss +142 -0
- package/src/utilities/spacing.scss +154 -0
- package/src/utilities/typography.scss +109 -0
- package/src/variables/animation.scss +8 -0
- package/src/variables/border.scss +81 -0
- package/src/variables/color.scss +1371 -0
- package/src/variables/components/breadcrumbs.scss +3 -0
- package/src/variables/components/button.scss +3 -0
- package/src/variables/components/dialogue.scss +12 -0
- package/src/variables/components/header.scss +3 -0
- package/src/variables/components/heading.scss +3 -0
- package/src/variables/components/index.scss +5 -0
- package/src/variables/index.scss +8 -0
- package/src/variables/layout.scss +28 -0
- package/src/variables/miscellaneous.scss +14 -0
- package/src/variables/typography.scss +26 -0
|
@@ -0,0 +1,604 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:string";
|
|
3
|
+
@use "../variables/index.scss" as variables;
|
|
4
|
+
@use "../mixins/index.scss" as mixins;
|
|
5
|
+
|
|
6
|
+
@mixin setColorVariables($color) {
|
|
7
|
+
$name: map.get($color, "name");
|
|
8
|
+
$hue: map.get($color, "hue");
|
|
9
|
+
|
|
10
|
+
$p: "0";
|
|
11
|
+
@for $i from 1 through 19 {
|
|
12
|
+
$p: "" + ($i * 5);
|
|
13
|
+
@if (string.length($p) == 1) {
|
|
14
|
+
$p: "0" + $p;
|
|
15
|
+
}
|
|
16
|
+
$lightness: variables.$color-lightness-50;
|
|
17
|
+
$chroma: variables.$color-chroma-colorful;
|
|
18
|
+
|
|
19
|
+
@if ($i < 10) {
|
|
20
|
+
$lightness-offset: (10 - $i) * variables.$color-lightness-offset-darker;
|
|
21
|
+
$lightness: variables.$color-lightness-50 + $lightness-offset;
|
|
22
|
+
@if ($lightness > 100) {
|
|
23
|
+
$lightness: 100;
|
|
24
|
+
} @else if ($i < 0) {
|
|
25
|
+
$lightness: 0;
|
|
26
|
+
}
|
|
27
|
+
$chroma-offset: (10 - $i) *
|
|
28
|
+
variables.$color-chroma-colorful-offset-darker;
|
|
29
|
+
$chroma: $chroma + $chroma-offset;
|
|
30
|
+
} @else if ($i > 10) {
|
|
31
|
+
$lightness-offset: ($i - 10) * variables.$color-lightness-offset-lighter;
|
|
32
|
+
$lightness: variables.$color-lightness-50 + $lightness-offset;
|
|
33
|
+
@if ($lightness > 100) {
|
|
34
|
+
$lightness: 100;
|
|
35
|
+
} @else if ($i < 0) {
|
|
36
|
+
$lightness: 0;
|
|
37
|
+
}
|
|
38
|
+
$chroma-offset: ($i - 10) *
|
|
39
|
+
variables.$color-chroma-colorful-offset-lighter;
|
|
40
|
+
$chroma: $chroma + $chroma-offset;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@if ($name == "default" or $name == "gray") {
|
|
44
|
+
$chroma: variables.$color-chroma-gray;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
$oklch: #{$lightness} #{$chroma} #{$hue};
|
|
48
|
+
|
|
49
|
+
--#{variables.$prefix}color-#{$name}-#{$p}-oklch: #{$oklch};
|
|
50
|
+
--#{variables.$prefix}color-#{$name}-#{$p}: oklch(#{$oklch});
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@mixin setColor($colorShade, $colorName, $pseudoName, $componentName: "") {
|
|
55
|
+
$srcColorName: $colorName;
|
|
56
|
+
$destColorName: $colorName;
|
|
57
|
+
@if ($colorName == "default") {
|
|
58
|
+
$srcColorName: "gray";
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
$pseudo: "";
|
|
62
|
+
@if ($pseudoName != "plain") {
|
|
63
|
+
$pseudo: "-#{$pseudoName}";
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
$component: "";
|
|
67
|
+
@if ($componentName != "") {
|
|
68
|
+
$component: "-#{$componentName}";
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
$fore: map.get($colorShade, "fore");
|
|
72
|
+
@if ($fore != null) {
|
|
73
|
+
--#{variables.$prefix}color-#{$destColorName}#{$component}#{$pseudo}-fore: var(
|
|
74
|
+
--#{variables.$prefix}color-#{$srcColorName}-#{$fore}
|
|
75
|
+
);
|
|
76
|
+
--#{variables.$prefix}color-#{$destColorName}#{$component}#{$pseudo}-fore-oklch: var(
|
|
77
|
+
--#{variables.$prefix}color-#{$srcColorName}-#{$fore}-oklch
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
$back: map.get($colorShade, "back");
|
|
82
|
+
@if ($back != null) {
|
|
83
|
+
--#{variables.$prefix}color-#{$destColorName}#{$component}#{$pseudo}-back: var(
|
|
84
|
+
--#{variables.$prefix}color-#{$srcColorName}-#{$back}
|
|
85
|
+
);
|
|
86
|
+
--#{variables.$prefix}color-#{$destColorName}#{$component}#{$pseudo}-back-oklch: var(
|
|
87
|
+
--#{variables.$prefix}color-#{$srcColorName}-#{$back}-oklch
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
$border: map.get($colorShade, "border");
|
|
92
|
+
@if ($border != null) {
|
|
93
|
+
--#{variables.$prefix}color-#{$destColorName}#{$component}#{$pseudo}-border: var(
|
|
94
|
+
--#{variables.$prefix}color-#{$srcColorName}-#{$border}
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
$placeholder: map.get($colorShade, "placeholder");
|
|
99
|
+
@if ($placeholder != null) {
|
|
100
|
+
--#{variables.$prefix}color-#{$destColorName}#{$component}#{$pseudo}-placeholder: var(
|
|
101
|
+
--#{variables.$prefix}color-#{$srcColorName}-#{$placeholder}
|
|
102
|
+
);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
$shadow: map.get($colorShade, "shadow");
|
|
106
|
+
@if ($shadow != null) {
|
|
107
|
+
--#{variables.$prefix}color-#{$destColorName}#{$component}#{$pseudo}-shadow: var(
|
|
108
|
+
--#{variables.$prefix}color-#{$srcColorName}-#{$shadow}
|
|
109
|
+
);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@mixin setColorShades($colorShades) {
|
|
114
|
+
@each $colorShade in $colorShades {
|
|
115
|
+
$name: map.get($colorShade, "name");
|
|
116
|
+
|
|
117
|
+
@include setColor($colorShade, "default", $name);
|
|
118
|
+
|
|
119
|
+
--#{variables.$prefix}color-default-code-back: var(
|
|
120
|
+
--#{variables.$prefix}color-gray-10
|
|
121
|
+
);
|
|
122
|
+
|
|
123
|
+
//#region components
|
|
124
|
+
|
|
125
|
+
//#region accordion
|
|
126
|
+
$accordion: map.get($colorShade, "accordion");
|
|
127
|
+
@if ($accordion != null) {
|
|
128
|
+
@include setColor($accordion, "default", $name, "accordion");
|
|
129
|
+
|
|
130
|
+
$accordionSummary: map.get($accordion, "accordionSummary");
|
|
131
|
+
@if ($accordionSummary != null) {
|
|
132
|
+
@include setColor(
|
|
133
|
+
$accordionSummary,
|
|
134
|
+
"default",
|
|
135
|
+
$name,
|
|
136
|
+
"accordion-summary"
|
|
137
|
+
);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
$accordionDetails: map.get($accordion, "accordionDetails");
|
|
141
|
+
@if ($accordionDetails != null) {
|
|
142
|
+
@include setColor(
|
|
143
|
+
$accordionDetails,
|
|
144
|
+
"default",
|
|
145
|
+
$name,
|
|
146
|
+
"accordion-details"
|
|
147
|
+
);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
//#endregion accordion
|
|
151
|
+
|
|
152
|
+
//#region badge
|
|
153
|
+
$badge: map.get($colorShade, "badge");
|
|
154
|
+
@if ($badge != null) {
|
|
155
|
+
@include setColor($badge, "default", $name, "badge");
|
|
156
|
+
}
|
|
157
|
+
//#endregion badge
|
|
158
|
+
|
|
159
|
+
//#region blockquote
|
|
160
|
+
$blockquote: map.get($colorShade, "blockquote");
|
|
161
|
+
@if ($blockquote != null) {
|
|
162
|
+
@include setColor($blockquote, "default", $name, "blockquote");
|
|
163
|
+
}
|
|
164
|
+
//#endregion blockquote
|
|
165
|
+
|
|
166
|
+
//#region breadcrumbs
|
|
167
|
+
$breadcrumbs: map.get($colorShade, "breadcrumbs");
|
|
168
|
+
@if ($breadcrumbs != null) {
|
|
169
|
+
@include setColor($breadcrumbs, "default", $name, "breadcrumbs");
|
|
170
|
+
|
|
171
|
+
$breadcrumb: map.get($breadcrumbs, "breadcrumb");
|
|
172
|
+
@if ($breadcrumb != null) {
|
|
173
|
+
@include setColor($breadcrumb, "default", $name, "breadcrumb");
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
$breadcrumbDivider: map.get($breadcrumbs, "breadcrumbDivider");
|
|
177
|
+
@if ($breadcrumbDivider != null) {
|
|
178
|
+
@include setColor(
|
|
179
|
+
$breadcrumbDivider,
|
|
180
|
+
"default",
|
|
181
|
+
$name,
|
|
182
|
+
"breadcrumb-divider"
|
|
183
|
+
);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
//#endregion breadcrumbs
|
|
187
|
+
|
|
188
|
+
//#region button
|
|
189
|
+
$button: map.get($colorShade, "button");
|
|
190
|
+
@if ($button != null) {
|
|
191
|
+
@include setColor($button, "default", $name, "button");
|
|
192
|
+
}
|
|
193
|
+
//#endregion button
|
|
194
|
+
|
|
195
|
+
//#region card
|
|
196
|
+
$card: map.get($colorShade, "card");
|
|
197
|
+
@if ($card != null) {
|
|
198
|
+
@include setColor($card, "default", $name, "card");
|
|
199
|
+
|
|
200
|
+
$cardHeader: map.get($card, "cardHeader");
|
|
201
|
+
@if ($cardHeader != null) {
|
|
202
|
+
@include setColor($cardHeader, "default", $name, "card-header");
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
$cardBody: map.get($card, "cardBody");
|
|
206
|
+
@if ($cardBody != null) {
|
|
207
|
+
@include setColor($cardBody, "default", $name, "card-body");
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
$cardFooter: map.get($card, "cardFooter");
|
|
211
|
+
@if ($cardFooter != null) {
|
|
212
|
+
@include setColor($cardFooter, "default", $name, "card-footer");
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
//#endregion card
|
|
216
|
+
|
|
217
|
+
//#region dialogue
|
|
218
|
+
$dialogue: map.get($colorShade, "dialogue");
|
|
219
|
+
@if ($dialogue != null) {
|
|
220
|
+
@include setColor($dialogue, "default", $name, "dialogue");
|
|
221
|
+
|
|
222
|
+
$dialogueAvatar: map.get($dialogue, "dialogueAvatar");
|
|
223
|
+
@if ($dialogueAvatar != null) {
|
|
224
|
+
@include setColor($dialogueAvatar, "default", $name, "dialogue-avatar");
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
$dialogueName: map.get($dialogue, "dialogueName");
|
|
228
|
+
@if ($dialogueName != null) {
|
|
229
|
+
@include setColor($dialogueName, "default", $name, "dialogue-name");
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
$dialogueMessage: map.get($dialogue, "dialogueMessage");
|
|
233
|
+
@if ($dialogueMessage != null) {
|
|
234
|
+
@include setColor(
|
|
235
|
+
$dialogueMessage,
|
|
236
|
+
"default",
|
|
237
|
+
$name,
|
|
238
|
+
"dialogue-message"
|
|
239
|
+
);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
//#endregion dialogue
|
|
243
|
+
|
|
244
|
+
//#region header
|
|
245
|
+
$header: map.get($colorShade, "header");
|
|
246
|
+
@if ($header != null) {
|
|
247
|
+
@include setColor($header, "default", $name, "header");
|
|
248
|
+
}
|
|
249
|
+
//#endregion header
|
|
250
|
+
|
|
251
|
+
//#region label
|
|
252
|
+
$label: map.get($colorShade, "label");
|
|
253
|
+
@if ($label != null) {
|
|
254
|
+
@include setColor($label, "default", $name, "label");
|
|
255
|
+
}
|
|
256
|
+
//#endregion label
|
|
257
|
+
|
|
258
|
+
//#region link
|
|
259
|
+
$link: map.get($colorShade, "link");
|
|
260
|
+
@if ($link != null) {
|
|
261
|
+
@include setColor($link, "default", $name, "link");
|
|
262
|
+
}
|
|
263
|
+
//#endregion link
|
|
264
|
+
|
|
265
|
+
//#region loader
|
|
266
|
+
$loader: map.get($colorShade, "loader");
|
|
267
|
+
@if ($loader != null) {
|
|
268
|
+
@include setColor($loader, "default", $name, "loader");
|
|
269
|
+
}
|
|
270
|
+
//#endregion loader
|
|
271
|
+
|
|
272
|
+
//#region message
|
|
273
|
+
$message: map.get($colorShade, "message");
|
|
274
|
+
@if ($message != null) {
|
|
275
|
+
@include setColor($message, "default", $name, "message");
|
|
276
|
+
|
|
277
|
+
$messageHeader: map.get($message, "messageHeader");
|
|
278
|
+
@if ($messageHeader != null) {
|
|
279
|
+
@include setColor($messageHeader, "default", $name, "message-header");
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
$messageBody: map.get($message, "messageBody");
|
|
283
|
+
@if ($messageBody != null) {
|
|
284
|
+
@include setColor($messageBody, "default", $name, "message-body");
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
//#endregion message
|
|
288
|
+
|
|
289
|
+
//#region progress
|
|
290
|
+
$progress: map.get($colorShade, "progress");
|
|
291
|
+
@if ($progress != null) {
|
|
292
|
+
@include setColor($progress, "default", $name, "progress");
|
|
293
|
+
}
|
|
294
|
+
//#endregion progress
|
|
295
|
+
|
|
296
|
+
//#endregion components
|
|
297
|
+
|
|
298
|
+
//#region backgrounds
|
|
299
|
+
|
|
300
|
+
//#region dot
|
|
301
|
+
$dot: map.get($colorShade, "dot");
|
|
302
|
+
@if ($dot != null) {
|
|
303
|
+
@include setColor($dot, "default", $name, "dot");
|
|
304
|
+
}
|
|
305
|
+
//#endregion dot
|
|
306
|
+
|
|
307
|
+
//#region gingham
|
|
308
|
+
$gingham: map.get($colorShade, "gingham");
|
|
309
|
+
@if ($gingham != null) {
|
|
310
|
+
@include setColor($gingham, "default", $name, "gingham");
|
|
311
|
+
}
|
|
312
|
+
//#endregion gingham
|
|
313
|
+
|
|
314
|
+
//#region rhombus
|
|
315
|
+
$rhombus: map.get($colorShade, "rhombus");
|
|
316
|
+
@if ($rhombus != null) {
|
|
317
|
+
@include setColor($rhombus, "default", $name, "rhombus");
|
|
318
|
+
}
|
|
319
|
+
//#endregion rhombus
|
|
320
|
+
|
|
321
|
+
//#region stripe
|
|
322
|
+
$stripe: map.get($colorShade, "stripe");
|
|
323
|
+
@if ($stripe != null) {
|
|
324
|
+
@include setColor($stripe, "default", $name, "stripe");
|
|
325
|
+
}
|
|
326
|
+
//#endregion stripe
|
|
327
|
+
|
|
328
|
+
//#region zigzag
|
|
329
|
+
$zigzag: map.get($colorShade, "zigzag");
|
|
330
|
+
@if ($zigzag != null) {
|
|
331
|
+
@include setColor($zigzag, "default", $name, "zigzag");
|
|
332
|
+
}
|
|
333
|
+
//#endregion zigzag
|
|
334
|
+
|
|
335
|
+
//#endregion backgrounds
|
|
336
|
+
|
|
337
|
+
@if (not variables.$is-skelton) {
|
|
338
|
+
@each $color in variables.$colors {
|
|
339
|
+
$colorName: map.get($color, "name");
|
|
340
|
+
|
|
341
|
+
@include setColor($colorShade, $colorName, $name);
|
|
342
|
+
|
|
343
|
+
//#region components
|
|
344
|
+
|
|
345
|
+
//#region accordion
|
|
346
|
+
$accordion: map.get($colorShade, "accordion");
|
|
347
|
+
@if ($accordion != null) {
|
|
348
|
+
@include setColor($accordion, $colorName, $name, "accordion");
|
|
349
|
+
|
|
350
|
+
$accordionSummary: map.get($accordion, "accordionSummary");
|
|
351
|
+
@if ($accordionSummary != null) {
|
|
352
|
+
@include setColor(
|
|
353
|
+
$accordionSummary,
|
|
354
|
+
$colorName,
|
|
355
|
+
$name,
|
|
356
|
+
"accordion-summary"
|
|
357
|
+
);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
$accordionDetails: map.get($accordion, "accordionDetails");
|
|
361
|
+
@if ($accordionDetails != null) {
|
|
362
|
+
@include setColor(
|
|
363
|
+
$accordionDetails,
|
|
364
|
+
$colorName,
|
|
365
|
+
$name,
|
|
366
|
+
"accordion-details"
|
|
367
|
+
);
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
//#endregion accordion
|
|
371
|
+
|
|
372
|
+
//#region badge
|
|
373
|
+
$badge: map.get($colorShade, "badge");
|
|
374
|
+
@if ($badge != null) {
|
|
375
|
+
@include setColor($badge, $colorName, $name, "badge");
|
|
376
|
+
}
|
|
377
|
+
//#endregion badge
|
|
378
|
+
|
|
379
|
+
//#region blockquote
|
|
380
|
+
$blockquote: map.get($colorShade, "blockquote");
|
|
381
|
+
@if ($blockquote != null) {
|
|
382
|
+
@include setColor($blockquote, $colorName, $name, "blockquote");
|
|
383
|
+
}
|
|
384
|
+
//#endregion blockquote
|
|
385
|
+
|
|
386
|
+
//#region breadcrumbs
|
|
387
|
+
$breadcrumbs: map.get($colorShade, "breadcrumbs");
|
|
388
|
+
@if ($breadcrumbs != null) {
|
|
389
|
+
@include setColor($breadcrumbs, $colorName, $name, "breadcrumbs");
|
|
390
|
+
|
|
391
|
+
$breadcrumb: map.get($breadcrumbs, "breadcrumb");
|
|
392
|
+
@if ($breadcrumb != null) {
|
|
393
|
+
@include setColor($breadcrumb, $colorName, $name, "breadcrumb");
|
|
394
|
+
}
|
|
395
|
+
$breadcrumbDivider: map.get($breadcrumbs, "breadcrumbDivider");
|
|
396
|
+
@if ($breadcrumbDivider != null) {
|
|
397
|
+
@include setColor(
|
|
398
|
+
$breadcrumbDivider,
|
|
399
|
+
$colorName,
|
|
400
|
+
$name,
|
|
401
|
+
"breadcrumb-divider"
|
|
402
|
+
);
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
//#endregion breadcrumbs
|
|
406
|
+
|
|
407
|
+
//#region button
|
|
408
|
+
$button: map.get($colorShade, "button");
|
|
409
|
+
@if ($button != null) {
|
|
410
|
+
@include setColor($button, $colorName, $name, "button");
|
|
411
|
+
}
|
|
412
|
+
//#endregion button
|
|
413
|
+
|
|
414
|
+
//#region card
|
|
415
|
+
$card: map.get($colorShade, "card");
|
|
416
|
+
@if ($card != null) {
|
|
417
|
+
@include setColor($card, $colorName, $name, "card");
|
|
418
|
+
|
|
419
|
+
$cardHeader: map.get($card, "cardHeader");
|
|
420
|
+
@if ($cardHeader != null) {
|
|
421
|
+
@include setColor($cardHeader, $colorName, $name, "card-header");
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
$cardBody: map.get($card, "cardBody");
|
|
425
|
+
@if ($cardBody != null) {
|
|
426
|
+
@include setColor($cardBody, $colorName, $name, "card-body");
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
$cardFooter: map.get($card, "cardFooter");
|
|
430
|
+
@if ($cardFooter != null) {
|
|
431
|
+
@include setColor($cardFooter, $colorName, $name, "card-footer");
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
//#endregion card
|
|
435
|
+
|
|
436
|
+
//#region dialogue
|
|
437
|
+
$dialogue: map.get($colorShade, "dialogue");
|
|
438
|
+
@if ($dialogue != null) {
|
|
439
|
+
@include setColor($dialogue, $colorName, $name, "dialogue");
|
|
440
|
+
|
|
441
|
+
$dialogueAvatar: map.get($dialogue, "dialogueAvatar");
|
|
442
|
+
@if ($dialogueAvatar != null) {
|
|
443
|
+
@include setColor(
|
|
444
|
+
$dialogueAvatar,
|
|
445
|
+
$colorName,
|
|
446
|
+
$name,
|
|
447
|
+
"dialogue-avatar"
|
|
448
|
+
);
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
$dialogueName: map.get($dialogue, "dialogueName");
|
|
452
|
+
@if ($dialogueName != null) {
|
|
453
|
+
@include setColor(
|
|
454
|
+
$dialogueName,
|
|
455
|
+
$colorName,
|
|
456
|
+
$name,
|
|
457
|
+
"dialogue-name"
|
|
458
|
+
);
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
$dialogueMessage: map.get($dialogue, "dialogueMessage");
|
|
462
|
+
@if ($dialogueMessage != null) {
|
|
463
|
+
@include setColor(
|
|
464
|
+
$dialogueMessage,
|
|
465
|
+
$colorName,
|
|
466
|
+
$name,
|
|
467
|
+
"dialogue-message"
|
|
468
|
+
);
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
//#endregion dialogue
|
|
472
|
+
|
|
473
|
+
//#region header
|
|
474
|
+
$header: map.get($colorShade, "header");
|
|
475
|
+
@if ($header != null) {
|
|
476
|
+
@include setColor($header, $colorName, $name, "header");
|
|
477
|
+
}
|
|
478
|
+
//#endregion header
|
|
479
|
+
|
|
480
|
+
//#region label
|
|
481
|
+
$label: map.get($colorShade, "label");
|
|
482
|
+
@if ($label != null) {
|
|
483
|
+
@include setColor($label, $colorName, $name, "label");
|
|
484
|
+
}
|
|
485
|
+
//#endregion label
|
|
486
|
+
|
|
487
|
+
//#region link
|
|
488
|
+
$link: map.get($colorShade, "link");
|
|
489
|
+
@if ($link != null) {
|
|
490
|
+
@include setColor($link, $colorName, $name, "link");
|
|
491
|
+
}
|
|
492
|
+
//#endregion link
|
|
493
|
+
|
|
494
|
+
//#region loader
|
|
495
|
+
$loader: map.get($colorShade, "loader");
|
|
496
|
+
@if ($loader != null) {
|
|
497
|
+
@include setColor($loader, $colorName, $name, "loader");
|
|
498
|
+
}
|
|
499
|
+
//#endregion loader
|
|
500
|
+
|
|
501
|
+
//#region message
|
|
502
|
+
$message: map.get($colorShade, "message");
|
|
503
|
+
@if ($message != null) {
|
|
504
|
+
@include setColor($message, $colorName, $name, "message");
|
|
505
|
+
|
|
506
|
+
$messageHeader: map.get($message, "messageHeader");
|
|
507
|
+
@if ($messageHeader != null) {
|
|
508
|
+
@include setColor(
|
|
509
|
+
$messageHeader,
|
|
510
|
+
$colorName,
|
|
511
|
+
$name,
|
|
512
|
+
"message-header"
|
|
513
|
+
);
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
$messageBody: map.get($message, "messageBody");
|
|
517
|
+
@if ($messageBody != null) {
|
|
518
|
+
@include setColor($messageBody, $colorName, $name, "message-body");
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
//#endregion message
|
|
522
|
+
|
|
523
|
+
//#region progress
|
|
524
|
+
$progress: map.get($colorShade, "progress");
|
|
525
|
+
@if ($progress != null) {
|
|
526
|
+
@include setColor($link, $colorName, $name, "progress");
|
|
527
|
+
}
|
|
528
|
+
//#endregion progress
|
|
529
|
+
|
|
530
|
+
//#endregion components
|
|
531
|
+
|
|
532
|
+
//#region backgrounds
|
|
533
|
+
|
|
534
|
+
//#region dot
|
|
535
|
+
$dot: map.get($colorShade, "dot");
|
|
536
|
+
@if ($dot != null) {
|
|
537
|
+
@include setColor($dot, $colorName, $name, "dot");
|
|
538
|
+
}
|
|
539
|
+
//#endregion dot
|
|
540
|
+
|
|
541
|
+
//#region gingham
|
|
542
|
+
$gingham: map.get($colorShade, "gingham");
|
|
543
|
+
@if ($gingham != null) {
|
|
544
|
+
@include setColor($gingham, $colorName, $name, "gingham");
|
|
545
|
+
}
|
|
546
|
+
//#endregion gingham
|
|
547
|
+
|
|
548
|
+
//#region rhombus
|
|
549
|
+
$rhombus: map.get($colorShade, "rhombus");
|
|
550
|
+
@if ($rhombus != null) {
|
|
551
|
+
@include setColor($rhombus, $colorName, $name, "rhombus");
|
|
552
|
+
}
|
|
553
|
+
//#endregion rhombus
|
|
554
|
+
|
|
555
|
+
//#region stripe
|
|
556
|
+
$stripe: map.get($colorShade, "stripe");
|
|
557
|
+
@if ($stripe != null) {
|
|
558
|
+
@include setColor($stripe, $colorName, $name, "stripe");
|
|
559
|
+
}
|
|
560
|
+
//#endregion stripe
|
|
561
|
+
|
|
562
|
+
//#region zigzag
|
|
563
|
+
$zigzag: map.get($colorShade, "zigzag");
|
|
564
|
+
@if ($zigzag != null) {
|
|
565
|
+
@include setColor($zigzag, $colorName, $name, "zigzag");
|
|
566
|
+
}
|
|
567
|
+
//#endregion zigzag
|
|
568
|
+
|
|
569
|
+
//#endregion backgrounds
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
@mixin setColorLight() {
|
|
576
|
+
@include setColorShades(variables.$colorShadesLight);
|
|
577
|
+
color-scheme: light;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
@mixin setColorDark() {
|
|
581
|
+
@include setColorShades(variables.$colorShadesDark);
|
|
582
|
+
color-scheme: dark;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
:root {
|
|
586
|
+
@each $color in variables.$colors {
|
|
587
|
+
$name: map.get($color, "name");
|
|
588
|
+
@if ($name == "gray") {
|
|
589
|
+
@include setColorVariables($color);
|
|
590
|
+
} @else if (not variables.$is-skelton) {
|
|
591
|
+
@include setColorVariables($color);
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
@include setColorLight();
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
@include mixins.setCssVariableColorScheme("light") {
|
|
599
|
+
@include setColorLight();
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
@include mixins.setCssVariableColorScheme("dark") {
|
|
603
|
+
@include setColorDark();
|
|
604
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@use "../../variables/index.scss" as variables;
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--#{variables.$prefix}dialogue-avatar-size-default: #{variables.$dialogue-avatar-size-default};
|
|
5
|
+
--#{variables.$prefix}dialogue-avatar-size-small: #{variables.$dialogue-avatar-size-small};
|
|
6
|
+
--#{variables.$prefix}dialogue-avatar-size-large: #{variables.$dialogue-avatar-size-large};
|
|
7
|
+
--#{variables.$prefix}dialogue-avatar-top-offset: #{variables.$dialogue-avatar-top-offset};
|
|
8
|
+
--#{variables.$prefix}dialogue-name-font-size: #{variables.$dialogue-name-font-size};
|
|
9
|
+
--#{variables.$prefix}dialogue-name-padding-x: #{variables.$dialogue-name-padding-x};
|
|
10
|
+
--#{variables.$prefix}dialogue-name-padding-y: #{variables.$dialogue-name-padding-y};
|
|
11
|
+
--#{variables.$prefix}dialogue-messege-arrow-width: #{variables.$dialogue-messege-arrow-width};
|
|
12
|
+
--#{variables.$prefix}dialogue-messege-arrow-height: #{variables.$dialogue-messege-arrow-height};
|
|
13
|
+
--#{variables.$prefix}dialogue-message-inner-padding-x: #{variables.$dialogue-message-inner-padding-x};
|
|
14
|
+
--#{variables.$prefix}dialogue-message-inner-padding-y: #{variables.$dialogue-message-inner-padding-y};
|
|
15
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
@use "../../variables/index.scss" as variables;
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--#{variables.$prefix}header-backdrop-filter: #{variables.$header-backdrop-filter};
|
|
5
|
+
--#{variables.$prefix}header-z-index-is-sticky: #{variables.$header-z-index-is-sticky};
|
|
6
|
+
--#{variables.$prefix}header-z-index-is-fixed: #{variables.$header-z-index-is-fixed};
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@use "../variables/index.scss" as variables;
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--#{variables.$prefix}z-index-tabula: #{variables.$z-index-tabula};
|
|
5
|
+
|
|
6
|
+
--#{variables.$prefix}z-index-modal: #{variables.$z-index-modal};
|
|
7
|
+
--#{variables.$prefix}z-index-modal-content: #{variables.$z-index-modal-content};
|
|
8
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@use "../variables/index.scss" as variables;
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--#{variables.$prefix}font-family-serif: #{variables.$font-family-serif};
|
|
5
|
+
--#{variables.$prefix}font-family-sans-serif: #{variables.$font-family-sans-serif};
|
|
6
|
+
--#{variables.$prefix}font-family-monospace: #{variables.$font-family-monospace};
|
|
7
|
+
--#{variables.$prefix}font-family-main: var(--#{variables.$prefix}font-family-sans-serif);
|
|
8
|
+
--#{variables.$prefix}font-family-code: var(--#{variables.$prefix}font-family-monospace);
|
|
9
|
+
--#{variables.$prefix}font-size-xsmall: #{variables.$font-size-xsmall};
|
|
10
|
+
--#{variables.$prefix}font-size-small: #{variables.$font-size-small};
|
|
11
|
+
--#{variables.$prefix}font-size-normal: #{variables.$font-size-normal};
|
|
12
|
+
--#{variables.$prefix}font-size-medium: #{variables.$font-size-medium};
|
|
13
|
+
--#{variables.$prefix}font-size-large: #{variables.$font-size-large};
|
|
14
|
+
--#{variables.$prefix}font-size-xlarge: #{variables.$font-size-xlarge};
|
|
15
|
+
--#{variables.$prefix}font-size-xxlarge: #{variables.$font-size-xxlarge};
|
|
16
|
+
--#{variables.$prefix}font-size-xxxlarge: #{variables.$font-size-xxxlarge};
|
|
17
|
+
--#{variables.$prefix}font-size-xxxxlarge: #{variables.$font-size-xxxxlarge};
|
|
18
|
+
--#{variables.$prefix}font-size-xxxxxlarge: #{variables.$font-size-xxxxxlarge};
|
|
19
|
+
--#{variables.$prefix}font-weight-light: #{variables.$font-weight-light};
|
|
20
|
+
--#{variables.$prefix}font-weight-normal: #{variables.$font-weight-normal};
|
|
21
|
+
--#{variables.$prefix}font-weight-medium: #{variables.$font-weight-medium};
|
|
22
|
+
--#{variables.$prefix}font-weight-semibold: #{variables.$font-weight-semibold};
|
|
23
|
+
--#{variables.$prefix}font-weight-bold: #{variables.$font-weight-bold};
|
|
24
|
+
}
|