@marigold/theme-rui 5.2.0 → 5.2.2
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/index.cjs +16 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +16 -16
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +22 -15
- package/dist/theme.css +9 -3
- package/package.json +3 -3
package/dist/styles.css
CHANGED
|
@@ -1973,6 +1973,9 @@
|
|
|
1973
1973
|
[data-theme="rui"] .grid-cols-\[repeat\(auto-fit\,var\(--column\)\)\] {
|
|
1974
1974
|
grid-template-columns: repeat(auto-fit,var(--column));
|
|
1975
1975
|
}
|
|
1976
|
+
[data-theme="rui"] .grid-rows-\[3\.5rem_1fr\] {
|
|
1977
|
+
grid-template-rows: 3.5rem 1fr;
|
|
1978
|
+
}
|
|
1976
1979
|
[data-theme="rui"] .grid-rows-\[auto_1fr_auto\] {
|
|
1977
1980
|
grid-template-rows: auto 1fr auto;
|
|
1978
1981
|
}
|
|
@@ -2644,6 +2647,9 @@
|
|
|
2644
2647
|
[data-theme="rui"] .fill-none {
|
|
2645
2648
|
fill: none;
|
|
2646
2649
|
}
|
|
2650
|
+
[data-theme="rui"] .fill-surface {
|
|
2651
|
+
fill: var(--color-white);
|
|
2652
|
+
}
|
|
2647
2653
|
[data-theme="rui"] .fill-white {
|
|
2648
2654
|
fill: var(--color-white);
|
|
2649
2655
|
}
|
|
@@ -3918,18 +3924,10 @@
|
|
|
3918
3924
|
--tw-shadow: 0px 0.3px 0.8px var(--tw-shadow-color, oklch(0 0 0 / 0.28)), 0px 1.4px 1.3px -2px var(--tw-shadow-color, oklch(0 0 0 / 0.21)), 0px 6.7px 6px -4px var(--tw-shadow-color, oklch(0 0 0 / 0.15));
|
|
3919
3925
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3920
3926
|
}
|
|
3921
|
-
[data-theme="rui"] .shadow-lg {
|
|
3922
|
-
--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
3923
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3924
|
-
}
|
|
3925
3927
|
[data-theme="rui"] .shadow-md {
|
|
3926
3928
|
--tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
3927
3929
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3928
3930
|
}
|
|
3929
|
-
[data-theme="rui"] .shadow-xs {
|
|
3930
|
-
--tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));
|
|
3931
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3932
|
-
}
|
|
3933
3931
|
[data-theme="rui"] .ui-state-focus {
|
|
3934
3932
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
3935
3933
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -4202,12 +4200,18 @@
|
|
|
4202
4200
|
[data-theme="rui"] .\[grid-area\:label\] {
|
|
4203
4201
|
grid-area: label;
|
|
4204
4202
|
}
|
|
4203
|
+
[data-theme="rui"] .\[grid-area\:main\] {
|
|
4204
|
+
grid-area: main;
|
|
4205
|
+
}
|
|
4205
4206
|
[data-theme="rui"] .\[grid-area\:middle\] {
|
|
4206
4207
|
grid-area: middle;
|
|
4207
4208
|
}
|
|
4208
4209
|
[data-theme="rui"] .\[grid-area\:remove\] {
|
|
4209
4210
|
grid-area: remove;
|
|
4210
4211
|
}
|
|
4212
|
+
[data-theme="rui"] .\[grid-area\:sidebar\] {
|
|
4213
|
+
grid-area: sidebar;
|
|
4214
|
+
}
|
|
4211
4215
|
[data-theme="rui"] .\[grid-area\:start\] {
|
|
4212
4216
|
grid-area: start;
|
|
4213
4217
|
}
|
|
@@ -4232,6 +4236,9 @@
|
|
|
4232
4236
|
[data-theme="rui"] .\[grid-template-areas\:\'label_remove\'_\'description_remove\'\] {
|
|
4233
4237
|
grid-template-areas: 'label remove' 'description remove';
|
|
4234
4238
|
}
|
|
4239
|
+
[data-theme="rui"] .\[grid-template-areas\:\'sidebar_header\'_\'sidebar_main\'\] {
|
|
4240
|
+
grid-template-areas: 'sidebar header' 'sidebar main';
|
|
4241
|
+
}
|
|
4235
4242
|
[data-theme="rui"] .\[grid-template-areas\:\'title\'_\'content\'\] {
|
|
4236
4243
|
grid-template-areas: 'title' 'content';
|
|
4237
4244
|
}
|
|
@@ -5900,9 +5907,9 @@
|
|
|
5900
5907
|
color: var(--color-stone-50);
|
|
5901
5908
|
}
|
|
5902
5909
|
}
|
|
5903
|
-
[data-theme="rui"] .aria-selected\:shadow-
|
|
5910
|
+
[data-theme="rui"] .aria-selected\:shadow-elevation-border {
|
|
5904
5911
|
[data-theme="rui"] &[aria-selected="true"] {
|
|
5905
|
-
--tw-shadow: 0 1px 2px
|
|
5912
|
+
--tw-shadow: 0px 0.3px 0.3px var(--tw-shadow-color, oklch(0 0 0 / 0.14)), 0px 1px 1.2px -3px var(--tw-shadow-color, oklch(0 0 0 / 0.12));
|
|
5906
5913
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
5907
5914
|
}
|
|
5908
5915
|
}
|
|
@@ -6680,11 +6687,6 @@
|
|
|
6680
6687
|
color: var(--color-stone-950);
|
|
6681
6688
|
}
|
|
6682
6689
|
}
|
|
6683
|
-
[data-theme="rui"] .selected\:text-white {
|
|
6684
|
-
[data-theme="rui"] &[data-selected] {
|
|
6685
|
-
color: var(--color-white);
|
|
6686
|
-
}
|
|
6687
|
-
}
|
|
6688
6690
|
[data-theme="rui"] .selected\:shadow-none {
|
|
6689
6691
|
[data-theme="rui"] &[data-selected] {
|
|
6690
6692
|
--tw-shadow: 0 0 #0000;
|
|
@@ -6899,6 +6901,11 @@
|
|
|
6899
6901
|
flex-shrink: 0;
|
|
6900
6902
|
}
|
|
6901
6903
|
}
|
|
6904
|
+
[data-theme="rui"] .\[\&_svg\]\:text-muted-foreground {
|
|
6905
|
+
[data-theme="rui"] & svg {
|
|
6906
|
+
color: var(--color-stone-600);
|
|
6907
|
+
}
|
|
6908
|
+
}
|
|
6902
6909
|
[data-theme="rui"] .\[\&_svg\]\:opacity-60 {
|
|
6903
6910
|
[data-theme="rui"] & svg {
|
|
6904
6911
|
opacity: 60%;
|
package/dist/theme.css
CHANGED
|
@@ -140,18 +140,24 @@
|
|
|
140
140
|
/* ELEVATION */
|
|
141
141
|
/* ==================== */
|
|
142
142
|
/* Based on https://www.joshwcomeau.com/shadow-palette/ */
|
|
143
|
+
/*
|
|
144
|
+
Three-tier shadow hierarchy:
|
|
145
|
+
- border: small interactive controls (Input, Checkbox, Radio, Switch, Tag, Button)
|
|
146
|
+
- raised: container surfaces (Card, Accordion)
|
|
147
|
+
- overlay: floating elements (Dialog, Drawer, Menu, Popover, Toast)
|
|
148
|
+
*/
|
|
143
149
|
|
|
144
|
-
/* Border elevation - subtle shadow
|
|
150
|
+
/* Border elevation - subtle shadow */
|
|
145
151
|
--shadow-elevation-border:
|
|
146
152
|
0px 0.3px 0.3px oklch(0 0 0 / 0.14), 0px 1px 1.2px -3px oklch(0 0 0 / 0.12);
|
|
147
153
|
|
|
148
|
-
/* Raised elevation - moderate shadow
|
|
154
|
+
/* Raised elevation - moderate shadow */
|
|
149
155
|
--shadow-elevation-raised:
|
|
150
156
|
0px 0.3px 0.8px oklch(0 0 0 / 0.28),
|
|
151
157
|
0px 1.4px 1.3px -2px oklch(0 0 0 / 0.21),
|
|
152
158
|
0px 6.7px 6px -4px oklch(0 0 0 / 0.15);
|
|
153
159
|
|
|
154
|
-
/* Overlay elevation - prominent shadow
|
|
160
|
+
/* Overlay elevation - prominent shadow */
|
|
155
161
|
--shadow-elevation-overlay:
|
|
156
162
|
0px 0.1px 0.1px oklch(0 0 0 / 0.32),
|
|
157
163
|
0px 1px 0.9px -1.3px oklch(0 0 0 / 0.26),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marigold/theme-rui",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.2",
|
|
4
4
|
"description": "Marigold RUI Theme",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"tailwindcss-react-aria-components": "^2.0.1",
|
|
65
|
-
"@marigold/
|
|
66
|
-
"@marigold/
|
|
65
|
+
"@marigold/system": "17.3.0",
|
|
66
|
+
"@marigold/components": "17.3.0"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"build": "node ./scripts/build-appearances.mjs && cross-env NODE_ENV=production tsdown && postcss -o dist/styles.css src/styles.css && shx cp src/theme.css src/global.css src/utils.css src/variants.css src/ui.css dist/"
|