1.0.1 • Published 3 years ago

@yfill/material-design-colors v1.0.1

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

Material 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/material-design-colors --save

or using yarn:

yarn add @yfill/material-design-colors

Usage

  • Import resources and use the use method to install, set the color( red / pink / purple / deep-purple / indigo / blue / light-blue / cyan / teal / green / light-green / lime / yellow / amber / orange / deep-range / brown / gray / blue-gray ).

    import Theme from "@yfill/theme";
    import MaterialDesignColors from "@yfill/material-design-colors";
    Theme.run().use(MaterialDesignColors, "blue");
    <script src="https://unpkg.com/@yfill/theme"></script>
    <script src="https://unpkg.com/@yfill/material-design-colors"></script>
    <script>
      Theme.run().use(MaterialDesignColors, "blue");
    </script>