@uncinq/css-components 1.7.9 → 1.7.10
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/css/components/alert.css +7 -7
- package/css/components/banner.css +12 -12
- package/package.json +1 -1
package/css/components/alert.css
CHANGED
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
@layer components {
|
|
3
3
|
.alert {
|
|
4
4
|
--color-link-default: var(--alert-color-text);
|
|
5
|
-
align-items: var(--alert-align);
|
|
6
5
|
background-color: var(--alert-color-background);
|
|
7
6
|
border: var(--alert-border-width) var(--alert-border-style) var(--alert-color-border);
|
|
8
7
|
border-radius: var(--alert-border-radius);
|
|
9
8
|
color: var(--alert-color-text);
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: column;
|
|
12
9
|
font-size: var(--alert-font-size);
|
|
13
|
-
gap: var(--alert-gap);
|
|
14
10
|
margin: var(--alert-margin);
|
|
15
11
|
padding-block: var(--alert-padding-block);
|
|
16
12
|
padding-inline: var(--alert-padding-inline);
|
|
17
|
-
text-align: var(--alert-align);
|
|
18
13
|
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
&,
|
|
15
|
+
.container {
|
|
16
|
+
align-items: var(--alert-align);
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: var(--alert-direction, column);
|
|
19
|
+
gap: var(--alert-gap);
|
|
20
|
+
text-align: var(--alert-align);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.alert-heading {
|
|
@@ -8,51 +8,51 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
/* Variants */
|
|
11
|
-
|
|
11
|
+
&.alert-accent {
|
|
12
12
|
--alert-color-background: var(--color-accent-strong);
|
|
13
13
|
--alert-color-text: var(--color-accent-muted);
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
&.alert-brand {
|
|
16
16
|
--alert-color-background: var(--color-brand-strong);
|
|
17
17
|
--alert-color-text: var(--color-brand-muted);
|
|
18
18
|
}
|
|
19
|
-
|
|
19
|
+
&.alert-danger {
|
|
20
20
|
--alert-color-background: var(--color-danger-strong);
|
|
21
21
|
--alert-color-text: var(--color-danger-muted);
|
|
22
22
|
}
|
|
23
|
-
|
|
23
|
+
&.alert-dark {
|
|
24
24
|
--alert-color-background: var(--color-dark-strong);
|
|
25
25
|
--alert-color-text: var(--color-dark-muted);
|
|
26
26
|
}
|
|
27
|
-
|
|
27
|
+
&.alert-info {
|
|
28
28
|
--alert-color-background: var(--color-info-strong);
|
|
29
29
|
--alert-color-text: var(--color-info-muted);
|
|
30
30
|
}
|
|
31
|
-
|
|
31
|
+
&.alert-highlight {
|
|
32
32
|
--alert-color-background: var(--color-highlight-muted);
|
|
33
33
|
--alert-color-text: var(--color-highlight-strong);
|
|
34
34
|
}
|
|
35
|
-
|
|
35
|
+
&.alert-light {
|
|
36
36
|
--alert-color-background: var(--color-light-muted);
|
|
37
37
|
--alert-color-text: var(--color-light-strong);
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
&.alert-neutral {
|
|
40
40
|
--alert-color-background: var(--color-neutral-strong);
|
|
41
41
|
--alert-color-text: var(--color-neutral-muted);
|
|
42
42
|
}
|
|
43
|
-
|
|
43
|
+
&.alert-primary {
|
|
44
44
|
--alert-color-background: var(--color-brand-strong);
|
|
45
45
|
--alert-color-text: var(--color-brand-muted);
|
|
46
46
|
}
|
|
47
|
-
|
|
47
|
+
&.alert-secondary {
|
|
48
48
|
--alert-color-background: var(--color-neutral-strong);
|
|
49
49
|
--alert-color-text: var(--color-neutral-muted);
|
|
50
50
|
}
|
|
51
|
-
|
|
51
|
+
&.alert-success {
|
|
52
52
|
--alert-color-background: var(--color-success-strong);
|
|
53
53
|
--alert-color-text: var(--color-success-muted);
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
&.alert-warning {
|
|
56
56
|
--alert-color-background: var(--color-warning-strong);
|
|
57
57
|
--alert-color-text: var(--color-warning-muted);
|
|
58
58
|
}
|