@yfill/material-design-colors
v1.0.1
Published
A theme extension
Downloads
12
Maintainers
Readme
Material design colors
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>