mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-26 14:16:08 +00:00
* feat(cli): add support for custom ui dir * docs(www): update docs for aliases.ui * chore: add changeset
54 lines
1.0 KiB
JSON
54 lines
1.0 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"style": {
|
|
"type": "string",
|
|
"enum": ["default", "new-york"]
|
|
},
|
|
"tailwind": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "string"
|
|
},
|
|
"css": {
|
|
"type": "string"
|
|
},
|
|
"baseColor": {
|
|
"type": "string"
|
|
},
|
|
"cssVariables": {
|
|
"type": "boolean"
|
|
},
|
|
"prefix": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["config", "css", "baseColor", "cssVariables"]
|
|
},
|
|
"rsc": {
|
|
"type": "boolean"
|
|
},
|
|
"tsx": {
|
|
"type": "boolean"
|
|
},
|
|
"aliases": {
|
|
"type": "object",
|
|
"properties": {
|
|
"utils": {
|
|
"type": "string"
|
|
},
|
|
"components": {
|
|
"type": "string"
|
|
},
|
|
"ui": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["utils", "components"]
|
|
}
|
|
},
|
|
"required": ["style", "tailwind", "rsc", "aliases"]
|
|
}
|