@oscarpalmer/oui 0.18.0 → 0.20.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/a11y.css +0 -1
- package/dist/css/badge.css +10 -10
- package/dist/css/button.css +9 -9
- package/dist/css/color.css +99 -99
- package/dist/css/content.css +1 -1
- package/dist/css/flex.css +39 -39
- package/dist/css/form.css +29 -57
- package/dist/css/message.css +6 -6
- package/dist/css/popover.css +22 -0
- package/dist/css/reset.css +11 -10
- package/dist/css/table.css +5 -5
- package/dist/css/tooltip.css +61 -1
- package/dist/js/attributable.d.mts +4 -0
- package/dist/js/{attributable.js → attributable.mjs} +8 -1
- package/dist/js/floatable.d.mts +26 -0
- package/dist/js/{floatable.js → floatable.mjs} +73 -50
- package/dist/js/focus-trap/embedded.d.mts +26 -0
- package/dist/js/focus-trap/{embedded.js → embedded.mjs} +10 -8
- package/dist/js/focus-trap/standalone.d.mts +1 -0
- package/dist/js/focus-trap/{standalone.js → standalone.mjs} +5 -2
- package/dist/js/index.d.mts +4 -0
- package/dist/js/index.mjs +5 -0
- package/dist/js/popover.d.mts +20 -0
- package/dist/js/{popover.js → popover.mjs} +11 -9
- package/dist/js/splitter.d.mts +25 -0
- package/dist/js/{splitter.js → splitter.mjs} +60 -58
- package/dist/js/tooltip.d.mts +4 -0
- package/dist/js/{tooltip.js → tooltip.mjs} +21 -19
- package/package.json +65 -70
- package/src/css/a11y.scss +1 -1
- package/src/css/badge.scss +23 -19
- package/src/css/button.scss +9 -9
- package/src/css/color.scss +99 -99
- package/src/css/content.scss +6 -8
- package/src/css/flex.scss +21 -20
- package/src/css/form.scss +37 -60
- package/src/css/message.scss +8 -12
- package/src/css/mixins.scss +41 -13
- package/src/css/popover.scss +7 -2
- package/src/css/reset.scss +18 -18
- package/src/css/splitter.scss +15 -13
- package/src/css/table.scss +12 -12
- package/src/css/tooltip.scss +79 -4
- package/src/js/attributable.ts +14 -11
- package/src/js/floatable.ts +134 -74
- package/src/js/focus-trap/embedded.ts +7 -31
- package/src/js/popover.ts +3 -3
- package/src/js/splitter.ts +10 -43
- package/src/js/tooltip.ts +8 -20
- package/dist/css/value.css +0 -1
- package/dist/js/attributable.full.js +0 -48
- package/dist/js/floatable.full.js +0 -413
- package/dist/js/focus-trap/embedded.full.js +0 -351
- package/dist/js/focus-trap/standalone.full.js +0 -402
- package/dist/js/index.js +0 -5
- package/dist/js/oui.full.js +0 -1596
- package/dist/js/popover.full.js +0 -822
- package/dist/js/splitter.full.js +0 -605
- package/dist/js/tooltip.full.js +0 -679
- package/types/attributable.d.ts +0 -1
- package/types/floatable.d.ts +0 -24
- package/types/focus-trap/embedded.d.ts +0 -24
- package/types/focus-trap/standalone.d.ts +0 -1
- package/types/index.d.ts +0 -4
- package/types/popover.d.ts +0 -17
- package/types/splitter.d.ts +0 -23
- package/types/tooltip.d.ts +0 -2
package/dist/css/a11y.css
CHANGED
package/dist/css/badge.css
CHANGED
|
@@ -22,48 +22,48 @@
|
|
|
22
22
|
border-radius: 0.25em;
|
|
23
23
|
padding: 0.5em 0.75em;
|
|
24
24
|
}
|
|
25
|
-
:where(.oui-pill
|
|
25
|
+
:where(.oui-pill--small, .oui-tag--small) {
|
|
26
26
|
font-size: 0.875em;
|
|
27
27
|
}
|
|
28
|
-
:where(.oui-pill
|
|
28
|
+
:where(.oui-pill--tiny, .oui-tag--tiny) {
|
|
29
29
|
color: color-mix(in oklab, var(--oui-foreground, var(--oui-gray-8)), transparent 12.5%);
|
|
30
30
|
font-size: 0.75em;
|
|
31
31
|
}
|
|
32
|
-
:where(.oui-pill
|
|
32
|
+
:where(.oui-pill--tiny) {
|
|
33
33
|
padding: 0.25em 0.75em;
|
|
34
34
|
}
|
|
35
|
-
:where(.oui-tag
|
|
35
|
+
:where(.oui-tag--tiny) {
|
|
36
36
|
padding: 0.25em 0.5em;
|
|
37
37
|
}
|
|
38
38
|
.oui {
|
|
39
39
|
/* Colors*/
|
|
40
40
|
}
|
|
41
|
-
:where(.oui-pill
|
|
41
|
+
:where(.oui-pill--blue, .oui-tag--blue) {
|
|
42
42
|
--oui-background: var(--oui-blue-0);
|
|
43
43
|
--oui-foreground: var(--oui-blue-8);
|
|
44
44
|
--oui-shadow: var(--oui-blue-6);
|
|
45
45
|
}
|
|
46
|
-
:where(.oui-pill
|
|
46
|
+
:where(.oui-pill--green, .oui-tag--green) {
|
|
47
47
|
--oui-background: var(--oui-green-0);
|
|
48
48
|
--oui-foreground: var(--oui-green-8);
|
|
49
49
|
--oui-shadow: var(--oui-green-6);
|
|
50
50
|
}
|
|
51
|
-
:where(.oui-pill
|
|
51
|
+
:where(.oui-pill--orange, .oui-tag--orange) {
|
|
52
52
|
--oui-background: var(--oui-orange-0);
|
|
53
53
|
--oui-foreground: var(--oui-orange-8);
|
|
54
54
|
--oui-shadow: var(--oui-orange-6);
|
|
55
55
|
}
|
|
56
|
-
:where(.oui-pill
|
|
56
|
+
:where(.oui-pill--purple, .oui-tag--purple) {
|
|
57
57
|
--oui-background: var(--oui-purple-0);
|
|
58
58
|
--oui-foreground: var(--oui-purple-8);
|
|
59
59
|
--oui-shadow: var(--oui-purple-6);
|
|
60
60
|
}
|
|
61
|
-
:where(.oui-pill
|
|
61
|
+
:where(.oui-pill--red, .oui-tag--red) {
|
|
62
62
|
--oui-background: var(--oui-red-0);
|
|
63
63
|
--oui-foreground: var(--oui-red-8);
|
|
64
64
|
--oui-shadow: var(--oui-red-6);
|
|
65
65
|
}
|
|
66
|
-
:where(.oui-pill
|
|
66
|
+
:where(.oui-pill--yellow, .oui-tag--yellow) {
|
|
67
67
|
--oui-background: var(--oui-yellow-0);
|
|
68
68
|
--oui-foreground: var(--oui-yellow-8);
|
|
69
69
|
--oui-shadow: var(--oui-yellow-6);
|
package/dist/css/button.css
CHANGED
|
@@ -25,46 +25,46 @@
|
|
|
25
25
|
line-height: 1.25;
|
|
26
26
|
transition: 0.125s ease-in-out;
|
|
27
27
|
}
|
|
28
|
-
:where(.oui-button
|
|
28
|
+
:where(.oui-button--blue) {
|
|
29
29
|
--oui-background-value: var(--oui-blue-2);
|
|
30
30
|
--oui-foreground-value: var(--oui-blue-8);
|
|
31
31
|
--oui-outline-value: var(--oui-blue-6);
|
|
32
32
|
}
|
|
33
|
-
:where(.oui-button
|
|
33
|
+
:where(.oui-button--green) {
|
|
34
34
|
--oui-background-value: var(--oui-green-2);
|
|
35
35
|
--oui-foreground-value: var(--oui-green-8);
|
|
36
36
|
--oui-outline-value: var(--oui-green-6);
|
|
37
37
|
}
|
|
38
|
-
:where(.oui-button
|
|
38
|
+
:where(.oui-button--orange) {
|
|
39
39
|
--oui-background-value: var(--oui-orange-2);
|
|
40
40
|
--oui-foreground-value: var(--oui-orange-8);
|
|
41
41
|
--oui-outline-value: var(--oui-orange-6);
|
|
42
42
|
}
|
|
43
|
-
:where(.oui-button
|
|
43
|
+
:where(.oui-button--purple) {
|
|
44
44
|
--oui-background-value: var(--oui-purple-2);
|
|
45
45
|
--oui-foreground-value: var(--oui-purple-8);
|
|
46
46
|
--oui-outline-value: var(--oui-purple-6);
|
|
47
47
|
}
|
|
48
|
-
:where(.oui-button
|
|
48
|
+
:where(.oui-button--red) {
|
|
49
49
|
--oui-background-value: var(--oui-red-2);
|
|
50
50
|
--oui-foreground-value: var(--oui-red-8);
|
|
51
51
|
--oui-outline-value: var(--oui-red-6);
|
|
52
52
|
}
|
|
53
|
-
:where(.oui-button
|
|
53
|
+
:where(.oui-button--yellow) {
|
|
54
54
|
--oui-background-value: var(--oui-yellow-2);
|
|
55
55
|
--oui-foreground-value: var(--oui-yellow-8);
|
|
56
56
|
--oui-outline-value: var(--oui-yellow-6);
|
|
57
57
|
}
|
|
58
|
-
:where(.oui-button
|
|
58
|
+
:where(.oui-button--rounded) {
|
|
59
59
|
padding: 0.5em 1em;
|
|
60
60
|
flex-wrap: nowrap;
|
|
61
61
|
border-radius: 5em;
|
|
62
62
|
white-space: nowrap;
|
|
63
63
|
}
|
|
64
|
-
:where(.oui-button
|
|
64
|
+
:where(.oui-button--small) {
|
|
65
65
|
font-size: 0.875em;
|
|
66
66
|
}
|
|
67
|
-
:where(.oui-button
|
|
67
|
+
:where(.oui-button--tiny) {
|
|
68
68
|
--oui-foreground-percentage: 12.5%;
|
|
69
69
|
font-size: 0.75em;
|
|
70
70
|
}
|
package/dist/css/color.css
CHANGED
|
@@ -2,105 +2,105 @@
|
|
|
2
2
|
|
|
3
3
|
:root {
|
|
4
4
|
--oui-absolute: light-dark(white, black);
|
|
5
|
-
--oui-blue-0: light-dark(oklch(
|
|
6
|
-
--oui-blue-1: light-dark(oklch(
|
|
7
|
-
--oui-blue-2: light-dark(oklch(
|
|
8
|
-
--oui-blue-3: light-dark(oklch(
|
|
9
|
-
--oui-blue-4: light-dark(oklch(
|
|
10
|
-
--oui-blue-5: light-dark(oklch(
|
|
11
|
-
--oui-blue-6: light-dark(oklch(
|
|
12
|
-
--oui-blue-7: light-dark(oklch(
|
|
13
|
-
--oui-blue-8: light-dark(oklch(
|
|
14
|
-
--oui-blue-9: light-dark(oklch(
|
|
15
|
-
--oui-blue-10: light-dark(oklch(
|
|
16
|
-
--oui-green-0: light-dark(oklch(
|
|
17
|
-
--oui-green-1: light-dark(oklch(
|
|
18
|
-
--oui-green-2: light-dark(oklch(
|
|
19
|
-
--oui-green-3: light-dark(oklch(
|
|
20
|
-
--oui-green-4: light-dark(oklch(
|
|
21
|
-
--oui-green-5: light-dark(oklch(
|
|
22
|
-
--oui-green-6: light-dark(oklch(
|
|
23
|
-
--oui-green-7: light-dark(oklch(
|
|
24
|
-
--oui-green-8: light-dark(oklch(
|
|
25
|
-
--oui-green-9: light-dark(oklch(
|
|
26
|
-
--oui-green-10: light-dark(oklch(
|
|
27
|
-
--oui-orange-0: light-dark(oklch(
|
|
28
|
-
--oui-orange-1: light-dark(oklch(
|
|
29
|
-
--oui-orange-2: light-dark(oklch(
|
|
30
|
-
--oui-orange-3: light-dark(oklch(
|
|
31
|
-
--oui-orange-4: light-dark(oklch(
|
|
32
|
-
--oui-orange-5: light-dark(oklch(
|
|
33
|
-
--oui-orange-6: light-dark(oklch(
|
|
34
|
-
--oui-orange-7: light-dark(oklch(
|
|
35
|
-
--oui-orange-8: light-dark(oklch(
|
|
36
|
-
--oui-orange-9: light-dark(oklch(
|
|
37
|
-
--oui-orange-10: light-dark(oklch(
|
|
38
|
-
--oui-purple-0: light-dark(oklch(
|
|
39
|
-
--oui-purple-1: light-dark(oklch(
|
|
40
|
-
--oui-purple-2: light-dark(oklch(
|
|
41
|
-
--oui-purple-3: light-dark(oklch(
|
|
42
|
-
--oui-purple-4: light-dark(oklch(
|
|
43
|
-
--oui-purple-5: light-dark(oklch(
|
|
44
|
-
--oui-purple-6: light-dark(oklch(
|
|
45
|
-
--oui-purple-7: light-dark(oklch(
|
|
46
|
-
--oui-purple-8: light-dark(oklch(
|
|
47
|
-
--oui-purple-9: light-dark(oklch(
|
|
48
|
-
--oui-purple-10: light-dark(oklch(
|
|
49
|
-
--oui-red-0: light-dark(oklch(
|
|
50
|
-
--oui-red-1: light-dark(oklch(
|
|
51
|
-
--oui-red-2: light-dark(oklch(
|
|
52
|
-
--oui-red-3: light-dark(oklch(
|
|
53
|
-
--oui-red-4: light-dark(oklch(
|
|
54
|
-
--oui-red-5: light-dark(oklch(
|
|
55
|
-
--oui-red-6: light-dark(oklch(
|
|
56
|
-
--oui-red-7: light-dark(oklch(
|
|
57
|
-
--oui-red-8: light-dark(oklch(
|
|
58
|
-
--oui-red-9: light-dark(oklch(
|
|
59
|
-
--oui-red-10: light-dark(oklch(
|
|
60
|
-
--oui-yellow-0: light-dark(oklch(
|
|
61
|
-
--oui-yellow-1: light-dark(oklch(
|
|
62
|
-
--oui-yellow-2: light-dark(oklch(
|
|
63
|
-
--oui-yellow-3: light-dark(oklch(
|
|
64
|
-
--oui-yellow-4: light-dark(oklch(
|
|
65
|
-
--oui-yellow-5: light-dark(oklch(
|
|
66
|
-
--oui-yellow-6: light-dark(oklch(
|
|
67
|
-
--oui-yellow-7: light-dark(oklch(
|
|
68
|
-
--oui-yellow-8: light-dark(oklch(
|
|
69
|
-
--oui-yellow-9: light-dark(oklch(
|
|
70
|
-
--oui-yellow-10: light-dark(oklch(
|
|
71
|
-
--oui-gray-0: light-dark(oklch(
|
|
72
|
-
--oui-gray-1: light-dark(oklch(
|
|
73
|
-
--oui-gray-2: light-dark(oklch(
|
|
74
|
-
--oui-gray-3: light-dark(oklch(
|
|
75
|
-
--oui-gray-4: light-dark(oklch(
|
|
76
|
-
--oui-gray-5: light-dark(oklch(
|
|
77
|
-
--oui-gray-6: light-dark(oklch(
|
|
78
|
-
--oui-gray-7: light-dark(oklch(
|
|
79
|
-
--oui-gray-8: light-dark(oklch(
|
|
80
|
-
--oui-gray-9: light-dark(oklch(
|
|
81
|
-
--oui-gray-10: light-dark(oklch(
|
|
82
|
-
--oui-slate-0: light-dark(oklch(
|
|
83
|
-
--oui-slate-1: light-dark(oklch(
|
|
84
|
-
--oui-slate-2: light-dark(oklch(
|
|
85
|
-
--oui-slate-3: light-dark(oklch(
|
|
86
|
-
--oui-slate-4: light-dark(oklch(
|
|
87
|
-
--oui-slate-5: light-dark(oklch(
|
|
88
|
-
--oui-slate-6: light-dark(oklch(
|
|
89
|
-
--oui-slate-7: light-dark(oklch(
|
|
90
|
-
--oui-slate-8: light-dark(oklch(
|
|
91
|
-
--oui-slate-9: light-dark(oklch(
|
|
92
|
-
--oui-slate-10: light-dark(oklch(
|
|
93
|
-
--oui-stone-0: light-dark(oklch(
|
|
94
|
-
--oui-stone-1: light-dark(oklch(
|
|
95
|
-
--oui-stone-2: light-dark(oklch(
|
|
96
|
-
--oui-stone-3: light-dark(oklch(
|
|
97
|
-
--oui-stone-4: light-dark(oklch(
|
|
98
|
-
--oui-stone-5: light-dark(oklch(
|
|
99
|
-
--oui-stone-6: light-dark(oklch(
|
|
100
|
-
--oui-stone-7: light-dark(oklch(
|
|
101
|
-
--oui-stone-8: light-dark(oklch(
|
|
102
|
-
--oui-stone-9: light-dark(oklch(
|
|
103
|
-
--oui-stone-10: light-dark(oklch(
|
|
5
|
+
--oui-blue-0: light-dark(oklch(99% 0.01 260deg), oklch(20% 0.08 250deg));
|
|
6
|
+
--oui-blue-1: light-dark(oklch(98% 0.02 259deg), oklch(25% 0.09 251deg));
|
|
7
|
+
--oui-blue-2: light-dark(oklch(95% 0.03 258deg), oklch(32% 0.1 252deg));
|
|
8
|
+
--oui-blue-3: light-dark(oklch(90% 0.04 257deg), oklch(40% 0.09 253deg));
|
|
9
|
+
--oui-blue-4: light-dark(oklch(80% 0.06 256deg), oklch(50% 0.08 254deg));
|
|
10
|
+
--oui-blue-5: light-dark(oklch(70% 0.08 255deg), oklch(60% 0.07 255deg));
|
|
11
|
+
--oui-blue-6: light-dark(oklch(60% 0.1 254deg), oklch(70% 0.06 256deg));
|
|
12
|
+
--oui-blue-7: light-dark(oklch(50% 0.12 253deg), oklch(80% 0.05 257deg));
|
|
13
|
+
--oui-blue-8: light-dark(oklch(42% 0.11 252deg), oklch(85% 0.04 258deg));
|
|
14
|
+
--oui-blue-9: light-dark(oklch(35% 0.1 251deg), oklch(90% 0.03 259deg));
|
|
15
|
+
--oui-blue-10: light-dark(oklch(30% 0.09 250deg), oklch(95% 0.02 260deg));
|
|
16
|
+
--oui-green-0: light-dark(oklch(99% 0.01 150deg), oklch(20% 0.08 140deg));
|
|
17
|
+
--oui-green-1: light-dark(oklch(98% 0.02 149deg), oklch(25% 0.09 141deg));
|
|
18
|
+
--oui-green-2: light-dark(oklch(95% 0.03 148deg), oklch(32% 0.1 142deg));
|
|
19
|
+
--oui-green-3: light-dark(oklch(90% 0.04 147deg), oklch(40% 0.09 143deg));
|
|
20
|
+
--oui-green-4: light-dark(oklch(80% 0.06 146deg), oklch(50% 0.08 144deg));
|
|
21
|
+
--oui-green-5: light-dark(oklch(70% 0.08 145deg), oklch(60% 0.07 145deg));
|
|
22
|
+
--oui-green-6: light-dark(oklch(60% 0.1 144deg), oklch(70% 0.06 146deg));
|
|
23
|
+
--oui-green-7: light-dark(oklch(50% 0.12 143deg), oklch(80% 0.05 147deg));
|
|
24
|
+
--oui-green-8: light-dark(oklch(42% 0.11 142deg), oklch(85% 0.04 148deg));
|
|
25
|
+
--oui-green-9: light-dark(oklch(35% 0.1 141deg), oklch(90% 0.03 149deg));
|
|
26
|
+
--oui-green-10: light-dark(oklch(30% 0.09 140deg), oklch(95% 0.02 150deg));
|
|
27
|
+
--oui-orange-0: light-dark(oklch(99% 0.02 60deg), oklch(20% 0.08 50deg));
|
|
28
|
+
--oui-orange-1: light-dark(oklch(98.5% 0.035 59deg), oklch(25% 0.09 51deg));
|
|
29
|
+
--oui-orange-2: light-dark(oklch(97% 0.05 58deg), oklch(32% 0.1 52deg));
|
|
30
|
+
--oui-orange-3: light-dark(oklch(93% 0.07 57deg), oklch(40% 0.09 53deg));
|
|
31
|
+
--oui-orange-4: light-dark(oklch(87% 0.1 56deg), oklch(50% 0.08 54deg));
|
|
32
|
+
--oui-orange-5: light-dark(oklch(76% 0.11 55deg), oklch(60% 0.07 55deg));
|
|
33
|
+
--oui-orange-6: light-dark(oklch(65% 0.12 54deg), oklch(70% 0.06 56deg));
|
|
34
|
+
--oui-orange-7: light-dark(oklch(55% 0.14 53deg), oklch(80% 0.05 57deg));
|
|
35
|
+
--oui-orange-8: light-dark(oklch(45% 0.12 52deg), oklch(85% 0.04 58deg));
|
|
36
|
+
--oui-orange-9: light-dark(oklch(37.5% 0.11 51deg), oklch(90% 0.03 59deg));
|
|
37
|
+
--oui-orange-10: light-dark(oklch(30% 0.09 50deg), oklch(95% 0.02 60deg));
|
|
38
|
+
--oui-purple-0: light-dark(oklch(99% 0.02 300deg), oklch(20% 0.08 290deg));
|
|
39
|
+
--oui-purple-1: light-dark(oklch(98% 0.035 299deg), oklch(25% 0.09 291deg));
|
|
40
|
+
--oui-purple-2: light-dark(oklch(95% 0.05 298deg), oklch(32% 0.1 292deg));
|
|
41
|
+
--oui-purple-3: light-dark(oklch(90% 0.07 297deg), oklch(40% 0.09 293deg));
|
|
42
|
+
--oui-purple-4: light-dark(oklch(80% 0.1 296deg), oklch(50% 0.08 294deg));
|
|
43
|
+
--oui-purple-5: light-dark(oklch(70% 0.11 295deg), oklch(60% 0.07 295deg));
|
|
44
|
+
--oui-purple-6: light-dark(oklch(60% 0.12 294deg), oklch(70% 0.06 296deg));
|
|
45
|
+
--oui-purple-7: light-dark(oklch(50% 0.14 293deg), oklch(80% 0.05 297deg));
|
|
46
|
+
--oui-purple-8: light-dark(oklch(42% 0.12 292deg), oklch(85% 0.04 298deg));
|
|
47
|
+
--oui-purple-9: light-dark(oklch(35% 0.11 291deg), oklch(90% 0.03 299deg));
|
|
48
|
+
--oui-purple-10: light-dark(oklch(30% 0.09 290deg), oklch(95% 0.02 300deg));
|
|
49
|
+
--oui-red-0: light-dark(oklch(99% 0.024 25deg), oklch(20% 0.08 25deg));
|
|
50
|
+
--oui-red-1: light-dark(oklch(98.5% 0.032 24deg), oklch(25% 0.09 24deg));
|
|
51
|
+
--oui-red-2: light-dark(oklch(97% 0.05 23deg), oklch(32% 0.1 23deg));
|
|
52
|
+
--oui-red-3: light-dark(oklch(93% 0.07 22deg), oklch(40% 0.09 22deg));
|
|
53
|
+
--oui-red-4: light-dark(oklch(87% 0.1 21deg), oklch(50% 0.08 21deg));
|
|
54
|
+
--oui-red-5: light-dark(oklch(76% 0.11 20deg), oklch(60% 0.07 20deg));
|
|
55
|
+
--oui-red-6: light-dark(oklch(65% 0.12 19deg), oklch(70% 0.06 19deg));
|
|
56
|
+
--oui-red-7: light-dark(oklch(55% 0.14 18deg), oklch(80% 0.05 18deg));
|
|
57
|
+
--oui-red-8: light-dark(oklch(45% 0.12 17deg), oklch(85% 0.04 17deg));
|
|
58
|
+
--oui-red-9: light-dark(oklch(37.5% 0.11 16deg), oklch(90% 0.03 16deg));
|
|
59
|
+
--oui-red-10: light-dark(oklch(30% 0.09 15deg), oklch(95% 0.02 15deg));
|
|
60
|
+
--oui-yellow-0: light-dark(oklch(99% 0.02 100deg), oklch(20% 0.08 90deg));
|
|
61
|
+
--oui-yellow-1: light-dark(oklch(98.5% 0.035 99deg), oklch(25% 0.09 91deg));
|
|
62
|
+
--oui-yellow-2: light-dark(oklch(97% 0.05 98deg), oklch(32% 0.1 92deg));
|
|
63
|
+
--oui-yellow-3: light-dark(oklch(93% 0.07 97deg), oklch(40% 0.09 93deg));
|
|
64
|
+
--oui-yellow-4: light-dark(oklch(87% 0.1 96deg), oklch(50% 0.08 94deg));
|
|
65
|
+
--oui-yellow-5: light-dark(oklch(78% 0.11 95deg), oklch(60% 0.07 95deg));
|
|
66
|
+
--oui-yellow-6: light-dark(oklch(65% 0.12 94deg), oklch(70% 0.06 96deg));
|
|
67
|
+
--oui-yellow-7: light-dark(oklch(55% 0.14 93deg), oklch(80% 0.05 97deg));
|
|
68
|
+
--oui-yellow-8: light-dark(oklch(45% 0.12 92deg), oklch(85% 0.04 98deg));
|
|
69
|
+
--oui-yellow-9: light-dark(oklch(37.5% 0.11 91deg), oklch(90% 0.03 99deg));
|
|
70
|
+
--oui-yellow-10: light-dark(oklch(30% 0.09 90deg), oklch(95% 0.02 100deg));
|
|
71
|
+
--oui-gray-0: light-dark(oklch(98% 0 0deg), oklch(22% 0 0deg));
|
|
72
|
+
--oui-gray-1: light-dark(oklch(98% 0 0deg), oklch(26% 0 0deg));
|
|
73
|
+
--oui-gray-2: light-dark(oklch(95% 0 0deg), oklch(32% 0 0deg));
|
|
74
|
+
--oui-gray-3: light-dark(oklch(90% 0 0deg), oklch(40% 0 0deg));
|
|
75
|
+
--oui-gray-4: light-dark(oklch(80% 0 0deg), oklch(50% 0 0deg));
|
|
76
|
+
--oui-gray-5: light-dark(oklch(70% 0 0deg), oklch(60% 0 0deg));
|
|
77
|
+
--oui-gray-6: light-dark(oklch(60% 0 0deg), oklch(70% 0 0deg));
|
|
78
|
+
--oui-gray-7: light-dark(oklch(50% 0 0deg), oklch(80% 0 0deg));
|
|
79
|
+
--oui-gray-8: light-dark(oklch(42% 0 0deg), oklch(85% 0 0deg));
|
|
80
|
+
--oui-gray-9: light-dark(oklch(35% 0 0deg), oklch(90% 0 0deg));
|
|
81
|
+
--oui-gray-10: light-dark(oklch(30% 0 0deg), oklch(95% 0 0deg));
|
|
82
|
+
--oui-slate-0: light-dark(oklch(99% 0.0025 255deg), oklch(22% 0.005 255deg));
|
|
83
|
+
--oui-slate-1: light-dark(oklch(98% 0.005 255deg), oklch(26% 0.0075 255deg));
|
|
84
|
+
--oui-slate-2: light-dark(oklch(95% 0.0075 255deg), oklch(32% 0.01 255deg));
|
|
85
|
+
--oui-slate-3: light-dark(oklch(90% 0.01 255deg), oklch(40% 0.0125 255deg));
|
|
86
|
+
--oui-slate-4: light-dark(oklch(80% 0.015 255deg), oklch(50% 0.015 255deg));
|
|
87
|
+
--oui-slate-5: light-dark(oklch(70% 0.02 255deg), oklch(60% 0.02 255deg));
|
|
88
|
+
--oui-slate-6: light-dark(oklch(60% 0.015 255deg), oklch(70% 0.015 255deg));
|
|
89
|
+
--oui-slate-7: light-dark(oklch(50% 0.0125 255deg), oklch(80% 0.0125 255deg));
|
|
90
|
+
--oui-slate-8: light-dark(oklch(42% 0.01 255deg), oklch(85% 0.01 255deg));
|
|
91
|
+
--oui-slate-9: light-dark(oklch(35% 0.0075 255deg), oklch(90% 0.0075 255deg));
|
|
92
|
+
--oui-slate-10: light-dark(oklch(30% 0.005 255deg), oklch(95% 0.005 255deg));
|
|
93
|
+
--oui-stone-0: light-dark(oklch(99% 0.0033 95deg), oklch(22% 0.005 95deg));
|
|
94
|
+
--oui-stone-1: light-dark(oklch(98% 0.0067 95deg), oklch(26% 0.0075 95deg));
|
|
95
|
+
--oui-stone-2: light-dark(oklch(95% 0.01 95deg), oklch(32% 0.01 95deg));
|
|
96
|
+
--oui-stone-3: light-dark(oklch(90% 0.0125 95deg), oklch(40% 0.0125 95deg));
|
|
97
|
+
--oui-stone-4: light-dark(oklch(80% 0.015 95deg), oklch(50% 0.015 95deg));
|
|
98
|
+
--oui-stone-5: light-dark(oklch(70% 0.02 95deg), oklch(60% 0.02 95deg));
|
|
99
|
+
--oui-stone-6: light-dark(oklch(60% 0.015 95deg), oklch(70% 0.015 95deg));
|
|
100
|
+
--oui-stone-7: light-dark(oklch(50% 0.0125 95deg), oklch(80% 0.0125 95deg));
|
|
101
|
+
--oui-stone-8: light-dark(oklch(42% 0.01 95deg), oklch(85% 0.01 95deg));
|
|
102
|
+
--oui-stone-9: light-dark(oklch(35% 0.0075 95deg), oklch(90% 0.0075 95deg));
|
|
103
|
+
--oui-stone-10: light-dark(oklch(30% 0.005 95deg), oklch(95% 0.005 95deg));
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
|
package/dist/css/content.css
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
width: 1em;
|
|
23
23
|
height: 1em;
|
|
24
24
|
margin: 0 0.5em 0 0;
|
|
25
|
-
background-color:
|
|
25
|
+
background-color: currentcolor;
|
|
26
26
|
-webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='4'%3E%3Cpath d='M4 0h6L7 4'/%3E%3C/svg%3E");
|
|
27
27
|
mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='4'%3E%3Cpath d='M4 0h6L7 4'/%3E%3C/svg%3E");
|
|
28
28
|
-webkit-mask-size: contain;
|
package/dist/css/flex.css
CHANGED
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
gap: var(--flow-gap, 1rem);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
:where(.flow-large) {
|
|
16
|
+
:where(.flow-large, .flow--large) {
|
|
17
17
|
gap: var(--flow-gap-large, calc(2 * var(--flow-gap, 1rem)));
|
|
18
18
|
}
|
|
19
|
-
:where(.flow-nowrap) {
|
|
19
|
+
:where(.flow-nowrap, .flow--nowrap) {
|
|
20
20
|
flex-wrap: nowrap;
|
|
21
21
|
}
|
|
22
|
-
:where(.flow-small) {
|
|
22
|
+
:where(.flow-small, .flow--small) {
|
|
23
23
|
gap: var(--flow-gap-small, calc(0.5 * var(--flow-gap, 1rem)));
|
|
24
24
|
}
|
|
25
|
-
:where(.flow-text) {
|
|
25
|
+
:where(.flow-text, .flow--text) {
|
|
26
26
|
gap: var(--flow-gap-text, 1em);
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -31,122 +31,122 @@
|
|
|
31
31
|
gap: var(--stack-gap, 1rem);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
:where(.stack-large) {
|
|
34
|
+
:where(.stack-large, .stack--large) {
|
|
35
35
|
gap: var(--stack-gap-large, calc(2 * var(--stack-gap, 1rem)));
|
|
36
36
|
}
|
|
37
|
-
:where(.stack-small) {
|
|
37
|
+
:where(.stack-small, .stack--small) {
|
|
38
38
|
gap: var(--stack-gap-small, calc(0.5 * var(--stack-gap, 1rem)));
|
|
39
39
|
}
|
|
40
|
-
:where(.stack-text) {
|
|
40
|
+
:where(.stack-text, .stack--text) {
|
|
41
41
|
gap: var(--stack-gap-text, 1em);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
:where(.flex-reverse[class^=flow i], .flex-reverse[class*=" flow" i]) {
|
|
44
|
+
:where(.flex-reverse[class^=flow i], .flex-reverse[class*=" flow" i], .flex--reverse[class^=flow i], .flex--reverse[class*=" flow" i]) {
|
|
45
45
|
flex-direction: row-reverse;
|
|
46
46
|
}
|
|
47
|
-
:where(.flex-reverse[class^=stack i], .flex-reverse[class*=" stack" i]) {
|
|
47
|
+
:where(.flex-reverse[class^=stack i], .flex-reverse[class*=" stack" i], .flex--reverse[class^=stack i], .flex--reverse[class*=" stack" i]) {
|
|
48
48
|
flex-direction: column-reverse;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
:where(.flex-ac-c) {
|
|
51
|
+
:where(.flex-ac-c, .flex-ac--c) {
|
|
52
52
|
align-content: center;
|
|
53
53
|
}
|
|
54
|
-
:where(.flex-ac-fe) {
|
|
54
|
+
:where(.flex-ac-fe, .flex-ac--fe) {
|
|
55
55
|
align-content: flex-end;
|
|
56
56
|
}
|
|
57
|
-
:where(.flex-ac-fs) {
|
|
57
|
+
:where(.flex-ac-fs, .flex-ac--fs) {
|
|
58
58
|
align-content: flex-start;
|
|
59
59
|
}
|
|
60
|
-
:where(.flex-ac-s) {
|
|
60
|
+
:where(.flex-ac-s, .flex-ac--s) {
|
|
61
61
|
align-content: stretch;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
:where(.flex-ai-c) {
|
|
64
|
+
:where(.flex-ai-c, .flex-ai--c) {
|
|
65
65
|
align-items: center;
|
|
66
66
|
}
|
|
67
|
-
:where(.flex-ai-fe) {
|
|
67
|
+
:where(.flex-ai-fe, .flex-ai--fe) {
|
|
68
68
|
align-items: flex-end;
|
|
69
69
|
}
|
|
70
|
-
:where(.flex-ai-fs) {
|
|
70
|
+
:where(.flex-ai-fs, .flex-ai--fs) {
|
|
71
71
|
align-items: flex-start;
|
|
72
72
|
}
|
|
73
|
-
:where(.flex-ai-s) {
|
|
73
|
+
:where(.flex-ai-s, .flex-ai--s) {
|
|
74
74
|
align-items: stretch;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
:where(.flex-as-c) {
|
|
77
|
+
:where(.flex-as-c, .flex-as--c) {
|
|
78
78
|
align-self: center;
|
|
79
79
|
}
|
|
80
|
-
:where(.flex-as-fe) {
|
|
80
|
+
:where(.flex-as-fe, .flex-as--fe) {
|
|
81
81
|
align-self: flex-end;
|
|
82
82
|
}
|
|
83
|
-
:where(.flex-as-fs) {
|
|
83
|
+
:where(.flex-as-fs, .flex-as--fs) {
|
|
84
84
|
align-self: flex-start;
|
|
85
85
|
}
|
|
86
|
-
:where(.flex-as-s) {
|
|
86
|
+
:where(.flex-as-s, .flex-as--s) {
|
|
87
87
|
align-self: stretch;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
:where(.flex-ac-sa) {
|
|
90
|
+
:where(.flex-ac-sa, .flex-ac--sa) {
|
|
91
91
|
align-content: space-around;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
:where(.flex-ac-sb) {
|
|
94
|
+
:where(.flex-ac-sb, .flex-ac--sb) {
|
|
95
95
|
align-content: space-between;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
:where(.flex-ac-se) {
|
|
98
|
+
:where(.flex-ac-se, .flex-ac--se) {
|
|
99
99
|
align-content: space-evenly;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
:where(.flex-jc-c) {
|
|
102
|
+
:where(.flex-jc-c, .flex-jc--c) {
|
|
103
103
|
justify-content: center;
|
|
104
104
|
}
|
|
105
|
-
:where(.flex-jc-fe) {
|
|
105
|
+
:where(.flex-jc-fe, .flex-jc--fe) {
|
|
106
106
|
justify-content: flex-end;
|
|
107
107
|
}
|
|
108
|
-
:where(.flex-jc-fs) {
|
|
108
|
+
:where(.flex-jc-fs, .flex-jc--fs) {
|
|
109
109
|
justify-content: flex-start;
|
|
110
110
|
}
|
|
111
|
-
:where(.flex-jc-s) {
|
|
111
|
+
:where(.flex-jc-s, .flex-jc--s) {
|
|
112
112
|
justify-content: stretch;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
:where(.flex-ji-c) {
|
|
115
|
+
:where(.flex-ji-c, .flex-ji--c) {
|
|
116
116
|
justify-items: center;
|
|
117
117
|
}
|
|
118
|
-
:where(.flex-ji-fe) {
|
|
118
|
+
:where(.flex-ji-fe, .flex-ji--fe) {
|
|
119
119
|
justify-items: flex-end;
|
|
120
120
|
}
|
|
121
|
-
:where(.flex-ji-fs) {
|
|
121
|
+
:where(.flex-ji-fs, .flex-ji--fs) {
|
|
122
122
|
justify-items: flex-start;
|
|
123
123
|
}
|
|
124
|
-
:where(.flex-ji-s) {
|
|
124
|
+
:where(.flex-ji-s, .flex-ji--s) {
|
|
125
125
|
justify-items: stretch;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
:where(.flex-js-c) {
|
|
128
|
+
:where(.flex-js-c, .flex-js--c) {
|
|
129
129
|
justify-self: center;
|
|
130
130
|
}
|
|
131
|
-
:where(.flex-js-fe) {
|
|
131
|
+
:where(.flex-js-fe, .flex-js--fe) {
|
|
132
132
|
justify-self: flex-end;
|
|
133
133
|
}
|
|
134
|
-
:where(.flex-js-fs) {
|
|
134
|
+
:where(.flex-js-fs, .flex-js--fs) {
|
|
135
135
|
justify-self: flex-start;
|
|
136
136
|
}
|
|
137
|
-
:where(.flex-js-s) {
|
|
137
|
+
:where(.flex-js-s, .flex-js--s) {
|
|
138
138
|
justify-self: stretch;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
:where(.flex-jc-sa) {
|
|
141
|
+
:where(.flex-jc-sa, .flex-jc--sa) {
|
|
142
142
|
justify-content: space-around;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
:where(.flex-jc-sb) {
|
|
145
|
+
:where(.flex-jc-sb, .flex-jc--sb) {
|
|
146
146
|
justify-content: space-between;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
:where(.flex-jc-se) {
|
|
149
|
+
:where(.flex-jc-se, .flex-jc--se) {
|
|
150
150
|
justify-content: space-evenly;
|
|
151
151
|
}
|
|
152
152
|
|