system24
A tui-style discord theme.
89
Live preview
Full Discord interface with this theme applied โ powered by ThemePreview.
Screenshot
1
/**2
* @name system243
* @description a tui-style discord theme.4
* @author refact0r5
* @version 2.0.06
* @invite nz87hXyvcy7
* @website https://github.com/refact0r/system248
* @source https://github.com/refact0r/system24/blob/master/theme/system24.theme.css9
* @authorId 50886335977750529010
* @authorLink https://www.refact0r.dev11
*/12
13
/* import theme modules */14
@import url('https://refact0r.github.io/system24/build/system24.css');15
16
body {17
/* font, change to '' for default discord font */18
--font: 'DM Mono'; /* change to '' for default discord font */19
--code-font: 'DM Mono'; /* change to '' for default discord font */20
font-weight: 300; /* text font weight. 300 is light, 400 is normal. DOES NOT AFFECT BOLD TEXT */21
letter-spacing: -0.05ch; /* decreases letter spacing for better readability. recommended on monospace fonts.*/22
23
/* sizes */24
--gap: 12px; /* spacing between panels */25
--divider-thickness: 4px; /* thickness of unread messages divider and highlighted message borders */26
--border-thickness: 2px; /* thickness of borders around main panels. DOES NOT AFFECT OTHER BORDERS */27
--border-hover-transition: 0.2s ease; /* transition for borders when hovered */28
29
/* animation/transition options */30
--animations: on; /* off: disable animations/transitions, on: enable animations/transitions */31
--list-item-transition: 0.2s ease; /* transition for list items */32
--dms-icon-svg-transition: 0.4s ease; /* transition for the dms icon */33
34
/* top bar options */35
--top-bar-height: var(--gap); /* height of the top bar (discord default is 36px, old discord style is 24px, var(--gap) recommended if button position is set to titlebar) */36
--top-bar-button-position: titlebar; /* off: default position, hide: hide buttons completely, serverlist: move inbox button to server list, titlebar: move inbox button to channel titlebar (will hide title) */37
--top-bar-title-position: off; /* off: default centered position, hide: hide title completely, left: left align title (like old discord) */38
--subtle-top-bar-title: off; /* off: default, on: hide the icon and use subtle text color (like old discord) */39
40
/* window controls */41
--custom-window-controls: off; /* off: default window controls, on: custom window controls */42
--window-control-size: 14px; /* size of custom window controls */43
44
/* dms button options */45
--custom-dms-icon: off; /* off: use default discord icon, hide: remove icon entirely, custom: use custom icon */46
--dms-icon-svg-url: url(''); /* icon svg url. MUST BE A SVG. */47
--dms-icon-svg-size: 90%; /* size of the svg (css mask-size property) */48
--dms-icon-color-before: var(--icon-subtle); /* normal icon color */49
--dms-icon-color-after: var(--white); /* icon color when button is hovered/selected */50
--custom-dms-background: off; /* off to disable, image to use a background image (must set url variable below), color to use a custom color/gradient */51
--dms-background-image-url: url(''); /* url of the background image */52
--dms-background-image-size: cover; /* size of the background image (css background-size property) */53
--dms-background-color: linear-gradient(70deg, var(--blue-2), var(--purple-2), var(--red-2)); /* fixed color/gradient (css background property) */54
55
/* background image options */56
--background-image: off; /* off: no background image, on: enable background image (must set url variable below) */57
--background-image-url: url(''); /* url of the background image */58
59
/* transparency/blur options */60
/* NOTE: TO USE TRANSPARENCY/BLUR, YOU MUST HAVE TRANSPARENT BG COLORS. FOR EXAMPLE: --bg-4: hsla(220, 15%, 10%, 0.7); */61
--transparency-tweaks: off; /* off: no changes, on: remove some elements for better transparency */62
--remove-bg-layer: off; /* off: no changes, on: remove the base --bg-3 layer for use with window transparency (WILL OVERRIDE BACKGROUND IMAGE) */63
--panel-blur: off; /* off: no changes, on: blur the background of panels */64
--blur-amount: 12px; /* amount of blur */65
--bg-floating: var(--bg-3); /* set this to a more opaque color if floating panels look too transparent. only applies if panel blur is on */66
67
/* other options */68
--small-user-panel: on; /* off: default user panel, on: smaller user panel like in old discord */69
70
/* unrounding options */71
--unrounding: on; /* off: default, on: remove rounded corners from panels */72
73
/* styling options */74
--custom-spotify-bar: on; /* off: default, on: custom text-like spotify progress bar */75
--ascii-titles: on; /* off: default, on: use ascii font for titles at the start of a channel */76
--ascii-loader: system24; /* off: default, system24: use system24 ascii loader, cats: use cats loader */77
78
/* panel labels */79
--panel-labels: on; /* off: default, on: add labels to panels */80
--label-color: var(--text-muted); /* color of labels */81
--label-font-weight: 500; /* font weight of labels */82
}83
84
/* color options */85
:root {86
--colors: on; /* off: discord default colors, on: midnight custom colors */87
88
/* text colors */89
--text-0: var(--bg-4); /* text on colored elements */90
--text-1: oklch(95% 0 0); /* other normally white text */91
--text-2: oklch(85% 0 0); /* headings and important text */92
--text-3: oklch(75% 0 0); /* normal text */93
--text-4: oklch(60% 0 0); /* icon buttons and channels */94
--text-5: oklch(40% 0 0); /* muted channels/chats and timestamps */95
96
/* background and dark colors */97
--bg-1: oklch(31% 0 0); /* dark buttons when clicked */98
--bg-2: oklch(27% 0 0); /* dark buttons */99
--bg-3: oklch(23% 0 0); /* spacing, secondary elements */100
--bg-4: oklch(19% 0 0); /* main background color */101
--hover: oklch(54% 0 0 / 0.1); /* channels and buttons when hovered */102
--active: oklch(54% 0 0 / 0.2); /* channels and buttons when clicked or selected */103
--active-2: oklch(54% 0 0 / 0.3); /* extra state for transparent buttons */104
--message-hover: var(--hover); /* messages when hovered */105
106
/* accent colors */107
--accent-1: var(--purple-1); /* links and other accent text */108
--accent-2: var(--purple-2); /* small accent elements */109
--accent-3: var(--purple-3); /* accent buttons */110
--accent-4: var(--purple-4); /* accent buttons when hovered */111
--accent-5: var(--purple-5); /* accent buttons when clicked */112
--accent-new: var(--red-2); /* stuff that's normally red like mute/deafen buttons */113
--mention: linear-gradient(to right, color-mix(in hsl, var(--accent-2), transparent 90%) 40%, transparent); /* background of messages that mention you */114
--mention-hover: linear-gradient(to right, color-mix(in hsl, var(--accent-2), transparent 95%) 40%, transparent); /* background of messages that mention you when hovered */115
--reply: linear-gradient(to right, color-mix(in hsl, var(--text-3), transparent 90%) 40%, transparent); /* background of messages that reply to you */116
--reply-hover: linear-gradient(to right, color-mix(in hsl, var(--text-3), transparent 95%) 40%, transparent); /* background of messages that reply to you when hovered */117
118
/* status indicator colors */119
--online: var(--green-2); /* change to #40a258 for default */120
--dnd: var(--red-2); /* change to #d83a41 for default */121
--idle: var(--yellow-2); /* change to #cc954c for default */122
--streaming: var(--purple-2); /* change to ##9147ff for default */123
--offline: var(--text-4); /* change to #82838b for default offline color */124
125
/* border colors */126
--border-light: var(--hover); /* general light border color */127
--border: var(--active); /* general normal border color */128
--border-hover: var(--accent-2); /* border color of panels when hovered */129
--button-border: hsl(220, 0%, 100%, 0.1); /* neutral border color of buttons */130
131
/* base colors */132
--red-1: oklch(75% 0.13 0);133
--red-2: oklch(70% 0.13 0);134
--red-3: oklch(65% 0.13 0);135
--red-4: oklch(60% 0.13 0);136
--red-5: oklch(55% 0.13 0);137
138
--green-1: oklch(75% 0.12 170);139
--green-2: oklch(70% 0.12 170);140
--green-3: oklch(65% 0.12 170);141
--green-4: oklch(60% 0.12 170);142
--green-5: oklch(55% 0.12 160);143
144
--blue-1: oklch(75% 0.11 215);145
--blue-2: oklch(70% 0.11 215);146
--blue-3: oklch(65% 0.11 215);147
--blue-4: oklch(60% 0.11 215);148
--blue-5: oklch(55% 0.11 215);149
150
--yellow-1: oklch(80% 0.12 90);151
--yellow-2: oklch(75% 0.12 90);152
--yellow-3: oklch(70% 0.12 90);153
--yellow-4: oklch(65% 0.12 90);154
--yellow-5: oklch(60% 0.12 90);155
156
--purple-1: oklch(75% 0.12 310);157
--purple-2: oklch(70% 0.12 310);158
--purple-3: oklch(65% 0.12 310);159
--purple-4: oklch(60% 0.12 310);160
--purple-5: oklch(55% 0.12 310);161
}162