Skip to content

saulchelewani/scss-color-palette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SCSS Color Palette

A 54 shade color palette for branded designs. It uses hsl values to create 9 lighter or darker shades of your preferred primary color, secondary color, amber, red, green and grey/neutral

1. How to use

  • Update $primary and $secondary to your preferred hue values.
  • Import _colors.scss to your base scss file: @import "colors".
  • In your scss file you can use color: neutral($foreground) or background-color: spin($primary, $background) etc.

2. Available Color Variables

2.1 Neutral/Grey Color Shades

Choose your shade by calling neutral($shade)

2.1.1 Available Neutral Shades

You can pass any of the following variables for neutral color shades
foreground, darkest, darker, dark, light, lighter, lightest, background.

2.1.2 Example

background-color: neutral($light);
For base color, use neutral() without an argument

2.2 Various Color Shades

Choose your color by spinning the hue wheel and selecting the shade of that color: spin($baseColor, $shade)

2.2.1 Available Base Colors

You can pass any of the following variables as baseColor:
primary, secondary, amber, green, red

2.2.2 Available Shades

You can pass any of the following variables for various color shade:
foreground, darkest, darker, dark, light, lighter, lightest, background.

2.2.3 Example

color: spin($red, $darker);
For base color use spin($red) without the second argument.

About

A 54 shade color palette for branded designs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages