Color

Hold contrast to exact ratios in every theme.

By

Raphael Salaja

Price

Free

Color is an agent skill by Raphael Salaja that holds the color rules for every screen. It covers contrast ratios, role tokens, translucent neutrals, dark mode and what the accent color is for.

What it does

  • Requires 4.5:1 for body text, 3:1 for large text and 3:1 for field edges and meaningful icons.
  • Measures contrast from the color actually drawn on screen, opacity included, with a script run in the browser.
  • Puts a scrim under text that sits on photos or video.
  • Keeps components on role tokens like text-secondary, and uses translucent neutrals for borders and hover fills.
  • Gives dark mode its own palette, with lighter raised surfaces and accents retuned for contrast.

When to use it

Your agent applies it whenever it styles text, controls or themes. Ask for it directly when you want a contrast pass on both themes.

How to get it

The skill is free on GitHub under the MIT license, in Raphael Salaja's skills repo. Install the set with npx skills add raphaelsalaja/skills.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.

Color

Hold contrast to exact ratios in every theme.

By

Raphael Salaja

Price

Free

Color is an agent skill by Raphael Salaja that holds the color rules for every screen. It covers contrast ratios, role tokens, translucent neutrals, dark mode and what the accent color is for.

What it does

  • Requires 4.5:1 for body text, 3:1 for large text and 3:1 for field edges and meaningful icons.
  • Measures contrast from the color actually drawn on screen, opacity included, with a script run in the browser.
  • Puts a scrim under text that sits on photos or video.
  • Keeps components on role tokens like text-secondary, and uses translucent neutrals for borders and hover fills.
  • Gives dark mode its own palette, with lighter raised surfaces and accents retuned for contrast.

When to use it

Your agent applies it whenever it styles text, controls or themes. Ask for it directly when you want a contrast pass on both themes.

How to get it

The skill is free on GitHub under the MIT license, in Raphael Salaja's skills repo. Install the set with npx skills add raphaelsalaja/skills.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.

Color

Hold contrast to exact ratios in every theme.

By

Raphael Salaja

Price

Free

Color is an agent skill by Raphael Salaja that holds the color rules for every screen. It covers contrast ratios, role tokens, translucent neutrals, dark mode and what the accent color is for.

What it does

  • Requires 4.5:1 for body text, 3:1 for large text and 3:1 for field edges and meaningful icons.
  • Measures contrast from the color actually drawn on screen, opacity included, with a script run in the browser.
  • Puts a scrim under text that sits on photos or video.
  • Keeps components on role tokens like text-secondary, and uses translucent neutrals for borders and hover fills.
  • Gives dark mode its own palette, with lighter raised surfaces and accents retuned for contrast.

When to use it

Your agent applies it whenever it styles text, controls or themes. Ask for it directly when you want a contrast pass on both themes.

How to get it

The skill is free on GitHub under the MIT license, in Raphael Salaja's skills repo. Install the set with npx skills add raphaelsalaja/skills.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.