summaryrefslogtreecommitdiff
path: root/home-manager/matugen/templates/vesktop.css
blob: 5e9119835a422f42e9af28f4c28a3d0cab5ebe3e (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
/**
 * @name Matugen Midnight
 * @description Dynamic Material You theme based on Midnight
 * @author Matugen
 * @version 1.0.0
 */

@import url('https://refact0r.github.io/midnight-discord/build/midnight.css');

body {
    --font: 'figtree';
    --gap: 12px;
    --divider-thickness: 4px;
    --border-thickness: 1px; /* Restored the 1px border */
    --animations: on;
    --top-bar-height: var(--gap);
    --top-bar-button-position: titlebar;
    --custom-window-controls: on;
    --custom-dms-icon: custom;
    --dms-icon-svg-url: url('https://refact0r.github.io/midnight-discord/assets/Font_Awesome_5_solid_moon.svg');
    --background-image: off;
    --transparency-tweaks: off;
    --small-user-panel: on;
}

:root {
    --colors: on;

    /* Original Backgrounds */
    --bg-4: {{colors.background.default.hex}} !important;
    --bg-3: {{colors.surface.default.hex}} !important;
    --bg-2: {{colors.surface_container_low.default.hex}} !important;
    --bg-1: {{colors.surface_container.default.hex}} !important;

    /* Original Text */
    --text-0: {{colors.background.default.hex}} !important;
    --text-1: {{colors.on_background.default.hex}} !important;
    --text-2: {{colors.on_surface.default.hex}} !important;
    --text-3: {{colors.on_surface_variant.default.hex}} !important;
    --text-4: {{colors.on_surface_variant.default.hex}} !important;
    --text-5: {{colors.outline.default.hex}} !important;

    /* Original Accents */
    --accent-1: {{colors.primary.default.hex}} !important;
    --accent-2: {{colors.primary.default.hex}} !important;
    --accent-3: {{colors.primary_container.default.hex}} !important;
    --accent-4: {{colors.on_primary_container.default.hex}} !important;
    --accent-5: {{colors.tertiary.default.hex}} !important;
    --accent-new: {{colors.tertiary.default.hex}} !important;

    /* Interactive States & Low Contrast Borders */
    --hover: {{colors.surface_container_high.default.hex}} !important;
    --active: {{colors.surface_container_highest.default.hex}} !important;
    
    /* Using subtle surface variables here reduces the harsh contrast */
    --border-light: {{colors.surface_container_highest.default.hex}} !important;
    --border: {{colors.surface_variant.default.hex}} !important;
    --border-hover: {{colors.outline_variant.default.hex}} !important;
    --button-border: {{colors.surface_container_highest.default.hex}} !important;

    /* Base Palette Overrides */
    --blue-1: {{colors.primary.default.hex}} !important;
    --blue-2: {{colors.primary.default.hex}} !important;
    --blue-3: {{colors.primary_container.default.hex}} !important;
    --blue-4: {{colors.on_primary_container.default.hex}} !important;
    --blue-5: {{colors.tertiary.default.hex}} !important;
}