• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

zavoloklom/material-design-color-palette: Material Design Color Palette: LESS/CS ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

zavoloklom/material-design-color-palette

开源软件地址(OpenSource Url):

https://github.com/zavoloklom/material-design-color-palette

开源编程语言(OpenSource Language):

CSS 98.5%

开源软件介绍(OpenSource Introduction):

Material Design Color Palette 1.1.0

![Latest Version](https://img.shields.io/github/release/zavoloklom/material-design-color-palette.svg?style=flat-square&label=latest version) ![Software License](https://img.shields.io/badge/license-MIT License-blue.svg?style=flat-square) Total Downloads

NPM Dependency DevDependency Last Month Downloads

Material Design Color Palette

Material Design Color Palette: LESS/CSS toolkit

Color palette created and maintained by Google.

This color palette comprises primary and accent colors that can be used for illustration or to develop your brand colors. They’ve been designed to work harmoniously with each other.

Get started at http://zavoloklom.github.io/material-design-color-palette

Download: 1.1.0 (ZIP)

Install

Bower: bower install material-design-color-palette

Getting started

BASIC: Default CSS

Use this method to get the default Material Design Color Palette CSS.

  • Download latest version of Material Design Color Palette.
  • Unpack the entire material-design-color-palette archive into your project.
  • In the of your html, reference the location to your material-design-color-palette.min.css. <link rel="stylesheet" href="path/to/material-design-color-palette/css/material-design-color-palette.min.css">
  • Check out the Examples pages to start using Material Design Color Palette!

PRO: Custom LESS

Use this method to customize Material Design Color Palette using LESS.

  • Download latest version of Material Design Color Palette.
  • Unpack the entire material-design-color-palette archive into your project.
  • Open your project's path/to/material-design-color-palette/less/variables/colors.less to change HEX values.
  • Open your project's path/to/material-design-color-palette/less/variables/main.less to change prefixes @zmdc-css-prefix, @zmdc-text-prefix and @zmdc-bg-prefix.

Css class template: {@zmdc-css-prefix}-{@zmdc-text-prefix or @zmdc-bg-prefix}-{color name}-{color value}. Example: mdc-text-red-400

  • Re-compile your LESS if using a static compiler.
  • Check out the Examples pages to start using Material Design Color Palette!

License

Changelog

  • 1.1.0 - add some changes into LESS mixins and variables
  • 1.0.0 - add all colors from Google

Versioning

Material Design Color Palette will be maintained under the Semantic Versioning guidelines as much as possible. Releases will be numbered with the following format:

<major>.<minor>.<patch>

And constructed with the following guidelines:

  • New colors from Google or changes that breaking backward compatibility bumps the major (and resets the minor and patch)
  • New additions without breaking backward compatibility bumps the minor (and resets the patch)
  • Bug fixes and misc changes bumps the patch

For more information on SemVer, please visit http://semver.org.

Author

Donate




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap