~starkingdoms/starkingdoms

ref: cc6dfa91318c6269cb544d287a68646e6b5f9eb4 starkingdoms/starkingdoms-client/src/css/themes/catppuccin-common/definitions.css -rw-r--r-- 1.1 KiB
cc6dfa91 — core HMR for CSS, update deps on twite 2 years ago
                                                                                
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
/* Common name definitions for all Catppuccin-based themes. */
/* This is also a good reference if you want to make your own themes, for what variables you *must* define. */

:root {
    /* Background colors */
    --bg: rgb(var(--base));
    --bg-secondary-1: rgb(var(--crust));
    --bg-secondary-2: rgb(var(--mantle));

    --surface-0: rgb(var(--surface0));
    --surface-1: rgb(var(--surface1));
    --surface-2: rgb(var(--surface2));

    --overlay-0: rgb(var(--overlay0));
    --overlay-1: rgb(var(--overlay1));
    --overlay-2: rgb(var(--overlay2));

    /* Typography */
    --body: rgb(var(--text));
    --headline: rgb(var(--text));
    --sub-headline: rgb(var(--subtext0));
    --label: rgb(var(--subtext0));
    --subtle: rgb(var(--overlay1));
    --links: rgb(var(--blue));
    --links-transparent: rgba(var(--blue), 0.35);
    --links-ultratransparent: rgba(var(--blue), 0.15);
    --success: rgb(var(--green));
    --warning: rgb(var(--yellow));
    --error: rgb(var(--red));
    --tag: rgb(var(--blue));
    --pill: rgb(var(--blue));
    --sel-bg: rgba(var(--surface2), 0.4);
    --cursor: rgb(var(--rosewater));
}