Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Color.es is a tiny bit CSS library fueled with SCSS on the back.

License

NotificationsYou must be signed in to change notification settings

misterzik/Colores

Repository files navigation

alt text

Color.es


Colores also known as Color.es

Color.es is a tiny bit CSS library fueled with SCSS on the back.

alt text

Installation

  • DownloadZIP or Clone Project
  • Bowerbower install colores

Usage

Color.es comes with a built-in demo, Please refer to folder/public. If you would like to skip the demo, all you have to do is:

  1. Include thecss files located in thedist folder on your root folder.
  2. Include this new files on yourindex.html.
<link rel="stylesheet" href="color.es.min.css">
  1. Use the Class namecolores to get the classes style properly place on your DOM, follow up with the color from the default palette.

Example )For this example, I am going to use the color yellow in default/primary color.

colores yellow - This will change the color of the container or background.

How About RED?

Pretty Simple, same idea behind, start by specifying the class namecolores follow by the colorred

<div> IS MY BG RED? </div>

W00t! w00t!, Sweet, but how about if i want to change the text color,

It's okay, we got ya all cover, now since we only want the text color to change instead of the background colorwe are going to replace the class namecolores fortxt-cls follow by the color

txt-cls yellow

HTML:

<div>  This is a Yellow Box</div>
<span>  This is a Yellow Text</span>
Put it together:
<div>  This is a Yellow Box  This is a <span>Dark Yellow</span> Text</div>
Colores Variations:

Use the proper class to change the style desiredtxt-cls orcolores yellow

Asides from that we have also included three tones asides from library primary tone in order to use ityou just have to specify the tone, if left blank the tone will go instantly to primary, you have three options light, dark, and darkerdepending on the option you will get the right property, per example.

colores yellow = Default Tonecolores yellow-light = Lighter tone from Default colores yellow-dark = Dark tone from Defaultcolores yellow-darker =  Darker tone from Dark Tone

Default Color Palette

Class NameColor NameExtra Option
coloresyellowlight,dark,darker
coloresbluelight,dark,darker
coloresredlight,dark,darker
colorespinklight,dark,darker
coloresorangelight,dark,darker
coloresmz-orangelight,dark,darker
colorespurplelight,dark,darker
colorescyanlight,dark,darker
coloresgreylight,dark,darker
coloresbrownlight,dark,darker
coloresgreenlight,dark,darker

About

Color.es is a tiny bit CSS library fueled with SCSS on the back.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

[8]ページ先頭

©2009-2025 Movatter.jp