get-config

Description

In order to avoid repetition and ensure consistency of basic rules, Radius comes with a configuration map which defines global settings, for instance the baseline or the agreed tshirt sizing rules. The configuration map itself lives in init/config.scss but you can extract the settings using this method.

Parameters

$key: the id of the setting
$index: the index of the item, if setting contains a list

Sass Usage

get-config(baseline)
get-config(tshirt-scale, 1)

Usage

Usage example

No examples available.