Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
- Remove legacy admin-ui/js/ vanilla JS components - Add .dss/ directory with core tokens, skins, themes - Add Storybook configuration and generated stories - Add DSS management scripts (dss-services, dss-init, dss-setup, dss-reset) - Add MCP command definitions for DSS plugin - Add Figma sync architecture and scripts - Update pre-commit hooks with documentation validation - Fix JSON trailing commas in skin files 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
88 lines
1.8 KiB
JSON
88 lines
1.8 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "DSS Skin Contract",
|
|
"description": "Defines required tokens that all skins must provide. Themes should only override these stable tokens.",
|
|
"version": "1.0.0",
|
|
"required_tokens": {
|
|
"color": {
|
|
"description": "Semantic color tokens",
|
|
"required": [
|
|
"primary",
|
|
"primary-foreground",
|
|
"secondary",
|
|
"secondary-foreground",
|
|
"background",
|
|
"foreground",
|
|
"muted",
|
|
"muted-foreground",
|
|
"accent",
|
|
"accent-foreground",
|
|
"destructive",
|
|
"destructive-foreground",
|
|
"border",
|
|
"input",
|
|
"ring",
|
|
"card",
|
|
"card-foreground",
|
|
"popover",
|
|
"popover-foreground"
|
|
]
|
|
},
|
|
"effect": {
|
|
"description": "Shadow and focus effect tokens",
|
|
"required": [
|
|
"shadow-xs",
|
|
"shadow-sm",
|
|
"shadow-md",
|
|
"shadow-lg",
|
|
"shadow-xl",
|
|
"shadow-2xl",
|
|
"focus-ring"
|
|
]
|
|
},
|
|
"radius": {
|
|
"description": "Border radius tokens",
|
|
"required": [
|
|
"sm",
|
|
"md",
|
|
"lg",
|
|
"xl",
|
|
"full"
|
|
]
|
|
},
|
|
"typography": {
|
|
"description": "Typography style tokens",
|
|
"required": [
|
|
"heading-1",
|
|
"heading-2",
|
|
"heading-3",
|
|
"heading-4",
|
|
"paragraph-regular",
|
|
"paragraph-bold",
|
|
"paragraph-small-regular"
|
|
]
|
|
},
|
|
"spacing": {
|
|
"description": "Spacing scale tokens",
|
|
"required": [
|
|
"0",
|
|
"1",
|
|
"2",
|
|
"3",
|
|
"4",
|
|
"5",
|
|
"6",
|
|
"8",
|
|
"10",
|
|
"12",
|
|
"16"
|
|
]
|
|
}
|
|
},
|
|
"optional_categories": [
|
|
"animation",
|
|
"breakpoint",
|
|
"z-index"
|
|
]
|
|
}
|