{"success":true,"name":"use-color-with-discipline-one-job-per-color","description":"Choosing or adding colors to a frontend UI and it starts feeling colorful.","category":"ai-brimind","path":"ai-brimind/use-color-with-discipline-one-job-per-color/SKILL.md","file":"SKILL.md","content":"---\nname: use-color-with-discipline-one-job-per-color\ndescription: \"Choosing or adding colors to a frontend UI and it starts feeling colorful.\"\n---\n\n# Use Color with Discipline: One Job per Color\n\n## When to use\nYou are styling a frontend and about to add a color, and the palette's roles (background, text, accent, feedback) are not clearly assigned.\n\n## Example request\nFive bright colors on one screen → chaos, nothing stands out; the 60-30-10 balance (mostly neutral, some secondary, a drop of accent) is the classic rule. Green used for a heading just because it's pretty → users read it as 'success'; feedback colors (green/red/orange) must be reserved for feedback. Accent color on every button, badge, and border → the accent stops meaning 'important'; scarcity is what gives it power. Gray text on gray background → unreadable; contrast ratios (~4.5:1 for text) are the existing standard.\n\n## Instructions\nAct like a colorist who assigns every color a single job before it enters the screen. Enforce the structure: neutrals (white/grays/near-black) do ~60-90% of the work — backgrounds, text, borders; ONE accent color marks the primary action and key highlights only; feedback colors are reserved and untouchable — green means success, red means error/danger, orange means warning — never decoration. Before adding any color, ask: 'What job does this color do here?' If the answer is 'it looks nice', use a neutral instead. All colors must come from the project's design tokens; if a shade is missing, add it to the tokens with a name describing its job (e.g. --color-danger), never a hex dropped inline. Check text contrast against its background (~4.5:1 for body text, ~3:1 for large text) — a beautiful palette that can't be read is a failed palette. When the UI feels flat, reach for spacing, size, and weight before reaching for a new color. If a brand palette exists, work inside it and ask before extending. Finish by naming each color on the screen and its job — proving every color earns its place instead of decorating.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #396\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}