@shuriken-ui/tailwind 4.0.0-alpha.24 → 4.0.0-alpha.26
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/README.md +2 -3
- package/lib/css/dark.css +6 -0
- package/lib/css/focus.css +2 -2
- package/lib/theme.css +15 -1
- package/package.json +6 -6
package/README.md
CHANGED
@@ -6,7 +6,6 @@
|
|
6
6
|
</picture>
|
7
7
|
</p>
|
8
8
|
|
9
|
-
|
10
9
|
<p align="center">
|
11
10
|
<a href="https://cssninja.io" title="Our official website">by <strong>cssninja.io</strong></a>
|
12
11
|
</p>
|
@@ -35,7 +34,7 @@ import { defineConfig } from 'vite'
|
|
35
34
|
|
36
35
|
export default defineConfig({
|
37
36
|
plugins: [tailwindcss()],
|
38
|
-
})
|
37
|
+
})
|
39
38
|
```
|
40
39
|
|
41
40
|
Reference Shuriken UI in your `tailwind.css` file:
|
@@ -52,4 +51,4 @@ Reference Shuriken UI in your `tailwind.css` file:
|
|
52
51
|
}
|
53
52
|
```
|
54
53
|
|
55
|
-
> See the [theme.css](https://github.com/shuriken-ui/shuriken-ui/blob/main/packages/tailwind/lib/theme.css) file for a complete list of available variables you can customize.
|
54
|
+
> See the [theme.css](https://github.com/shuriken-ui/shuriken-ui/blob/main/packages/tailwind/lib/theme.css) file for a complete list of available variables you can customize.
|
package/lib/css/dark.css
CHANGED
@@ -59,6 +59,12 @@
|
|
59
59
|
--color-tag-dark-border: var(--color-muted-100);
|
60
60
|
--color-tag-dark-text: var(--color-muted-100);
|
61
61
|
|
62
|
+
--color-popup-dark-bg: var(--color-muted-100);
|
63
|
+
--color-popup-dark-border: var(--color-muted-100);
|
64
|
+
--color-popup-dark-text: var(--color-muted-950);
|
65
|
+
|
66
|
+
--color-ring: var(--color-muted-300);
|
67
|
+
|
62
68
|
color-scheme: dark;
|
63
69
|
}
|
64
70
|
}
|
package/lib/css/focus.css
CHANGED
package/lib/theme.css
CHANGED
@@ -96,7 +96,6 @@
|
|
96
96
|
--color-destructive-light: var(--color-destructive-500);
|
97
97
|
|
98
98
|
--color-link: var(--color-primary-base);
|
99
|
-
--color-ring: var(--color-muted-300);
|
100
99
|
|
101
100
|
--color-field-label: var(--color-muted-600);
|
102
101
|
--color-field-description: var(--color-muted-500);
|
@@ -161,6 +160,21 @@
|
|
161
160
|
--color-tag-dark-bg: var(--color-muted-900);
|
162
161
|
--color-tag-dark-border: var(--color-muted-900);
|
163
162
|
--color-tag-dark-text: var(--color-muted-900);
|
163
|
+
|
164
|
+
--color-popup-default-bg: var(--color-portal-default-bg);
|
165
|
+
--color-popup-default-border: var(--color-portal-default-border);
|
166
|
+
--color-popup-default-text: var(--color-portal-default-item-text);
|
167
|
+
|
168
|
+
--color-popup-muted-bg: var(--color-portal-muted-bg);
|
169
|
+
--color-popup-muted-border: var(--color-portal-muted-border);
|
170
|
+
--color-popup-muted-text: var(--color-portal-muted-item-text);
|
171
|
+
|
172
|
+
--color-popup-dark-bg: var(--color-muted-950);
|
173
|
+
--color-popup-dark-border: var(--color-muted-950);
|
174
|
+
--color-popup-dark-text: var(--color-white);
|
175
|
+
|
176
|
+
--color-ring: var(--color-muted-200);
|
177
|
+
--opacity-ring: 100;
|
164
178
|
|
165
179
|
/** Animations */
|
166
180
|
--animate-nui-placeload: nui-placeload 1s linear infinite forwards;
|
package/package.json
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
{
|
2
2
|
"name": "@shuriken-ui/tailwind",
|
3
|
-
"
|
4
|
-
"
|
3
|
+
"type": "module",
|
4
|
+
"version": "4.0.0-alpha.26",
|
5
5
|
"author": "Css Ninja <hello@cssninja.io> (https://cssninja.io)",
|
6
|
+
"license": "MIT",
|
7
|
+
"homepage": "https://github.com/shuriken-ui/tailwind",
|
6
8
|
"repository": {
|
7
9
|
"type": "git",
|
8
10
|
"url": "git+https://github.com/shuriken-ui/shuriken-ui.git",
|
9
11
|
"directory": "packages/tailwind"
|
10
12
|
},
|
11
13
|
"bugs": "https://github.com/shuriken-ui/tailwind/issues",
|
12
|
-
"homepage": "https://github.com/shuriken-ui/tailwind",
|
13
14
|
"keywords": [
|
14
15
|
"nuxt",
|
15
16
|
"nuxt3",
|
@@ -22,16 +23,15 @@
|
|
22
23
|
"design-system",
|
23
24
|
"module"
|
24
25
|
],
|
25
|
-
"type": "module",
|
26
26
|
"exports": {
|
27
27
|
".": "./lib/index.css",
|
28
28
|
"./theme.css": "./lib/theme.css",
|
29
29
|
"./*.css": "./lib/css/*.css"
|
30
30
|
},
|
31
31
|
"files": [
|
32
|
+
"lib/css",
|
32
33
|
"lib/index.css",
|
33
|
-
"lib/theme.css"
|
34
|
-
"lib/css"
|
34
|
+
"lib/theme.css"
|
35
35
|
],
|
36
36
|
"dependencies": {
|
37
37
|
"@tailwindcss/typography": "^0.5.15",
|