@stackoverflow/stacks 3.0.0-beta.5 → 3.0.0-beta.6
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.
|
@@ -4,34 +4,18 @@
|
|
|
4
4
|
--_ai-min-size: var(--su-static16);
|
|
5
5
|
--_ai-p: 0 calc(var(--su-static4) - var(--su-static1));
|
|
6
6
|
|
|
7
|
-
.highcontrast-mode({
|
|
8
|
-
--_ai-bg: var(--theme-secondary-500);
|
|
9
|
-
});
|
|
10
|
-
|
|
11
7
|
// VARIANTS
|
|
12
8
|
&&__danger {
|
|
13
9
|
--_ai-bg: var(--red-400);
|
|
14
|
-
|
|
15
|
-
.highcontrast-mode({
|
|
16
|
-
--_ai-bg: var(--red-500);
|
|
17
|
-
});
|
|
18
10
|
}
|
|
19
11
|
|
|
20
12
|
&&__success {
|
|
21
13
|
--_ai-bg: var(--green-400);
|
|
22
14
|
|
|
23
|
-
.highcontrast-mode({
|
|
24
|
-
--_ai-bg: var(--green-500);
|
|
25
|
-
});
|
|
26
15
|
}
|
|
27
16
|
|
|
28
17
|
&&__warning {
|
|
29
18
|
--_ai-bg: var(--yellow-400);
|
|
30
|
-
|
|
31
|
-
.highcontrast-mode({
|
|
32
|
-
--_ai-bg: var(--yellow-500); // needs to be here to override default high contrast
|
|
33
|
-
--_ai-fc: var(--white);
|
|
34
|
-
});
|
|
35
19
|
}
|
|
36
20
|
|
|
37
21
|
&&__sm {
|
|
@@ -45,7 +29,7 @@
|
|
|
45
29
|
min-height: var(--_ai-min-size);
|
|
46
30
|
padding: var(--_ai-p);
|
|
47
31
|
|
|
48
|
-
border-radius:
|
|
32
|
+
border-radius: var(--br-pill);
|
|
49
33
|
display: inline-flex;
|
|
50
34
|
font-size: var(--fs-fine);
|
|
51
35
|
font-weight: 600;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackoverflow/stacks",
|
|
3
3
|
"description": "Stack Overflow’s CSS and Design Pattern Library. Stacks is an atomic CSS library with classes and components for rapidly building Stack Overflow.",
|
|
4
|
-
"version": "3.0.0-beta.
|
|
4
|
+
"version": "3.0.0-beta.6",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
7
|
"lib",
|