@marigold/theme-rui 0.3.2 → 0.4.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/index.js +176 -110
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +176 -110
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +152 -57
- package/dist/theme.css +78 -2
- package/package.json +6 -6
package/dist/theme.css
CHANGED
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
/*
|
|
94
94
|
muted colors are desaturated colors of the brand color,
|
|
95
95
|
they help create hierarchy for secondary text.
|
|
96
|
-
Currently used for: helptext, icons inside inputs, readonly background inside inputs
|
|
96
|
+
Currently used for: helptext, icons inside inputs, readonly background inside inputs, variant for text
|
|
97
97
|
*/
|
|
98
98
|
--color-muted: var(--color-stone-100);
|
|
99
99
|
--color-muted-foreground: var(--color-stone-500);
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
--color-disabled-foreground: var(--color-stone-400);
|
|
103
103
|
|
|
104
104
|
/* used for placeholder color */
|
|
105
|
-
--color-placeholder:
|
|
105
|
+
--color-placeholder: var(--color-stone-500);
|
|
106
106
|
/* used for outline/border as ring*/
|
|
107
107
|
--color-ring: var(--color-stone-400);
|
|
108
108
|
|
|
@@ -129,6 +129,79 @@
|
|
|
129
129
|
/* Selected color is used when there is an active selection in the component */
|
|
130
130
|
--color-selected: var(--color-stone-100);
|
|
131
131
|
|
|
132
|
+
/* easing functions (https://gist.github.com/bendc/ac03faac0bf2aee25b49e5fd260a727d)*/
|
|
133
|
+
|
|
134
|
+
--ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
135
|
+
--ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
136
|
+
--ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
|
|
137
|
+
--ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
|
|
138
|
+
--ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
|
|
139
|
+
--ease-out-circ: cubic-bezier(0.075, 0.82, 0.165, 1);
|
|
140
|
+
|
|
141
|
+
--ease-in-out-quad: cubic-bezier(0.455, 0.03, 0.515, 0.955);
|
|
142
|
+
--ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
143
|
+
--ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1);
|
|
144
|
+
--ease-in-out-quint: cubic-bezier(0.86, 0, 0.07, 1);
|
|
145
|
+
--ease-in-out-expo: cubic-bezier(1, 0, 0, 1);
|
|
146
|
+
--ease-in-out-circ: cubic-bezier(0.785, 0.135, 0.15, 0.86);
|
|
147
|
+
|
|
148
|
+
--ease-in-quad: cubic-bezier(0.55, 0.085, 0.68, 0.53);
|
|
149
|
+
--ease-in-cubic: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
|
150
|
+
--ease-in-quart: cubic-bezier(0.895, 0.03, 0.685, 0.22);
|
|
151
|
+
--ease-in-quint: cubic-bezier(0.755, 0.05, 0.855, 0.06);
|
|
152
|
+
--ease-in-expo: cubic-bezier(0.95, 0.05, 0.795, 0.035);
|
|
153
|
+
--ease-in-circ: cubic-bezier(0.6, 0.04, 0.98, 0.335);
|
|
154
|
+
|
|
155
|
+
--fade-in-duration: 0.3s;
|
|
156
|
+
--fade-out-duration: 0.15s;
|
|
157
|
+
|
|
158
|
+
--animate-fade-in: fade-in var(--fade-in-duration) var(--ease-out-cubic);
|
|
159
|
+
--animate-fade-out: fade-in var(--fade-out-duration) reverse;
|
|
160
|
+
|
|
161
|
+
@keyframes fade-in {
|
|
162
|
+
from {
|
|
163
|
+
opacity: 0;
|
|
164
|
+
filter: blur(6px);
|
|
165
|
+
}
|
|
166
|
+
to {
|
|
167
|
+
opacity: 1;
|
|
168
|
+
filter: blur(0);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
--animate-fade-in-up: fade-in-up var(--fade-in-duration) var(--ease-out-cubic);
|
|
173
|
+
|
|
174
|
+
@keyframes fade-in-up {
|
|
175
|
+
from {
|
|
176
|
+
opacity: 0;
|
|
177
|
+
transform: translateY(15px);
|
|
178
|
+
filter: blur(6px);
|
|
179
|
+
}
|
|
180
|
+
to {
|
|
181
|
+
opacity: 1;
|
|
182
|
+
transform: translateY(0);
|
|
183
|
+
filter: blur(0);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/* animation slide in */
|
|
188
|
+
--slide-in-duration: 0.3s;
|
|
189
|
+
--slide-out-duration: 0.15s;
|
|
190
|
+
|
|
191
|
+
--animate-slide-in-right: slide-in-right var(--slide-in-duration)
|
|
192
|
+
var(--ease-out-expo);
|
|
193
|
+
--animate-slide-out-right: slide-in-right var(--slide-out-duration) reverse;
|
|
194
|
+
|
|
195
|
+
@keyframes slide-in-right {
|
|
196
|
+
from {
|
|
197
|
+
transform: translateX(100%);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
to {
|
|
201
|
+
transform: translateX(0);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
132
205
|
/* animation and keyframes */
|
|
133
206
|
--animate-rotate-spinner: rotate-spinner 2s linear infinite;
|
|
134
207
|
--animate-progress-cycle: progress-cycle 1.5s linear infinite;
|
|
@@ -137,6 +210,7 @@
|
|
|
137
210
|
0% {
|
|
138
211
|
transform: rotate(0deg);
|
|
139
212
|
}
|
|
213
|
+
|
|
140
214
|
100% {
|
|
141
215
|
transform: rotate(360deg);
|
|
142
216
|
}
|
|
@@ -147,9 +221,11 @@
|
|
|
147
221
|
transform: rotate(0deg);
|
|
148
222
|
stroke-dashoffset: 75;
|
|
149
223
|
}
|
|
224
|
+
|
|
150
225
|
30% {
|
|
151
226
|
stroke-dashoffset: 20;
|
|
152
227
|
}
|
|
228
|
+
|
|
153
229
|
100% {
|
|
154
230
|
transform: rotate(360deg);
|
|
155
231
|
stroke-dashoffset: 75;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marigold/theme-rui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Marigold RUI Theme",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -43,18 +43,18 @@
|
|
|
43
43
|
"directory": "themes/theme-rui"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@tailwindcss/postcss": "4.0.
|
|
46
|
+
"@tailwindcss/postcss": "4.0.17",
|
|
47
47
|
"cssnano": "7.0.6",
|
|
48
|
-
"postcss-cli": "11.0.
|
|
49
|
-
"tailwindcss": "4.0.
|
|
48
|
+
"postcss-cli": "11.0.1",
|
|
49
|
+
"tailwindcss": "4.0.17",
|
|
50
50
|
"tsup": "8.3.6",
|
|
51
51
|
"@marigold/tsconfig": "0.4.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"tailwindcss-animate": "1.0.7",
|
|
55
55
|
"tailwindcss-react-aria-components": "2.0.0",
|
|
56
|
-
"@marigold/components": "11.
|
|
57
|
-
"@marigold/system": "11.
|
|
56
|
+
"@marigold/components": "11.3.0",
|
|
57
|
+
"@marigold/system": "11.3.0",
|
|
58
58
|
"@marigold/theme-plugins": "1.0.1"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|