tinted-discord/templates/default.mustache
2026-04-03 13:25:36 +02:00

66 lines
2.2 KiB
Text

/**
* @name midnight-refined
* @description A cleaner, higher-contrast version for Gruvbox/Tinty.
*/
@import url('https://refact0r.github.io/midnight-discord/build/midnight.css');
:root {
--font: 'figtree';
--corner-text: 'Midnight';
/* Status indicators using standard Base16 accents */
--online-indicator: #{{base0B-hex}};
--dnd-indicator: #{{base08-hex}};
--idle-indicator: #{{base0A-hex}};
--streaming-indicator: #{{base0E-hex}};
/* Accent colors - using base0D (Blue) for a clean feel */
--accent-1: #{{base0D-hex}};
--accent-2: #{{base0D-hex}};
--accent-3: #{{base0D-hex}};
--accent-4: #{{base0C-hex}};
--accent-5: #{{base0B-hex}};
--mention: rgba({{base0A-rgb-r}}, {{base0A-rgb-g}}, {{base0A-rgb-b}}, 0.1);
--mention-hover: rgba({{base0A-rgb-r}}, {{base0A-rgb-g}}, {{base0A-rgb-b}}, 0.15);
/* Text colors - bumping importance to base06/05 */
--text-0: #{{base00-hex}};
--text-1: #{{base06-hex}};
--text-2: #{{base06-hex}};
--text-3: #{{base05-hex}};
--text-4: #{{base04-hex}};
--text-5: #{{base03-hex}};
/* --- THE BACKGROUND OVERHAUL --- */
/* We use base00 as the "Deep" master background and base01/02 for floating panels */
--bg-4: #{{base00-hex}}; /* Master background (Deepest) */
--bg-3: #{{base01-hex}}; /* Secondary background */
--bg-2: #{{base02-hex}}; /* Buttons and UI elements */
--bg-1: #{{base03-hex}}; /* Active/Clicked states */
--hover: rgba({{base05-rgb-r}}, {{base05-rgb-g}}, {{base05-rgb-b}}, 0.05);
--active: rgba({{base05-rgb-r}}, {{base05-rgb-g}}, {{base05-rgb-b}}, 0.1);
--message-hover: rgba({{base05-rgb-r}}, {{base05-rgb-g}}, {{base05-rgb-b}}, 0.03);
/* Spacing & Roundness */
--spacing: 12px;
--roundness-xl: 22px;
--roundness-l: 20px;
--roundness-m: 16px;
--roundness-s: 12px;
--roundness-xs: 10px;
--roundness-xxs: 8px;
--discord-icon: none;
--moon-icon: block;
--moon-icon-url: url('https://upload.wikimedia.org/wikipedia/commons/c/c4/Font_Awesome_5_solid_moon.svg');
--moon-icon-size: auto;
}
/* Fix for selected text contrast */
.selected_f5eb4b,
.selected_f6f816 .link_d8bfb3 {
color: #{{base00-hex}} !important;
background: #{{base0D-hex}} !important;
}