summaryrefslogtreecommitdiffstats
path: root/assets/sass/_var.scss
blob: 52baa507c21ba66a565fece33e6b95cc53667d57 (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
// colors
$color-primary: #8AA2D3 !default; // https://irocore.com/aofuji/
$color-primary-dark: #3B469B !default; // https://irocore.com/aomurasaki/
$color-secondary: #8F82BC !default; // https://irocore.com/fujimurasaki/
$color-mute: #9EA1A3 !default; // https://irocore.com/suzu-iro/
$color-spliter: #E5E2E4 !default; // https://irocore.com/komachinezu/

// spliter css
$spliter: 1px solid $color-spliter;

// font size list
$font-size-logo: 2.5em; // Logo Only
$font-size-l1: 1.75em; // Primer CSS H1
$font-size-l2: 1.5em; // Primer CSS H2
$font-size-l3: 1.25em; // Primer CSS H3
$font-size-l4: 1em; // Primer CSS H4 & Normal Text

// link color mixin
@mixin link-primary {
    a {
        color: $color-primary;
    }

    a:hover {
        color: $color-secondary;
        text-decoration: none;
    }
}

@mixin link-secondary {
    a {
        color: $color-secondary;
    }

    a:hover {
        color: $color-primary-dark;
        text-decoration: none;
    }
}

// title css which also used in 404
@mixin pdsans-title {
    font-family: 'Product Sans', -apple-system, BlinkMacSystemFont, Arial, monospace;
    font-weight: 700;
    font-display: swap;
    font-size: $font-size-logo;
    white-space: nowrap;
    display: block;
    color: $color-primary;
}