app-token-overrides

Override UI kit semantic tokens for app-specific typography, spacing, and color.

2|Updated Dec 2, 2024
One-click install
npx skills add https://github.com/TechsioCZ/new-engine --skill app-token-overrides
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: app-token-overrides
Source: https://github.com/TechsioCZ/new-engine/tree/main/libs/ui/skills/app-token-overrides
Command: npx skills add https://github.com/TechsioCZ/new-engine --skill app-token-overrides

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Aligns a shared UI kit with brand aesthetics by avoiding redundant token chains, duplicated JSX className styling, and API gaps in component theming.

Core Features & Use Cases

  • Override typography, spacing, color, and layout tokens at the app level while preserving the UI kit defaults.
  • Minimize token duplication by leveraging semantic tokens instead of per-component overrides.
  • Document common override patterns and API gaps to guide frontend teams across projects.

Quick Start

Override UI-kit visuals by applying app-specific tokens for your design system.

Frequently Asked Questions about app-token-overrides

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

FAQPage Schema
How do I override semantic tokens to align a UI kit with brand guidelines?

You override semantic tokens at the app level to adjust typography, spacing, color, and component theming. This aligns the shared UI kit visuals with brand guidelines across multiple components and screens without duplicating style logic.

What is the best way to apply app-specific design tokens without duplicating style logic?

Applying app-specific design tokens requires leveraging semantic token overrides instead of per-component overrides. This minimizes token duplication and avoids redundant chains while preserving the default UI kit style logic.

Do I need specific frontmatter fields to configure app token overrides?

Yes, configuring app token overrides requires properly defined frontmatter fields including name and library. You must also adhere to the token-overrides patterns described in the documentation to ensure correct implementation.

Why should I use semantic tokens for component theming instead of className styling?

Using semantic tokens for component theming avoids duplicated JSX className styling and API gaps. It enables app-specific visual overrides while preserving UI kit defaults, minimizing redundant token chains across frontend projects.

Can I override typography and spacing tokens while preserving UI kit defaults?

Yes, you can override typography, spacing, color, and layout tokens at the app level. This capability allows you to fine-tune the visual design system while keeping the original UI kit defaults intact for fallback usage.

What are the limitations of using semantic tokens for frontend design system overrides?

The primary limitation is that token overrides require properly defined frontmatter and adherence to documented patterns. Without this, frontend teams may encounter API gaps or fail to correctly apply brand aesthetics across components.