get-color

Description

This function returns one of the predefined shades of functional colours defined in rules/colors; it makes use of get-var() function which lives in init/functions to retrieve the key values of the colours map.

Parameters

$color-name: one of the functional colours
$color-variant: variant of the functional colour

Sass Usage

get-color(purple)
get-color(purple, x-light)

Usage

Usage example

No examples available.