/** * @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; }