naive-ui-dark-mode

Community

Dark mode and theme switching for Naive UI.

Authorjiaiyan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Naive UI dark mode skills provide a structured approach to implement dark/light theme switching, follow system preferences, and customize dark theme variables in Naive UI applications, reducing boilerplate and ensuring consistent styling.

Core Features & Use Cases

  • Seamless integration with Naive UI's n-config-provider and useOsTheme for automatic theme adaptation.
  • Manual and system-driven theme switching, including theme overrides and global styles.
  • Guidance for SSR and persistence to remember user preference.

Quick Start

Wrap your app in n-config-provider and toggle between darkTheme and null, optionally using useOsTheme to follow system settings.

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: naive-ui-dark-mode
Download link: https://github.com/jiaiyan/naive-ui-skills/archive/main.zip#naive-ui-dark-mode

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.