Skip to content

🎨 Brandcolors (LESS & Sass Variables) for all known brands like Facebook, Twitter, Kickstarter and many more.

Notifications You must be signed in to change notification settings

keeev/brandcolors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Brandcolors (LESS & Sass Variables)

LESS and SASS variables for all known brands. Inspired by Brandcolors and some selfbuilt buttons in a sideproject a few days ago I thought it would be useful to have some brandcolors as variable for LESS and Sass in every project I need them.

Import

If you start your application from scratch you just can copy&paste or use style.less which automatically imports the Button-Mixin and Brandcolors Stylesheet.

@import "buttons/buttons-mixin.less";
@import "brandcolors.less";

of course you can get them wherever you want as long as you take care of the path.

How to use buttons?

In your template file you just give your button the class you add to the stylesheet later on.

<button class="facebook-button">
  facebook button
</button>

then you have to add:

.facebook-button {
  .sharing-button-small (@facebook);
}

where @facebookis the color which is imported from the brandcolors.less-file to your stylesheet where you define the button. The buttons mixin currently provides styling for "small"-buttons.

If you use LESS or SASS and if you're looking for a way to organize your Sass/LESS checkout Organize that Sass! on A List Apart.

See the Wiki if you want to know which colors are currently available.

About

🎨 Brandcolors (LESS & Sass Variables) for all known brands like Facebook, Twitter, Kickstarter and many more.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages