• Stars
    star
    781
  • Rank 58,232 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 10 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🎨 A color collection available in sass, less, stylus and css

brand-colors is a collection of colors works available in sass, less, stylus and css

Installation

npm install brand-colors
bower install brand-colors

Usage

scss

@import 'bower_components/brand-colors/dist/latest/scss/brand-colors.latest.scss'

.a-div {
  color: $bc-spotify;
}

less

@import 'bower_components/brand-colors/dist/latest/less/brand-colors.latest.less'

.a-div {
  color: @bc-spotify;
}
in webpack
  • use relative path to the node_modules, for example:
  app
   |_node_modules
   |_src
      |_css
         |_app.less

in app.less:

@import '../../node_modules/brand-colors/dist/latest/less/brand-colors.latest.less';
  • use webpack's resolve mechanism
@import '~brand-colors/dist/latest/less/brand-colors.latest.less';

sass

@import 'bower_components/brand-colors/dist/latest/scss/brand-colors.latest.sass'

.a-div
  color: $bc-spotify

stylus

@import 'bower_components/brand-colors/dist/latest/stylus/brand-colors.latest.styl'

.a-div {
  color: $bc-spotify;
}

css

  <link rel="stylesheet" href="bower_components/brand-colors/dist/latest/css/brand-colors.latest.min.css">`

  <span class="bc-spotify">This text is spotify-green</span>
  <div class="bc-spotify-bg">This div has a spotify-green background</div>

postcss

Use postcss-brand-color plugin. Add it to PostCSS:

postcss([ require('postcss-brand-colors') ])

and use *-color names:

.a-div {
  color: spotify-color;
}

Run brand-colors.com locally

If you want to work on the static homepage, just run the following commands and you will get a live-reloading server listening for changes in /app and brandColors.js

npm install
gulp dev

Brands

Full list of colors A lot fo the colors comes from brandcolors.net, so a huge shout out to @galengidman.


reimertz.co Β Β·Β  GitHub @reimertz Β Β·Β  Twitter @reimertz

More Repositories

1

lagom

πŸ–Ό simplistic presentation generator
JavaScript
199
star
2

patatap-looper

JavaScript
97
star
3

trumpcss

πŸ™ˆπŸ™‰πŸ™Š css rules based on ignorance, racism, hypocrisy and stupidity
HTML
72
star
4

hackintosh-x570i-5950x-6800xt

This is my Open-Core Utilities + EFI for a Asus Strix x570i + AMD 5950x
Python
51
star
5

flag-colors

A color collection available in sass, less, stylus and css
CSS
31
star
6

countryparrots

🐦 one party-parrot for each country
HTML
30
star
7

letswork

πŸ‘·β€β™€οΈ A CLI tool to disable distractions when you need to focus
JavaScript
29
star
8

curse-words

JavaScript
25
star
9

gyver

command-line inteface for people who need inspiration
JavaScript
19
star
10

elliot_on_g0d

elliot_on_g0d
JavaScript
18
star
11

wcal

⏰ a time-tracker derived from ncal
JavaScript
16
star
12

push

πŸš€ deploy static content anonymously with ease
JavaScript
14
star
13

tf-examples

Nordic.js 2019 Tensorflow.js examples
JavaScript
10
star
14

anolog

anonymous, fully encrypted and open-sourced blogging platform
JavaScript
9
star
15

git.chat

git.chat
HTML
8
star
16

random-curse-words

JavaScript
7
star
17

tableflip

JavaScript
6
star
18

underCloud

☁️ Use iCloud as your backup solution
HTML
5
star
19

plus.js

JavaScript
4
star
20

flyga

✈️ prefetching has never been simpler
HTML
4
star
21

gatsby-source-hire-with-google

πŸ•΅οΈβ€β™€οΈ Gatsby source plugin for loading job openings from hire.withgoogle.com
JavaScript
3
star
22

nes-o-png

Nintendo Entertainment System over Portable Network Graphics (NESoPNG)
HTML
3
star
23

reimertz.co

JavaScript
3
star
24

brutalist.css

CSS
3
star
25

welcome-to-github

Awesome resources for new githubers
3
star
26

unity-roll-a-ball-js

JavaScript
2
star
27

gettin-into-the-tensorflow-slides

HTML
2
star
28

isomorphic-hook

an isomorphic hook boilerplate based on hook.io
JavaScript
2
star
29

opentracing.io_old

CSS
2
star
30

geo-location

JavaScript
1
star
31

feel-beats

JavaScript
1
star
32

reimertz

1
star
33

visited.js

1
star
34

IMat

One of the first projects I did at Chalmers - A foodshop online as a school project
Java
1
star
35

NES.png

1
star
36

weather

Weather App I made for a Hire Process, limited to 4 hours.
JavaScript
1
star
37

facegif

JavaScript
1
star
38

lit-markdown

es6 literal markdown parser
1
star
39

gistploy

JavaScript
1
star
40

expo-three-demo

Objective-C
1
star
41

reimertz-cli

πŸ’β€β™‚οΈ npm i reimertz -g && reimertz
JavaScript
1
star