loborec / material-design-colors
Material design colors CSS
Installs: 37
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:CSS
This package is not auto-updated.
Last update: 2024-04-27 17:59:04 UTC
README
This is a color palette css file based on the material design colors. Each of these colors is defined as a color class for color and background-color properties.
Installation
You can install the library with composer or manually.
Composer
Step 1. Edit your composer.json
:
{ "require": { "loborec/material-design-colors": "1.0.0" } }
Step 2. Install it:
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar install
Step 3. Include in the webpage:
<link rel="stylesheet" type="text/css" href="[url to material.min.css]" media="screen, print" />
Manually From Release
Step 1. Download the latest release and upload the css files to a folder on your server.
Step 2. Include in the webpage:
<link rel="stylesheet" type="text/css" href="[url to material.min.css]" media="screen, print" />
Manually From Source
Step 1. Download the source and upload the css files to a folder on your server.
Step 2. Include in the webpage:
<link rel="stylesheet" type="text/css" href="[url to material.min.css]" media="screen, print" />
Basic Use
<div class='color-red-500 bg-pink-400'>Red text on pink background</div>