Skip to Content
Menu

$brands

A list of well-known brand colors.

Sass May 29, 2018

Usage

This is a variable or event handle.

Examples

Get the primary color using the built-in Sass function map-get()

Sass
.element {background: map-get($brands, 'phg');}

Get the secondary (or other) color using the built-in Sass function map-get() and nth()

Sass
.element {background: nth(map-get($brands, 'phg'), 2);}

Get the primary color using the Nebula brand() function.

Sass
.element {background: brand($phg);}

Get the secondary (or other) color using the Nebula brand() function.

Sass
.element {background: brand($phg, 2);}
Was this page helpful? Yes No


    A feedback message is required to submit this form.


    Please check that you have entered a valid email address.

    Enter your email address if you would like a response.

    Thank you for your feedback!

    Source File

    Located in /assets/scss/partials/_variables.scss.