190 lines
5.8 KiB
JSON
190 lines
5.8 KiB
JSON
{
|
|
"schemaVersion": 1,
|
|
"generator": {
|
|
"name": "StyleSeed Palette Engine",
|
|
"version": "1.0.0",
|
|
"colorSpace": "OKLCH",
|
|
"targetGamut": "sRGB"
|
|
},
|
|
"input": {
|
|
"keyColor": "#FF6966",
|
|
"mode": "light",
|
|
"character": "balanced",
|
|
"harmony": "auto",
|
|
"temperature": "warm"
|
|
},
|
|
"normalizedKey": {
|
|
"hex": "#FF6966",
|
|
"oklch": {
|
|
"l": 0.7082,
|
|
"c": 0.184,
|
|
"h": 24.11
|
|
}
|
|
},
|
|
"decisions": {
|
|
"character": "Balanced character controls lightness/chroma before hue harmony.",
|
|
"accent": {
|
|
"hue": 266.11,
|
|
"offset": -118,
|
|
"method": "auto",
|
|
"avoidsStatusCollisionBy": 118.11
|
|
},
|
|
"primaryAdjustedForContrast": false,
|
|
"accentAdjustedForContrast": false,
|
|
"allocation": {
|
|
"dominant": "60% canvas and surfaces",
|
|
"secondary": "30% chrome, type, and supporting structure",
|
|
"accent": "10% primary/accent emphasis combined"
|
|
}
|
|
},
|
|
"ramps": {
|
|
"primary": {
|
|
"50": "#FFF6F5",
|
|
"100": "#FFE4E1",
|
|
"200": "#FFC8C3",
|
|
"300": "#FFA09A",
|
|
"400": "#EF736E",
|
|
"500": "#D4514F",
|
|
"600": "#BA3538",
|
|
"700": "#9A1F25",
|
|
"800": "#780011",
|
|
"900": "#4F0008",
|
|
"950": "#2A0002"
|
|
},
|
|
"accent": {
|
|
"50": "#F5F8FF",
|
|
"100": "#E2EBFF",
|
|
"200": "#C6D7FF",
|
|
"300": "#A0BCFF",
|
|
"400": "#739AFA",
|
|
"500": "#567DE2",
|
|
"600": "#3F64C8",
|
|
"700": "#2D4DA8",
|
|
"800": "#1A3486",
|
|
"900": "#091B64",
|
|
"950": "#020144"
|
|
}
|
|
},
|
|
"roles": {
|
|
"background": "#FAF2EA",
|
|
"surface": "#FFFCF9",
|
|
"chrome": "#EADFD6",
|
|
"foreground": "#0D0B08",
|
|
"mutedForeground": "#544F4A",
|
|
"chromeForeground": "#0D0B08",
|
|
"border": "#C4B8AE",
|
|
"primary": "#B1282E",
|
|
"primaryForeground": "#FFFBF8",
|
|
"accent": "#3154BA",
|
|
"accentForeground": "#FFFBF8",
|
|
"focus": "#3154BA",
|
|
"success": "#006425",
|
|
"successForeground": "#FFFBF8",
|
|
"warning": "#6E4B00",
|
|
"warningForeground": "#FFFBF8",
|
|
"danger": "#902824",
|
|
"dangerForeground": "#FFFBF8"
|
|
},
|
|
"contrast": [
|
|
{
|
|
"foreground": "foreground",
|
|
"background": "background",
|
|
"ratio": 17.74,
|
|
"minimum": 4.5,
|
|
"pass": true
|
|
},
|
|
{
|
|
"foreground": "mutedForeground",
|
|
"background": "background",
|
|
"ratio": 7.31,
|
|
"minimum": 4.5,
|
|
"pass": true
|
|
},
|
|
{
|
|
"foreground": "foreground",
|
|
"background": "surface",
|
|
"ratio": 19.23,
|
|
"minimum": 4.5,
|
|
"pass": true
|
|
},
|
|
{
|
|
"foreground": "chromeForeground",
|
|
"background": "chrome",
|
|
"ratio": 15,
|
|
"minimum": 4.5,
|
|
"pass": true
|
|
},
|
|
{
|
|
"foreground": "primaryForeground",
|
|
"background": "primary",
|
|
"ratio": 6.35,
|
|
"minimum": 4.5,
|
|
"pass": true
|
|
},
|
|
{
|
|
"foreground": "accentForeground",
|
|
"background": "accent",
|
|
"ratio": 6.57,
|
|
"minimum": 4.5,
|
|
"pass": true
|
|
},
|
|
{
|
|
"foreground": "successForeground",
|
|
"background": "success",
|
|
"ratio": 7.16,
|
|
"minimum": 4.5,
|
|
"pass": true
|
|
},
|
|
{
|
|
"foreground": "warningForeground",
|
|
"background": "warning",
|
|
"ratio": 7.64,
|
|
"minimum": 4.5,
|
|
"pass": true
|
|
},
|
|
{
|
|
"foreground": "dangerForeground",
|
|
"background": "danger",
|
|
"ratio": 8.11,
|
|
"minimum": 4.5,
|
|
"pass": true
|
|
},
|
|
{
|
|
"foreground": "focus",
|
|
"background": "background",
|
|
"ratio": 6.1,
|
|
"minimum": 3,
|
|
"pass": true
|
|
},
|
|
{
|
|
"foreground": "focus",
|
|
"background": "surface",
|
|
"ratio": 6.61,
|
|
"minimum": 3,
|
|
"pass": true
|
|
}
|
|
],
|
|
"valid": true,
|
|
"assetBrief": {
|
|
"anchors": [
|
|
"#FAF2EA",
|
|
"#B1282E",
|
|
"#3154BA"
|
|
],
|
|
"hierarchy": "background dominant; primary identifies the product/action; accent is rare supporting emphasis",
|
|
"avoid": [
|
|
"equal-area competing accents",
|
|
"rainbow category decoration",
|
|
"text baked into generated imagery"
|
|
]
|
|
},
|
|
"reasoning": [
|
|
"Character is chosen before harmony: lightness and chroma drive perceived calm or intensity more reliably than hue geometry alone.",
|
|
"The key hue is preserved while chroma is reduced to the sRGB gamut boundary instead of clipping RGB channels.",
|
|
"The auto accent candidate is scored for separation from the key and reserved success, warning, and danger hues.",
|
|
"Reference colors are mapped through semantic roles; components should never consume raw ramp values directly.",
|
|
"Every text, action, status, and focus pair is checked after generation; failing fills are moved in lightness while preserving hue identity."
|
|
],
|
|
"css": ":root {\n --ss-background: #FAF2EA;\n --ss-surface: #FFFCF9;\n --ss-chrome: #EADFD6;\n --ss-foreground: #0D0B08;\n --ss-muted-foreground: #544F4A;\n --ss-chrome-foreground: #0D0B08;\n --ss-border: #C4B8AE;\n --ss-primary: #B1282E;\n --ss-primary-foreground: #FFFBF8;\n --ss-accent: #3154BA;\n --ss-accent-foreground: #FFFBF8;\n --ss-focus: #3154BA;\n --ss-success: #006425;\n --ss-success-foreground: #FFFBF8;\n --ss-warning: #6E4B00;\n --ss-warning-foreground: #FFFBF8;\n --ss-danger: #902824;\n --ss-danger-foreground: #FFFBF8;\n --ss-primary-50: #FFF6F5;\n --ss-primary-100: #FFE4E1;\n --ss-primary-200: #FFC8C3;\n --ss-primary-300: #FFA09A;\n --ss-primary-400: #EF736E;\n --ss-primary-500: #D4514F;\n --ss-primary-600: #BA3538;\n --ss-primary-700: #9A1F25;\n --ss-primary-800: #780011;\n --ss-primary-900: #4F0008;\n --ss-primary-950: #2A0002;\n --ss-accent-50: #F5F8FF;\n --ss-accent-100: #E2EBFF;\n --ss-accent-200: #C6D7FF;\n --ss-accent-300: #A0BCFF;\n --ss-accent-400: #739AFA;\n --ss-accent-500: #567DE2;\n --ss-accent-600: #3F64C8;\n --ss-accent-700: #2D4DA8;\n --ss-accent-800: #1A3486;\n --ss-accent-900: #091B64;\n --ss-accent-950: #020144;\n}"
|
|
}
|