summaryrefslogtreecommitdiffstats
path: root/assets/css/_declare-vars.scss
blob: 6ffbb1194ce23a0c0042ea020e5dc050441e871c (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
@use 'iro-sass/src/index' as iro;
@use 'iro-design/src/functions' as fn;

@include iro.props-store((
    --dims: (
        --font-size: (
            --50:   iro.fn-px-to-rem(13px),
            --75:   iro.fn-px-to-rem(14px),
            --100:  iro.fn-px-to-rem(16px),
            --150:  iro.fn-px-to-rem(18px),
            --200:  iro.fn-px-to-rem(20px),
            --300:  iro.fn-px-to-rem(24px),
            --400:  iro.fn-px-to-rem(28px),
            --500:  iro.fn-px-to-rem(32px),
            --600:  iro.fn-px-to-rem(36px),
            --700:  iro.fn-px-to-rem(40px),
            --800:  iro.fn-px-to-rem(45px),
            --900:  iro.fn-px-to-rem(50px),
            --1000: iro.fn-px-to-rem(60px),
            --1100: iro.fn-px-to-rem(70px),
        ),

        --header: (
            --height: fn.dim(--size --800),
        ),
    )
), 'dims');

@include iro.props-store((
    --dims: (
        --font-size: (
            --50:   iro.fn-px-to-rem(11px),
            --75:   iro.fn-px-to-rem(13px),
            --100:  iro.fn-px-to-rem(14px),
            --150:  iro.fn-px-to-rem(16px),
            --200:  iro.fn-px-to-rem(18px),
            --300:  iro.fn-px-to-rem(20px),
            --400:  iro.fn-px-to-rem(22px),
            --500:  iro.fn-px-to-rem(24px),
            --600:  iro.fn-px-to-rem(28px),
            --700:  iro.fn-px-to-rem(32px),
            --800:  iro.fn-px-to-rem(36px),
            --900:  iro.fn-px-to-rem(40px),
            --1000: iro.fn-px-to-rem(45px),
            --1100: iro.fn-px-to-rem(50px),
        ),

        --header: (
            --height: fn.dim(--size --700),
        ),
    )
), 'sm');

@include iro.props-store((
    --dims: (
        --font-size: (
            --50:   iro.fn-px-to-rem(11px),
            --75:   iro.fn-px-to-rem(13px),
            --100:  iro.fn-px-to-rem(14px),
            --150:  iro.fn-px-to-rem(16px),
            --200:  iro.fn-px-to-rem(18px),
            --300:  iro.fn-px-to-rem(20px),
            --400:  iro.fn-px-to-rem(22px),
            --500:  iro.fn-px-to-rem(24px),
            --600:  iro.fn-px-to-rem(26px),
            --700:  iro.fn-px-to-rem(28px),
            --800:  iro.fn-px-to-rem(30px),
            --900:  iro.fn-px-to-rem(34px),
            --1000: iro.fn-px-to-rem(38px),
            --1100: iro.fn-px-to-rem(42px),
        ),
    )
), 'xs');

@include iro.props-store((
    --colors: (
        --gray: fn.gray-palette(15%),
    ),
), 'palette-dark-lo');