summaryrefslogtreecommitdiffstats
path: root/src/_config.scss
blob: 284d6e7b4979df837ee0023b60b0ff0511d0ab85 (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
@use 'sass:list';
@use 'sass:map';
@use 'sass:math';
@use 'iro-sass/src/easing' as easing;
@use 'config.defaults' as def;

$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;