tailwind-mapping

Official

Map SGDS CSS variables to Tailwind utilities.

AuthorGovTechSG
Version1.0.0
Installs0

System Documentation

What problem does it solve?

SGDS CSS variables mapped to Tailwind utility classes, enabling consistent design tokens and faster frontend styling.

Core Features & Use Cases

  • Converts SGDS CSS variables into Tailwind v4 utilities following a defined naming pattern.
  • Generates corresponding playground documentation in playground/utility/ and ensures live previews for new mappings.
  • Supports creating and updating a Storybook documentation workflow for utilities.

Quick Start

Add a new SGDS token mapping by updating src/css/utility.css and creating a live playground HTML demo in playground/utility/ along with a Storybook story in stories/utilities/.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tailwind-mapping
Download link: https://github.com/GovTechSG/sgds-web-component/archive/main.zip#tailwind-mapping

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.