Host socialColors yourself

Prefer to get a copy and use socialColors alongside your own project’s source code while building locally and serving in production? Downloading and hosting socialColors yourself is great for when you have many sites or apps in one codebase or want to customize parts of socialColors for your workflow.

You've download a copy already, right?

Make sure you've downloaded a copy of our files. You'll need it to do any of the following things we'll be walking through.


What’s in the Download?

The socialColors Package contains the following directories and files:

Files & Folders

What they are

Where you should start


Stylesheets for your colors



Sass pre-processor


Using Colors with CSS

The /css/socialcolors.css file contains the core stylings plus all of the colors that you´ll need when using socialColors.

Copy the entire /css/socialcolors.css into your project´s static assets directory (or where ever you prefer to keep front end assets or vendor stuff)

Add a reference to the copied /css/socialcolors.css file into the <head> of each template or page that you want to use socialColors on.

  <link href="/your-path-to-socialcolors/css/socialcolors.css" rel="stylesheet">
  <!--load all styles -->
  <!-- Colors -->  
  <p class="sc sc-instagram sc-color">Test</p>
  <div class="sc sc-instagram sc-hover"></div>
  <!-- Background-Colors --> 
  <p class="sc sc-instagram sc-background">Test</p>
  <div class="sc sc-instagram sc-background-hover"></div>

Using a CSS Pre-Processor?

Using the /scssversions of Font socialColors we've bundled in the download? Check out our Sass docs for details on their contents. Once you've compiled them into CSS, you can follow the CSS-focused steps noted here to handle hosting and referencing colors.

Last updated