summaryrefslogtreecommitdiff
path: root/scss/common.scss
blob: 3448bb51ba7b2d0a430ccc79f0ad125a0837f999 (plain)
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
@use "scheme";
@use "lib";
@use "font";

label.icon {
    @include font.icon;
}

.screen-corner {
    @include lib.rounded(15);

    background-color: scheme.$mantle;
}

.notification {
    .inner {
        @include font.main;

        color: scheme.$text;
        padding: lib.s(10) lib.s(12);

        @include lib.spacing($vertical: true);
    }

    .header,
    .content {
        padding: 0 lib.s(5);
    }

    .header {
        @include font.mono;
        @include lib.spacing(8);
    }

    .content {
        @include lib.spacing(10);
    }

    .app-icon {
        font-size: lib.s(18);
    }

    .image {
        @include lib.rounded(10);

        background-size: cover;
        background-position: center;
        margin-top: lib.s(3);
        min-width: lib.s(64);
        min-height: lib.s(64);

        &.small {
            min-width: lib.s(48);
            min-height: lib.s(48);
        }
    }

    .summary {
        @include font.title;

        font-size: lib.s(16);
    }

    .body {
        font-size: lib.s(14);
        color: scheme.$subtext0;
    }
}