mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-01 08:34:12 +00:00
* Add Sera styles to v4 public schema Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * test(v4): tighten public schema style assertion Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: shadcn <m@shadcn.com>
132 lines
2.7 KiB
JSON
132 lines
2.7 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"style": {
|
|
"type": "string",
|
|
"enum": [
|
|
"default",
|
|
"new-york",
|
|
"radix-vega",
|
|
"radix-nova",
|
|
"radix-maia",
|
|
"radix-lyra",
|
|
"radix-mira",
|
|
"radix-luma",
|
|
"radix-sera",
|
|
"base-vega",
|
|
"base-nova",
|
|
"base-maia",
|
|
"base-lyra",
|
|
"base-mira",
|
|
"base-luma",
|
|
"base-sera"
|
|
]
|
|
},
|
|
"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"
|
|
},
|
|
"iconLibrary": {
|
|
"type": "string"
|
|
},
|
|
"aliases": {
|
|
"type": "object",
|
|
"properties": {
|
|
"utils": {
|
|
"type": "string"
|
|
},
|
|
"components": {
|
|
"type": "string"
|
|
},
|
|
"ui": {
|
|
"type": "string"
|
|
},
|
|
"lib": {
|
|
"type": "string"
|
|
},
|
|
"hooks": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["utils", "components"]
|
|
},
|
|
"menuColor": {
|
|
"type": "string",
|
|
"enum": [
|
|
"default",
|
|
"inverted",
|
|
"default-translucent",
|
|
"inverted-translucent"
|
|
]
|
|
},
|
|
"menuAccent": {
|
|
"type": "string",
|
|
"enum": ["subtle", "bold"]
|
|
},
|
|
"rtl": {
|
|
"type": "boolean"
|
|
},
|
|
"registries": {
|
|
"type": "object",
|
|
"patternProperties": {
|
|
"^@": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string",
|
|
"pattern": "\\{name\\}"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string",
|
|
"pattern": "\\{name\\}"
|
|
},
|
|
"params": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"headers": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"required": ["url"]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": ["style", "tailwind", "rsc", "aliases"]
|
|
}
|