antfu-design

Apply UnoCSS semantic tokens and light/dark theme conventions to UI development.

Updated Jun 22, 2026
One-click install
npx skills add https://github.com/xuyannan0321/math-ai-edu-site --skill antfu-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: antfu-design
Source: https://github.com/xuyannan0321/math-ai-edu-site/tree/main/.agents/skills/antfu-design
Command: npx skills add https://github.com/xuyannan0321/math-ai-edu-site --skill antfu-design

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unocss, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps in designing user interfaces with UnoCSS design conventions, providing a comprehensive set of rules and guidelines for creating visually consistent and accessible interfaces across various frameworks.

Core Features & Use Cases

  • Semantic Tokens: Utilizes class-based semantic tokens for consistent design across themes.
  • Light/Dark Mode Support: Supports both light and dark themes for better user experience.
  • Guidelines: Provides a set of design rules and best practices for UI development.
  • Use Case: When developing or refactoring an interface in any framework using UnoCSS, this skill offers a structured approach to ensure consistency in design elements and functionality.

Quick Start

Use the antfu-design skill to apply design principles and token system to your project.

Frequently Asked Questions about antfu-design

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

FAQPage Schema
How do I implement semantic tokens in UnoCSS for UI design?

To implement light and dark mode in UnoCSS, this skill provides specific design conventions and best practices for dual theme support. It focuses on class-based semantic tokens that automatically adapt to provide a better user experience across both light and dark themes.

Does this UnoCSS design skill work with any frontend framework?

Yes, this UnoCSS design skill applies design principles and token systems across various frameworks. It provides a comprehensive set of rules and guidelines for creating visually consistent and accessible interfaces regardless of the specific framework being used.

What are the prerequisites for using UnoCSS design conventions?

Using UnoCSS design conventions requires the UnoCSS dependency installed and an understanding of design fundamentals. The skill provides the structured rules and token system, but foundational design knowledge is necessary to apply them effectively.

How do I structure light and dark mode themes using UnoCSS?

To structure light and dark mode themes in UnoCSS, you utilize class-based semantic tokens that support dual themes. This skill offers specific design rules to ensure your interface maintains consistency and accessibility across both light and dark modes.

What is the best way to maintain UI design consistency when refactoring with UnoCSS?

The best way to maintain UI consistency when refactoring with UnoCSS is to apply class-based semantic tokens and structured design rules. This skill provides the specific conventions needed to ensure design elements remain consistent and accessible across your project.