@marigold/theme-rui 1.0.0 → 1.0.1

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/utils.css CHANGED
@@ -59,3 +59,47 @@
59
59
  var(--tw-inset-shadow), var(--tw-inset-ring-shadow),
60
60
  var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
61
61
  }
62
+
63
+ /*
64
+ * These utility classes define visual surfaces with distinct background colors and
65
+ * elevation levels. Elevation is conveyed through shadows and borders, helping establish
66
+ * depth, hierarchy, and separation between interface layers. Use them to apply
67
+ * consistent surface styling across components.
68
+ */
69
+ @utility util-surface-sunken {
70
+ background: var(--surface-sunken);
71
+
72
+ --tw-shadow: var(--surface-sunken-shadow);
73
+ box-shadow:
74
+ var(--tw-inset-shadow), var(--tw-inset-ring-shadow),
75
+ var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
76
+ }
77
+
78
+ @utility util-surface-body {
79
+ background: var(--surface-body);
80
+
81
+ --tw-shadow: var(--surface-body-shadow);
82
+ box-shadow:
83
+ var(--tw-inset-shadow), var(--tw-inset-ring-shadow),
84
+ var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
85
+ }
86
+
87
+ @utility util-surface-raised {
88
+ background: var(--surface-raised);
89
+ border: 1px var(--tw-border-style) var(--surface-raised-border);
90
+
91
+ --tw-shadow: var(--surface-raised-shadow);
92
+ box-shadow:
93
+ var(--tw-inset-shadow), var(--tw-inset-ring-shadow),
94
+ var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
95
+ }
96
+
97
+ @utility util-surface-overlay {
98
+ background: var(--surface-overlay);
99
+ border: 1px var(--tw-border-style) var(--surface-overlay-border);
100
+
101
+ --tw-shadow: var(--surface-overlay-shadow);
102
+ box-shadow:
103
+ var(--tw-inset-shadow), var(--tw-inset-ring-shadow),
104
+ var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
105
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marigold/theme-rui",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Marigold RUI Theme",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -53,8 +53,8 @@
53
53
  "dependencies": {
54
54
  "tailwindcss-animate": "1.0.7",
55
55
  "tailwindcss-react-aria-components": "2.0.0",
56
- "@marigold/components": "11.4.1",
57
- "@marigold/system": "11.4.1",
56
+ "@marigold/components": "11.5.0",
57
+ "@marigold/system": "11.5.0",
58
58
  "@marigold/theme-plugins": "1.0.1"
59
59
  },
60
60
  "scripts": {