@yfill/ant-design-colors
v1.0.4
Published
A theme extension
Downloads
12
Maintainers
Readme
Ant design colors
A theme extension.
Install
using npm:
npm install @yfill/ant-design-colors --save
or using yarn:
yarn add @yfill/ant-design-colors
Usage
Import resources and use the use method to install, set the color( red / volcano / orange / gold / yellow / lime / green / cyan / blue / geekblue / purple / magenta / grey ).
import Theme from "@yfill/theme"; import AntDesignColors from "@yfill/ant-design-colors"; Theme.run() .use(AntDesignColors, "blue");
<script src="https://unpkg.com/@yfill/theme"></script> <script src="https://unpkg.com/@yfill/ant-design-colors"></script> <script> Theme.run() .use(AntDesignColors, "blue"); </script>