Skip to content

This repository enables easy theme customization in ant-design-vue1.x with CSS variables. It includes theme style files, configuration, and examples for seamless integration.

Notifications You must be signed in to change notification settings

Yowi/css-custom-properties

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

css-custom-properties

Don't doubt! Don't think too much! CSS custom properties (variables) are the best solution to switch themes.

This repository provides a solution for using CSS custom properties with Ant Design Vue 1.x to enable seamless theme customization.

  • Feasible: There are currently no working examples on the Ant Design Vue Pro .
  • Simple: Uses native CSS syntax.
  • Fast: No JavaScript, no preprocessing, and no calculation required.

Usage

Configuration

Update your vue.config.js or App.vue

Test CSS variables

npm run serve

Generating a Local CSS Variables File

npm run build

About

This repository enables easy theme customization in ant-design-vue1.x with CSS variables. It includes theme style files, configuration, and examples for seamless integration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published