summaryrefslogtreecommitdiffstats
path: root/src/_config.scss
blob: e0ae93370f17cf8278f67ef2607bef03ddb93a92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
@use 'sass:list';
@use 'sass:map';
@use 'sass:math';
@use 'iro-sass/src/easing' as easing;
@use 'config.defaults' as def;

$palette-chroma-easing: def.$palette-chroma-easing !default;

$static-colors-override: () !default;
$static-colors: map.deep-merge(def.$static-colors, $static-colors-override) !default;

$semantic-colors-common-override: () !default;
$semantic-colors-common: map.deep-merge(def.$semantic-colors-common, $semantic-colors-common-override) !default;

$theme-light-override: () !default;
$theme-light: map.deep-merge(def.$theme-light, $theme-light-override) !default;

$theme-dark-override: () !default;
$theme-dark: map.deep-merge(def.$theme-dark, $theme-dark-override) !default;

$themes-override: () !default;
$themes: map.deep-merge((
    --main: (
        light: $theme-light,
        dark:  $theme-dark,
    ),
), $themes-override) !default;

$theme-default: list.nth(map.keys($themes), 1) !default;