canvas-styling-conventions

Community

Style Canvas with Tailwind and CVA variants

AuthorAJV009
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Canvas component styling often requires repetitive setup to ensure consistent design tokens across a project. This skill provides a structured approach to applying Tailwind CSS 4 theme tokens and approved utility patterns to Canvas components, reducing boilerplate and ensuring design consistency.

Core Features & Use Cases

  • Applies Tailwind theme tokens defined in global.css to component styles
  • Supports CVA variants and cn() utility for robust, reusable styling
  • Use case: create a new Canvas component with consistent theming and accessible color combinations

Quick Start

Load this skill and start applying Tailwind theme tokens and CVA variants to a new Canvas component.

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: canvas-styling-conventions
Download link: https://github.com/AJV009/drupal-devkit/archive/main.zip#canvas-styling-conventions

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 471,000+ vetted skills library on demand.