summaryrefslogtreecommitdiffstats
path: root/assets/css/scopes/_code.scss
blob: 3f50ce377ee5f7742f36d8158b88e15126009af8 (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
@include scope('code') {
    @include modifier('highlight') {
        pre {
            color: var(--fg-lo);
        }
    }

    pre {
        font-size: 1em;
        line-height: $line-height;
    }

    /* stylelint-disable selector-class-pattern */

    .c {
        color: var(--fg-hi);
    }

    .kt,
    .k,
    .kr,
    .o,
    .si,
    .p {
        color: var(--fg);
    }
}