1.0.4 • Published 3 years ago

@yfill/ant-design-colors v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Ant design colors

GitHub license Code Style NPM Package Monthly Downloads Build Size Dependencies Status DevDependencies Status

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>