noctemyth 0.3.0 → 1.0.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/dist/css/noctemyth-skelton.css +1398 -4855
- package/dist/css/noctemyth-skelton.css.map +1 -1
- package/dist/css/noctemyth-skelton.min.css +1398 -4855
- package/dist/css/noctemyth-skelton.min.css.map +1 -1
- package/dist/css/noctemyth-utilities.css +17534 -1
- package/dist/css/noctemyth-utilities.css.map +1 -1
- package/dist/css/noctemyth-utilities.min.css +17534 -1
- package/dist/css/noctemyth-utilities.min.css.map +1 -1
- package/dist/css/noctemyth.css +7221 -3898
- package/dist/css/noctemyth.css.map +1 -1
- package/dist/css/noctemyth.min.css +1507 -967
- package/dist/css/noctemyth.min.css.map +1 -1
- package/package.json +1 -1
- package/src/animations/fade.scss +2 -2
- package/src/backgrounds/dot.scss +5 -21
- package/src/backgrounds/gingham.scss +7 -23
- package/src/backgrounds/rhombus.scss +7 -23
- package/src/backgrounds/stripe.scss +5 -21
- package/src/backgrounds/zigzag.scss +7 -23
- package/src/base/accessibility.scss +68 -0
- package/src/base/dub.scss +19 -2
- package/src/base/index.scss +2 -0
- package/src/base/normalize.scss +0 -8
- package/src/base/root.scss +25 -0
- package/src/components/accordion.scss +6 -79
- package/src/components/aside.scss +7 -0
- package/src/components/badge.scss +68 -114
- package/src/components/blockquote.scss +3 -27
- package/src/components/breadcrumbs.scss +1 -22
- package/src/components/button.scss +72 -111
- package/src/components/card.scss +2 -60
- package/src/components/description-list.scss +46 -0
- package/src/components/dialogue.scss +55 -73
- package/src/components/figure.scss +173 -0
- package/src/components/footer.scss +5 -14
- package/src/components/hamburger.scss +1 -14
- package/src/components/header.scss +2 -32
- package/src/components/heading.scss +0 -1
- package/src/components/image.scss +0 -1
- package/src/components/index.scss +3 -0
- package/src/components/input.scss +1 -32
- package/src/components/label.scss +1 -19
- package/src/components/link.scss +6 -25
- package/src/components/list.scss +39 -9
- package/src/components/loader.scss +1 -10
- package/src/components/message.scss +1 -44
- package/src/components/modal.scss +1 -10
- package/src/components/nav.scss +5 -61
- package/src/components/paragraph.scss +0 -1
- package/src/components/progress.scss +2 -1
- package/src/css-variables/animation.scss +1 -1
- package/src/css-variables/border.scss +1 -1
- package/src/css-variables/color.scss +201 -29
- package/src/css-variables/components/header.scss +1 -0
- package/src/css-variables/index.scss +1 -0
- package/src/css-variables/layout.scss +11 -0
- package/src/css-variables/miscellaneous.scss +4 -4
- package/src/css-variables/typography.scss +1 -1
- package/src/layouts/columns.scss +56 -51
- package/src/layouts/container.scss +32 -30
- package/src/mixins/responsive.scss +12 -12
- package/src/utilities/border.scss +4 -0
- package/src/utilities/color.scss +110 -0
- package/src/variables/color.scss +263 -218
- package/src/variables/components/header.scss +1 -0
- package/src/variables/layout.scss +13 -11
- package/src/variables/miscellaneous.scss +0 -2
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../variables/index.scss" as variables;
|
|
3
|
+
@use "../icons/index.scss" as icons;
|
|
4
|
+
@use "../mixins/index.scss" as mixins;
|
|
5
|
+
|
|
6
|
+
:where(.figure) {
|
|
7
|
+
--#{variables.$prefix}figure-color-fore: var(
|
|
8
|
+
--#{variables.$prefix}color-default-figure-fore,
|
|
9
|
+
var(--#{variables.$prefix}color-default-fore)
|
|
10
|
+
);
|
|
11
|
+
--#{variables.$prefix}figure-color-back: var(
|
|
12
|
+
--#{variables.$prefix}color-default-figure-back,
|
|
13
|
+
var(--#{variables.$prefix}color-default-back)
|
|
14
|
+
);
|
|
15
|
+
--#{variables.$prefix}figure-color-border: var(
|
|
16
|
+
--#{variables.$prefix}color-default-figure-border,
|
|
17
|
+
var(--#{variables.$prefix}color-default-border)
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
--#{variables.$prefix}figure-color-selection-fore: var(
|
|
21
|
+
--#{variables.$prefix}color-default-figure-selection-fore,
|
|
22
|
+
var(--#{variables.$prefix}color-default-selection-fore)
|
|
23
|
+
);
|
|
24
|
+
--#{variables.$prefix}figure-color-selection-back: var(
|
|
25
|
+
--#{variables.$prefix}color-default-figure-selection-back,
|
|
26
|
+
var(--#{variables.$prefix}color-default-selection-back)
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
--#{variables.$prefix}figure-content-color-fore: var(
|
|
30
|
+
--#{variables.$prefix}color-default-figure-content-fore,
|
|
31
|
+
var(--#{variables.$prefix}color-default-fore)
|
|
32
|
+
);
|
|
33
|
+
--#{variables.$prefix}figure-content-color-back: var(
|
|
34
|
+
--#{variables.$prefix}color-default-figure-content-back,
|
|
35
|
+
var(--#{variables.$prefix}color-default-back)
|
|
36
|
+
);
|
|
37
|
+
--#{variables.$prefix}figure-content-color-selection-fore: var(
|
|
38
|
+
--#{variables.$prefix}color-default-figure-content-selection-fore,
|
|
39
|
+
var(--#{variables.$prefix}color-default-fore)
|
|
40
|
+
);
|
|
41
|
+
--#{variables.$prefix}figure-content-color-selection-back: var(
|
|
42
|
+
--#{variables.$prefix}color-default-figure-content-selection-back,
|
|
43
|
+
var(--#{variables.$prefix}color-default-back)
|
|
44
|
+
);
|
|
45
|
+
|
|
46
|
+
--#{variables.$prefix}figure-caption-color-fore: var(
|
|
47
|
+
--#{variables.$prefix}color-default-figure-caption-fore,
|
|
48
|
+
var(--#{variables.$prefix}color-default-fore)
|
|
49
|
+
);
|
|
50
|
+
--#{variables.$prefix}figure-caption-color-back: var(
|
|
51
|
+
--#{variables.$prefix}color-default-figure-caption-back,
|
|
52
|
+
var(--#{variables.$prefix}color-default-back)
|
|
53
|
+
);
|
|
54
|
+
--#{variables.$prefix}figure-caption-color-selection-fore: var(
|
|
55
|
+
--#{variables.$prefix}color-default-figure-caption-selection-fore,
|
|
56
|
+
var(--#{variables.$prefix}color-default-fore)
|
|
57
|
+
);
|
|
58
|
+
--#{variables.$prefix}figure-caption-color-selection-back: var(
|
|
59
|
+
--#{variables.$prefix}color-default-figure-caption-selection-back,
|
|
60
|
+
var(--#{variables.$prefix}color-default-back)
|
|
61
|
+
);
|
|
62
|
+
|
|
63
|
+
@include mixins.element();
|
|
64
|
+
background-color: var(--#{variables.$prefix}figure-color-back);
|
|
65
|
+
border-color: var(--#{variables.$prefix}figure-color-border);
|
|
66
|
+
border-style: none;
|
|
67
|
+
border-width: var(--#{variables.$prefix}border-width-medium);
|
|
68
|
+
color: var(--#{variables.$prefix}figure-color-fore);
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-flow: column;
|
|
71
|
+
width: 100%;
|
|
72
|
+
padding: 0.25rem;
|
|
73
|
+
|
|
74
|
+
&::selection {
|
|
75
|
+
color: var(--#{variables.$prefix}figure-color-selection-fore);
|
|
76
|
+
background-color: var(--#{variables.$prefix}figure-color-selection-back);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
> :where(.figure-content) {
|
|
80
|
+
@include mixins.element();
|
|
81
|
+
background-color: var(--#{variables.$prefix}figure-content-color-back);
|
|
82
|
+
color: var(--#{variables.$prefix}figure-content-color-fore);
|
|
83
|
+
display: block;
|
|
84
|
+
width: 100%;
|
|
85
|
+
height: auto;
|
|
86
|
+
&::selection {
|
|
87
|
+
color: var(--#{variables.$prefix}figure-content-color-selection-fore);
|
|
88
|
+
background-color: var(--#{variables.$prefix}figure-content-color-selection-back);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
> :where(.figure-caption) {
|
|
93
|
+
@include mixins.element();
|
|
94
|
+
display: block;
|
|
95
|
+
background-color: var(--#{variables.$prefix}figure-caption-color-back);
|
|
96
|
+
color: var(--#{variables.$prefix}figure-caption-color-fore);
|
|
97
|
+
font-size: var(--#{variables.$prefix}font-size-small);
|
|
98
|
+
width: 100%;
|
|
99
|
+
&:first-child {
|
|
100
|
+
padding-bottom: 0.25rem;
|
|
101
|
+
}
|
|
102
|
+
&:last-child {
|
|
103
|
+
padding-top: 0.25rem;
|
|
104
|
+
}
|
|
105
|
+
&::selection {
|
|
106
|
+
color: var(--#{variables.$prefix}figure-caption-color-selection-fore);
|
|
107
|
+
background-color: var(--#{variables.$prefix}figure-caption-color-selection-back);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@if (not variables.$is-skelton) {
|
|
112
|
+
@each $color in variables.$allColors {
|
|
113
|
+
$colorName: map.get($color, "name");
|
|
114
|
+
&.is-#{$colorName} {
|
|
115
|
+
--#{variables.$prefix}figure-color-fore: var(
|
|
116
|
+
--#{variables.$prefix}color-#{$colorName}-figure-fore,
|
|
117
|
+
var(--#{variables.$prefix}color-#{$colorName}-fore)
|
|
118
|
+
);
|
|
119
|
+
--#{variables.$prefix}figure-color-back: var(
|
|
120
|
+
--#{variables.$prefix}color-#{$colorName}-figure-back,
|
|
121
|
+
var(--#{variables.$prefix}color-#{$colorName}-back)
|
|
122
|
+
);
|
|
123
|
+
--#{variables.$prefix}figure-color-border: var(
|
|
124
|
+
--#{variables.$prefix}color-#{$colorName}-figure-border,
|
|
125
|
+
var(--#{variables.$prefix}color-#{$colorName}-border)
|
|
126
|
+
);
|
|
127
|
+
|
|
128
|
+
--#{variables.$prefix}figure-color-selection-fore: var(
|
|
129
|
+
--#{variables.$prefix}color-#{$colorName}-figure-selection-fore,
|
|
130
|
+
var(--#{variables.$prefix}color-#{$colorName}-selection-fore)
|
|
131
|
+
);
|
|
132
|
+
--#{variables.$prefix}figure-color-selection-back: var(
|
|
133
|
+
--#{variables.$prefix}color-#{$colorName}-figure-selection-back,
|
|
134
|
+
var(--#{variables.$prefix}color-#{$colorName}-selection-back)
|
|
135
|
+
);
|
|
136
|
+
|
|
137
|
+
--#{variables.$prefix}figure-content-color-fore: var(
|
|
138
|
+
--#{variables.$prefix}color-#{$colorName}-figure-content-fore,
|
|
139
|
+
var(--#{variables.$prefix}color-#{$colorName}-fore)
|
|
140
|
+
);
|
|
141
|
+
--#{variables.$prefix}figure-content-color-back: var(
|
|
142
|
+
--#{variables.$prefix}color-#{$colorName}-figure-content-back,
|
|
143
|
+
var(--#{variables.$prefix}color-#{$colorName}-back)
|
|
144
|
+
);
|
|
145
|
+
--#{variables.$prefix}figure-content-color-selection-fore: var(
|
|
146
|
+
--#{variables.$prefix}color-#{$colorName}-figure-content-selection-fore,
|
|
147
|
+
var(--#{variables.$prefix}color-#{$colorName}-selection-fore)
|
|
148
|
+
);
|
|
149
|
+
--#{variables.$prefix}figure-content-color-selection-back: var(
|
|
150
|
+
--#{variables.$prefix}color-#{$colorName}-figure-content-selection-back,
|
|
151
|
+
var(--#{variables.$prefix}color-#{$colorName}-selection-back)
|
|
152
|
+
);
|
|
153
|
+
|
|
154
|
+
--#{variables.$prefix}figure-caption-color-fore: var(
|
|
155
|
+
--#{variables.$prefix}color-#{$colorName}-figure-caption-fore,
|
|
156
|
+
var(--#{variables.$prefix}color-#{$colorName}-fore)
|
|
157
|
+
);
|
|
158
|
+
--#{variables.$prefix}figure-caption-color-back: var(
|
|
159
|
+
--#{variables.$prefix}color-#{$colorName}-figure-caption-back,
|
|
160
|
+
var(--#{variables.$prefix}color-#{$colorName}-back)
|
|
161
|
+
);
|
|
162
|
+
--#{variables.$prefix}figure-caption-color-selection-fore: var(
|
|
163
|
+
--#{variables.$prefix}color-#{$colorName}-figure-caption-selection-fore,
|
|
164
|
+
var(--#{variables.$prefix}color-#{$colorName}-selection-fore)
|
|
165
|
+
);
|
|
166
|
+
--#{variables.$prefix}figure-caption-color-selection-back: var(
|
|
167
|
+
--#{variables.$prefix}color-#{$colorName}-figure-caption-selection-back,
|
|
168
|
+
var(--#{variables.$prefix}color-#{$colorName}-selection-back)
|
|
169
|
+
);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
@@ -18,25 +18,16 @@
|
|
|
18
18
|
bottom: 0;
|
|
19
19
|
|
|
20
20
|
@if (not variables.$is-skelton) {
|
|
21
|
-
@each $color in variables.$
|
|
21
|
+
@each $color in variables.$allColors {
|
|
22
22
|
$colorName: map.get($color, "name");
|
|
23
23
|
&.is-#{$colorName} {
|
|
24
24
|
--#{variables.$prefix}footer-color-fore: var(
|
|
25
|
-
--#{variables.$prefix}color-#{$colorName}-footer-fore
|
|
25
|
+
--#{variables.$prefix}color-#{$colorName}-footer-fore,
|
|
26
|
+
var(--#{variables.$prefix}color-#{$colorName}-fore)
|
|
26
27
|
);
|
|
27
28
|
--#{variables.$prefix}footer-color-back: var(
|
|
28
|
-
--#{variables.$prefix}color-#{$colorName}-footer-back
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
@each $semanticColor in variables.$semanticColors {
|
|
33
|
-
$colorName: map.get($semanticColor, "name");
|
|
34
|
-
&.is-#{$colorName} {
|
|
35
|
-
--#{variables.$prefix}footer-color-fore: var(
|
|
36
|
-
--#{variables.$prefix}color-#{$colorName}-footer-fore
|
|
37
|
-
);
|
|
38
|
-
--#{variables.$prefix}footer-color-back: var(
|
|
39
|
-
--#{variables.$prefix}color-#{$colorName}-footer-back
|
|
29
|
+
--#{variables.$prefix}color-#{$colorName}-footer-back,
|
|
30
|
+
var(--#{variables.$prefix}color-#{$colorName}-back)
|
|
40
31
|
);
|
|
41
32
|
}
|
|
42
33
|
}
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
@if (not variables.$is-skelton) {
|
|
97
|
-
@each $color in variables.$
|
|
97
|
+
@each $color in variables.$allColors {
|
|
98
98
|
$colorName: map.get($color, "name");
|
|
99
99
|
&.is-#{$colorName} {
|
|
100
100
|
--#{variables.$prefix}hamburger-color-fore: var(
|
|
@@ -107,19 +107,6 @@
|
|
|
107
107
|
);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
@each $semanticColor in variables.$semanticColors {
|
|
111
|
-
$colorName: map.get($semanticColor, "name");
|
|
112
|
-
&.is-#{$colorName} {
|
|
113
|
-
--#{variables.$prefix}hamburger-color-fore: var(
|
|
114
|
-
--#{variables.$prefix}color-#{$colorName}-hamburger-fore,
|
|
115
|
-
var(--#{variables.$prefix}color-#{$colorName}-fore)
|
|
116
|
-
);
|
|
117
|
-
--#{variables.$prefix}hamburger-line-color-back: var(
|
|
118
|
-
--#{variables.$prefix}color-#{$colorName}-hamburger-line-back,
|
|
119
|
-
var(--#{variables.$prefix}color-#{$colorName}-border)
|
|
120
|
-
);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
110
|
}
|
|
124
111
|
}
|
|
125
112
|
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
width: 100%;
|
|
22
22
|
box-shadow: 0 0 0.5rem var(--#{variables.$prefix}header-color-shadow);
|
|
23
23
|
backdrop-filter: var(--#{variables.$prefix}header-backdrop-filter);
|
|
24
|
+
min-height: var(--#{variables.$prefix}header-min-height);
|
|
24
25
|
|
|
25
26
|
&.is-sticky {
|
|
26
27
|
position: sticky;
|
|
@@ -39,7 +40,7 @@
|
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
@if (not variables.$is-skelton) {
|
|
42
|
-
@each $color in variables.$
|
|
43
|
+
@each $color in variables.$allColors {
|
|
43
44
|
$colorName: map.get($color, "name");
|
|
44
45
|
&.is-#{$colorName} {
|
|
45
46
|
--#{variables.$prefix}header-color-fore: var(
|
|
@@ -69,36 +70,5 @@
|
|
|
69
70
|
color: var(--#{variables.$prefix}header-color-fore);
|
|
70
71
|
}
|
|
71
72
|
}
|
|
72
|
-
|
|
73
|
-
@each $semanticColor in variables.$semanticColors {
|
|
74
|
-
$colorName: map.get($semanticColor, "name");
|
|
75
|
-
&.is-#{$colorName} {
|
|
76
|
-
--#{variables.$prefix}header-color-fore: var(
|
|
77
|
-
--#{variables.$prefix}color-#{$colorName}-header-fore,
|
|
78
|
-
--#{variables.$prefix}color-#{$colorName}-fore,
|
|
79
|
-
);
|
|
80
|
-
--#{variables.$prefix}header-color-back: var(
|
|
81
|
-
--#{variables.$prefix}color-#{$colorName}-header-back,
|
|
82
|
-
--#{variables.$prefix}color-#{$colorName}-back,
|
|
83
|
-
);
|
|
84
|
-
--#{variables.$prefix}header-color-shadow: var(
|
|
85
|
-
--#{variables.$prefix}color-#{$colorName}-header-shadow,
|
|
86
|
-
--#{variables.$prefix}color-#{$colorName}-shadow,
|
|
87
|
-
);
|
|
88
|
-
|
|
89
|
-
background-color: oklch(
|
|
90
|
-
from var(--#{variables.$prefix}header-color-back)
|
|
91
|
-
l
|
|
92
|
-
c
|
|
93
|
-
h /
|
|
94
|
-
0.5
|
|
95
|
-
);
|
|
96
|
-
box-shadow: 0
|
|
97
|
-
0
|
|
98
|
-
0.5rem
|
|
99
|
-
var(--#{variables.$prefix}header-color-shadow);
|
|
100
|
-
color: var(--#{variables.$prefix}header-color-fore);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
73
|
}
|
|
104
74
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@forward "./accordion.scss";
|
|
2
|
+
@forward "./aside.scss";
|
|
2
3
|
@forward "./badge.scss";
|
|
3
4
|
@forward "./blockquote.scss";
|
|
4
5
|
@forward "./breadcrumbs.scss";
|
|
@@ -6,6 +7,8 @@
|
|
|
6
7
|
@forward "./card.scss";
|
|
7
8
|
@forward "./dialogue.scss";
|
|
8
9
|
@forward "./div.scss";
|
|
10
|
+
@forward "./description-list.scss";
|
|
11
|
+
@forward "./figure.scss";
|
|
9
12
|
@forward "./footer.scss";
|
|
10
13
|
@forward "./hamburger.scss";
|
|
11
14
|
@forward "./header.scss";
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
@each $color in variables.$
|
|
79
|
+
@each $color in variables.$allColors {
|
|
80
80
|
$colorName: map.get($color, "name");
|
|
81
81
|
&.is-#{$colorName} {
|
|
82
82
|
--#{variables.$prefix}input-color-fore: var(
|
|
@@ -106,37 +106,6 @@
|
|
|
106
106
|
);
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
|
|
110
|
-
@each $semanticColor in variables.$semanticColors {
|
|
111
|
-
$colorName: map.get($semanticColor, "name");
|
|
112
|
-
&.is-#{$colorName} {
|
|
113
|
-
--#{variables.$prefix}input-color-fore: var(
|
|
114
|
-
--#{variables.$prefix}color-#{$colorName}-input-fore
|
|
115
|
-
);
|
|
116
|
-
--#{variables.$prefix}input-color-back: var(
|
|
117
|
-
--#{variables.$prefix}color-#{$colorName}-input-back
|
|
118
|
-
);
|
|
119
|
-
--#{variables.$prefix}input-color-border: var(
|
|
120
|
-
--#{variables.$prefix}color-#{$colorName}-input-border
|
|
121
|
-
);
|
|
122
|
-
--#{variables.$prefix}input-color-placeholder: var(
|
|
123
|
-
--#{variables.$prefix}color-#{$colorName}-input-placeholder
|
|
124
|
-
);
|
|
125
|
-
|
|
126
|
-
--#{variables.$prefix}input-focus-color-back: var(
|
|
127
|
-
--#{variables.$prefix}color-#{$colorName}-input-focus-back
|
|
128
|
-
);
|
|
129
|
-
--#{variables.$prefix}input-focus-color-border: var(
|
|
130
|
-
--#{variables.$prefix}color-#{$colorName}-input-focus-border
|
|
131
|
-
);
|
|
132
|
-
--#{variables.$prefix}input-disabled-color-back: var(
|
|
133
|
-
--#{variables.$prefix}color-#{$colorName}-input-disabled-back
|
|
134
|
-
);
|
|
135
|
-
--#{variables.$prefix}input-disabled-color-border: var(
|
|
136
|
-
--#{variables.$prefix}color-#{$colorName}-input-disabled-border
|
|
137
|
-
);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
109
|
}
|
|
141
110
|
}
|
|
142
111
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
@if (not variables.$is-skelton) {
|
|
29
|
-
@each $color in variables.$
|
|
29
|
+
@each $color in variables.$allColors {
|
|
30
30
|
$colorName: map.get($color, "name");
|
|
31
31
|
&.is-#{$colorName} {
|
|
32
32
|
--#{variables.$prefix}label-color-fore: var(
|
|
@@ -43,23 +43,5 @@
|
|
|
43
43
|
);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
|
|
47
|
-
@each $semanticColor in variables.$semanticColors {
|
|
48
|
-
$colorName: map.get($semanticColor, "name");
|
|
49
|
-
&.is-#{$colorName} {
|
|
50
|
-
--#{variables.$prefix}label-color-fore: var(
|
|
51
|
-
--#{variables.$prefix}color-#{$colorName}-label-fore,
|
|
52
|
-
var(--#{variables.$prefix}color-#{$colorName}-fore)
|
|
53
|
-
);
|
|
54
|
-
--#{variables.$prefix}label-color-selection-fore: var(
|
|
55
|
-
--#{variables.$prefix}color-#{$colorName}-label-selection-fore,
|
|
56
|
-
var(--#{variables.$prefix}color-#{$colorName}-selection-fore)
|
|
57
|
-
);
|
|
58
|
-
--#{variables.$prefix}label-color-selection-back: var(
|
|
59
|
-
--#{variables.$prefix}color-#{$colorName}-label-selection-back,
|
|
60
|
-
var(--#{variables.$prefix}color-#{$colorName}-selection-back)
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
46
|
}
|
|
65
47
|
}
|
package/src/components/link.scss
CHANGED
|
@@ -32,7 +32,9 @@
|
|
|
32
32
|
background-color: var(--#{variables.$prefix}link-color-selection-back);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
&:hover
|
|
35
|
+
&:hover,
|
|
36
|
+
&.is-hover,
|
|
37
|
+
&.is-hovered {
|
|
36
38
|
text-decoration: underline;
|
|
37
39
|
}
|
|
38
40
|
|
|
@@ -40,12 +42,13 @@
|
|
|
40
42
|
outline: none;
|
|
41
43
|
}
|
|
42
44
|
|
|
43
|
-
&:visited
|
|
45
|
+
&:visited,
|
|
46
|
+
&.is-visited {
|
|
44
47
|
color: var(--#{variables.$prefix}link-color-visited-fore);
|
|
45
48
|
}
|
|
46
49
|
|
|
47
50
|
@if (not variables.$is-skelton) {
|
|
48
|
-
@each $color in variables.$
|
|
51
|
+
@each $color in variables.$allColors {
|
|
49
52
|
$colorName: map.get($color, "name");
|
|
50
53
|
&.is-#{$colorName} {
|
|
51
54
|
--#{variables.$prefix}link-color-fore: var(
|
|
@@ -66,27 +69,5 @@
|
|
|
66
69
|
);
|
|
67
70
|
}
|
|
68
71
|
}
|
|
69
|
-
|
|
70
|
-
@each $semanticColor in variables.$semanticColors {
|
|
71
|
-
$colorName: map.get($semanticColor, "name");
|
|
72
|
-
&.is-#{$colorName} {
|
|
73
|
-
--#{variables.$prefix}link-color-fore: var(
|
|
74
|
-
--#{variables.$prefix}color-#{$colorName}-link-fore,
|
|
75
|
-
var(--#{variables.$prefix}color-#{$colorName}-fore)
|
|
76
|
-
);
|
|
77
|
-
--#{variables.$prefix}link-color-visited-fore: var(
|
|
78
|
-
--#{variables.$prefix}color-#{$colorName}-link-visited-fore,
|
|
79
|
-
var(--#{variables.$prefix}color-#{$colorName}-visited-fore)
|
|
80
|
-
);
|
|
81
|
-
--#{variables.$prefix}link-color-selection-fore: var(
|
|
82
|
-
--#{variables.$prefix}color-#{$colorName}-link-selection-fore,
|
|
83
|
-
var(--#{variables.$prefix}color-#{$colorName}-selection-fore)
|
|
84
|
-
);
|
|
85
|
-
--#{variables.$prefix}link-color-selection-back: var(
|
|
86
|
-
--#{variables.$prefix}color-#{$colorName}-link-selection-back,
|
|
87
|
-
var(--#{variables.$prefix}color-#{$colorName}-selection-back)
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
72
|
}
|
|
92
73
|
}
|
package/src/components/list.scss
CHANGED
|
@@ -1,16 +1,46 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../variables/index.scss" as variables;
|
|
1
3
|
@use "../mixins/index.scss" as mixins;
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
@mixin base-list() {
|
|
6
|
+
@include mixins.element();
|
|
7
|
+
display: grid;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@mixin base-list-item() {
|
|
4
11
|
@include mixins.element();
|
|
5
|
-
display:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
12
|
+
display: list-item;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
:where(.list) {
|
|
16
|
+
@include base-list();
|
|
17
|
+
--#{variables.$prefix}list-gutter-y: 1rem;
|
|
18
|
+
--#{variables.$prefix}list-indent: 1.5rem;
|
|
19
|
+
gap: var(--#{variables.$prefix}list-gutter-y) 0;
|
|
20
|
+
> :where(.list-item) {
|
|
21
|
+
@include base-list-item();
|
|
22
|
+
margin-left: var(--#{variables.$prefix}list-indent);
|
|
9
23
|
}
|
|
10
|
-
|
|
11
|
-
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
:where(.ordered-list) {
|
|
27
|
+
@include base-list();
|
|
28
|
+
--#{variables.$prefix}ordered-list-gutter-y: 1rem;
|
|
29
|
+
--#{variables.$prefix}ordered-list-indent: 1.5rem;
|
|
30
|
+
gap: var(--#{variables.$prefix}ordered-list-gutter-y) 0;
|
|
31
|
+
> :where(.ordered-list-item) {
|
|
32
|
+
@include base-list-item();
|
|
33
|
+
margin-left: var(--#{variables.$prefix}ordered-list-indent);
|
|
12
34
|
}
|
|
13
|
-
|
|
14
|
-
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
:where(.unordered-list) {
|
|
38
|
+
@include base-list();
|
|
39
|
+
--#{variables.$prefix}unordered-list-gutter-y: 1rem;
|
|
40
|
+
--#{variables.$prefix}unordered-list-indent: 1.5rem;
|
|
41
|
+
gap: var(--#{variables.$prefix}unordered-list-gutter-y) 0;
|
|
42
|
+
> :where(.unordered-list-item) {
|
|
43
|
+
@include base-list-item();
|
|
44
|
+
margin-left: var(--#{variables.$prefix}unordered-list-indent);
|
|
15
45
|
}
|
|
16
46
|
}
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
@if (not variables.$is-skelton) {
|
|
58
|
-
@each $color in variables.$
|
|
58
|
+
@each $color in variables.$allColors {
|
|
59
59
|
$colorName: map.get($color, "name");
|
|
60
60
|
&.is-#{$colorName} {
|
|
61
61
|
--#{variables.$prefix}loader-color-fore: var(
|
|
@@ -63,15 +63,6 @@
|
|
|
63
63
|
);
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
|
|
67
|
-
@each $semanticColor in variables.$semanticColors {
|
|
68
|
-
$colorName: map.get($semanticColor, "name");
|
|
69
|
-
&.is-#{$colorName} {
|
|
70
|
-
--#{variables.$prefix}loader-color-fore: var(
|
|
71
|
-
--#{variables.$prefix}color-#{$colorName}-loader-fore
|
|
72
|
-
);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
66
|
}
|
|
76
67
|
}
|
|
77
68
|
}
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
@if (not variables.$is-skelton) {
|
|
86
|
-
@each $color in variables.$
|
|
86
|
+
@each $color in variables.$allColors {
|
|
87
87
|
$colorName: map.get($color, "name");
|
|
88
88
|
&.is-#{$colorName} {
|
|
89
89
|
--#{variables.$prefix}message-color-fore: var(
|
|
@@ -125,48 +125,5 @@
|
|
|
125
125
|
);
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
|
|
129
|
-
@each $semanticColor in variables.$semanticColors {
|
|
130
|
-
$colorName: map.get($semanticColor, "name");
|
|
131
|
-
&.is-#{$colorName} {
|
|
132
|
-
--#{variables.$prefix}message-color-fore: var(
|
|
133
|
-
--#{variables.$prefix}color-#{$colorName}-message-fore
|
|
134
|
-
);
|
|
135
|
-
--#{variables.$prefix}message-color-back: var(
|
|
136
|
-
--#{variables.$prefix}color-#{$colorName}-message-back
|
|
137
|
-
);
|
|
138
|
-
--#{variables.$prefix}message-color-border: var(
|
|
139
|
-
--#{variables.$prefix}color-#{$colorName}-message-border
|
|
140
|
-
);
|
|
141
|
-
--#{variables.$prefix}message-color-selection-fore: var(
|
|
142
|
-
--#{variables.$prefix}color-#{$colorName}-message-selection-fore,
|
|
143
|
-
var(--#{variables.$prefix}color-#{$colorName}-selection-fore)
|
|
144
|
-
);
|
|
145
|
-
--#{variables.$prefix}message-color-selection-back: var(
|
|
146
|
-
--#{variables.$prefix}color-#{$colorName}-message-selection-back,
|
|
147
|
-
var(--#{variables.$prefix}color-#{$colorName}-selection-back)
|
|
148
|
-
);
|
|
149
|
-
|
|
150
|
-
--#{variables.$prefix}message-header-color-fore: var(
|
|
151
|
-
--#{variables.$prefix}color-#{$colorName}-message-header-fore
|
|
152
|
-
);
|
|
153
|
-
--#{variables.$prefix}message-header-color-back: var(
|
|
154
|
-
--#{variables.$prefix}color-#{$colorName}-message-header-back
|
|
155
|
-
);
|
|
156
|
-
--#{variables.$prefix}message-header-color-border: var(
|
|
157
|
-
--#{variables.$prefix}color-#{$colorName}-message-header-border
|
|
158
|
-
);
|
|
159
|
-
|
|
160
|
-
--#{variables.$prefix}message-body-color-fore: var(
|
|
161
|
-
--#{variables.$prefix}color-#{$colorName}-message-body-fore
|
|
162
|
-
);
|
|
163
|
-
--#{variables.$prefix}message-body-color-back: var(
|
|
164
|
-
--#{variables.$prefix}color-#{$colorName}-message-body-back
|
|
165
|
-
);
|
|
166
|
-
--#{variables.$prefix}message-body-color-border: var(
|
|
167
|
-
--#{variables.$prefix}color-#{$colorName}-message-body-border
|
|
168
|
-
);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
128
|
}
|
|
172
129
|
}
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
z-index: var(--#{variables.$prefix}z-index-modal-content);
|
|
40
40
|
}
|
|
41
41
|
@if (not variables.$is-skelton) {
|
|
42
|
-
@each $color in variables.$
|
|
42
|
+
@each $color in variables.$allColors {
|
|
43
43
|
$colorName: map.get($color, "name");
|
|
44
44
|
&.is-#{$colorName} {
|
|
45
45
|
--#{variables.$prefix}modal-color-back: var(
|
|
@@ -47,14 +47,5 @@
|
|
|
47
47
|
);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
|
|
51
|
-
@each $semanticColor in variables.$semanticColors {
|
|
52
|
-
$colorName: map.get($semanticColor, "name");
|
|
53
|
-
&.is-#{$colorName} {
|
|
54
|
-
--#{variables.$prefix}modal-color-back: var(
|
|
55
|
-
--#{variables.$prefix}color-#{$colorName}-back
|
|
56
|
-
);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
50
|
}
|
|
60
51
|
}
|