web-theme-consistency

Enforce theme tokens and CSS variables across Web UI components.

1|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/muddyrain/valley-mas --skill web-theme-consistency
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-theme-consistency
Source: https://github.com/muddyrain/valley-mas/tree/main/.codex/skills/web-theme-consistency
Command: npx skills add https://github.com/muddyrain/valley-mas --skill web-theme-consistency

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Web applications often drift visually when pages and components bypass the design system. This skill enforces a single, cohesive look by ensuring all UI uses the current theme tokens and shared components.

Core Features & Use Cases

  • Enforce theme tokens and CSS variables across major UI areas (banners, cards, buttons, forms, navigation) to maintain consistency.
  • Detect and prevent hard-coded colors or inline styles that diverge from the design system.
  • Use Case: during a UI audit, quickly identify components that do not follow the theme and refactor them to themed variants.

Quick Start

Audit Web pages to identify elements not following the theme and apply theme tokens to restore consistency.

Frequently Asked Questions about web-theme-consistency

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce CSS variables and theme tokens for web UI consistency?

Prevent hard-coded colors in shared components by auditing web pages to detect inline styles and replacing them with theme tokens. Applying CSS variables and theme-* utility classes restores visual consistency across buttons, cards, banners, and forms.

What is the best way to audit web pages for design system divergence?

Audit web pages for design system divergence by scanning for hard-coded color values and inline styles that bypass shared components. Identify elements not following the theme and refactor them to use theme tokens and CSS variables for visual consistency.

Can I use theme tokens and CSS variables across all shared web components?

Yes, you can apply theme tokens and CSS variables across all shared web components including banners, empty states, buttons, cards, forms, navigation, and creator pages. This prevents visual divergence and maintains a cohesive design system look.

Why does my web UI drift visually when using inline styles?

Web UI drifts visually when pages and components bypass the design system using hard-coded colors and inline styles. Enforce a cohesive look by adopting CSS variables, theme-* utility classes, and reusable components to prevent visual divergence across the application.