Files
shadcn-ui/apps/www/public/schema.json
shadcn be580dbf76 feat(cli): add support for custom ui dir (#2266)
* feat(cli): add support for custom ui dir

* docs(www): update docs for aliases.ui

* chore: add changeset
2024-01-02 22:32:15 +04:00

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"]
}