Giter Site home page Giter Site logo

toviszsolt / css-material-colors Goto Github PK

View Code? Open in Web Editor NEW
10.0 1.0 2.0 19 KB

CSS Material Design Background and Foreground colors

Home Page: https://codepen.io/badboy/full/BKPQWr

License: MIT License

material-colors css-material-colors css material-design material-components

css-material-colors's Introduction

CSS Material Colors

CSS library for Material Design Background and Foreground colors
Test it on CodePen: http://codepen.io/badboy/pen/BKPQWr/

1. Download CSS file, it's easy

Simply download the material-colors.css and link to your next HTML project.

2. Import downloaded CSS to your html file

Just import css into your html code between <head> section and set the path to css file, like this:

<html>
  <head>
    ...
    <link href="/css/material-colors.css" rel="stylesheet" type="text/css"/>
    ...
  </head>
  ...
</html>

3. Use & Enjoy the material colors

  • You can use the colors by class property on any tags like this: class="..."
  • Can be set background color by class: bg-...
  • Can be set foreground color by class: fg-...
  • May be call a simple color like this: bg-indigo or fg-pink
  • And may be call a color tone like this: bg-deep-purple-700 or fg-lime-a200

4. Colors and Tones

  • Colors: -red, -pink, -purple, -deep-purple, -indigo, -blue, -light-blue, -cyan, -teal, -green, -light-green, -lime, -yellow, -amber, -orange, -deep-orange, -brown, -grey, -blue-grey and without tones: -black, -white
  • Tones: -50, -100, -200, -300, -400, -500, -600, -700, -800, -900, -a100, -a200, -a400, -a700
  • Color palette: https://www.google.com/design/spec/style/color.html#color-color-palette

css-material-colors's People

Contributors

toviszsolt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.