@vertz/theme-shadcn 0.2.23 → 0.2.25
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/base.d.ts +2 -1
- package/dist/base.js +4 -2
- package/dist/configs.js +1 -1
- package/dist/index.d.ts +331 -472
- package/dist/index.js +612 -984
- package/dist/shared/{chunk-gjsm05ga.js → chunk-f0wk9320.js} +4 -2
- package/dist/shared/{chunk-gzfp8m46.js → chunk-kmh677y0.js} +1 -0
- package/package.json +4 -4
|
@@ -346,9 +346,11 @@ var palettes = {
|
|
|
346
346
|
|
|
347
347
|
// src/base.ts
|
|
348
348
|
var RADIUS_VALUES = {
|
|
349
|
+
none: "0rem",
|
|
349
350
|
sm: "0.25rem",
|
|
350
351
|
md: "0.375rem",
|
|
351
|
-
lg: "0.
|
|
352
|
+
lg: "0.625rem",
|
|
353
|
+
xl: "1rem"
|
|
352
354
|
};
|
|
353
355
|
function configureThemeBase(config) {
|
|
354
356
|
const palette = config?.palette ?? "zinc";
|
|
@@ -447,4 +449,4 @@ function configureThemeBase(config) {
|
|
|
447
449
|
return { theme, globals };
|
|
448
450
|
}
|
|
449
451
|
|
|
450
|
-
export { configureThemeBase };
|
|
452
|
+
export { palettes, RADIUS_VALUES, configureThemeBase };
|
|
@@ -103,6 +103,7 @@ var intentVariants = {
|
|
|
103
103
|
outline: [
|
|
104
104
|
"border:border",
|
|
105
105
|
"bg:background",
|
|
106
|
+
"text:foreground",
|
|
106
107
|
{ "&:hover": ["bg:muted", "text:foreground"] },
|
|
107
108
|
{ [DARK]: [bgOpacity("input", 30), "border:input"] },
|
|
108
109
|
{ [`${DARK}:hover`]: [bgOpacity("input", 50)] }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vertz/theme-shadcn",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.25",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Shadcn-inspired theme for Vertz — pre-built style definitions using variants() and css()",
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"typecheck": "tsc --noEmit"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@vertz/ui": "^0.2.
|
|
43
|
-
"@vertz/ui-primitives": "^0.2.
|
|
42
|
+
"@vertz/ui": "^0.2.24",
|
|
43
|
+
"@vertz/ui-primitives": "^0.2.24"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@happy-dom/global-registrator": "^20.7.0",
|
|
47
|
-
"@vertz/ui-compiler": "^0.2.
|
|
47
|
+
"@vertz/ui-compiler": "^0.2.24",
|
|
48
48
|
"bunup": "^0.16.31",
|
|
49
49
|
"happy-dom": "^20.7.0",
|
|
50
50
|
"typescript": "^5.7.0"
|