scalar-design-system

Document Scalar design tokens, theming, and component mappings.

15.9k|914|Updated Aug 16, 2023
One-click install
npx skills add https://github.com/scalar/scalar --skill scalar-design-system
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scalar-design-system
Source: https://github.com/scalar/scalar/tree/main/packages/themes/skills/scalar-design-system
Command: npx skills add https://github.com/scalar/scalar --skill scalar-design-system

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scalar's design system provides a single source of truth for tokens, theming, and component mappings, ensuring UI consistency and reducing design-to-code gaps.

Core Features & Use Cases

  • Design tokens and CSS variables that reflect Scalar's real palette, typography, spacing, and radii.
  • Theming presets and mapping to Tailwind classes and component exports for rapid UI implementation.
  • Use Case: Share tokens and components across design and engineering to ship Scalar UI faster and more accurately.

Quick Start

Install or reference the Scalar design system and start using tokens, theme presets, and component subpaths in your UI code.

Frequently Asked Questions about scalar-design-system

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

FAQPage Schema
How do I align my UI with Scalar's real design tokens?

To align your UI with Scalar's design tokens, reference the consolidated design system to apply exact CSS variables, theme presets, and component subpath exports for accurate implementation.

What is a design system for consolidating CSS variables and component mappings?

A consolidated design system provides a single source of truth for design tokens, theming, and component mappings, ensuring UI consistency and reducing design-to-code gaps across workflows.

Can I map Scalar's design tokens to Tailwind classes for rapid UI implementation?

Yes, you can map Scalar's design tokens to Tailwind classes using the system's theming presets, which facilitates rapid and accurate UI implementation for both designers and developers.

Does the Scalar design system require any dependencies to use?

No, the Scalar design system has no external dependencies, allowing you to directly install and reference its tokens, theme presets, and component subpath exports in your UI code.

How do I document default themes and subpath maps for a design system?

Document default themes and subpath maps by defining precise names and descriptions in the frontmatter, while linking optional references and assets to ensure component exports are discoverable.