|
| 1 | +/** |
| 2 | + * @name system24 (everforest light) |
| 3 | + * @description a tui-like discord theme. |
| 4 | + * @author refact0r |
| 5 | + * @version 2.0.0 |
| 6 | + * @invite nz87hXyvcy |
| 7 | + * @website https://github.com/refact0r/system24 |
| 8 | + * @source https://github.com/refact0r/system24/blob/master/theme/system24.theme.css |
| 9 | + * @authorId 508863359777505290 |
| 10 | + * @authorLink https://www.refact0r.dev |
| 11 | +*/ |
| 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'; |
| 19 | + /* change to '' for default discord font */ |
| 20 | + --code-font: 'DM Mono'; |
| 21 | + /* change to '' for default discord font */ |
| 22 | + font-weight: 300; |
| 23 | + /* text font weight. 300 is light, 400 is normal. DOES NOT AFFECT BOLD TEXT */ |
| 24 | + letter-spacing: -0.05ch; |
| 25 | + /* decreases letter spacing for better readability. recommended on monospace fonts.*/ |
| 26 | + |
| 27 | + /* sizes */ |
| 28 | + --gap: 12px; |
| 29 | + /* spacing between panels */ |
| 30 | + --divider-thickness: 4px; |
| 31 | + /* thickness of unread messages divider and highlighted message borders */ |
| 32 | + --border-thickness: 2px; |
| 33 | + /* thickness of borders around main panels. DOES NOT AFFECT OTHER BORDERS */ |
| 34 | + --border-hover-transition: 0.2s ease; |
| 35 | + /* transition for borders when hovered */ |
| 36 | + |
| 37 | + /* animation/transition options */ |
| 38 | + --animations: on; |
| 39 | + /* off: disable animations/transitions, on: enable animations/transitions */ |
| 40 | + --list-item-transition: 0.2s ease; |
| 41 | + /* transition for list items */ |
| 42 | + --dms-icon-svg-transition: 0.4s ease; |
| 43 | + /* transition for the dms icon */ |
| 44 | + |
| 45 | + /* top bar options */ |
| 46 | + --top-bar-height: var(--gap); |
| 47 | + /* height of the top bar (discord default is 36px, old discord style is 24px, var(--gap) recommended if button position is set to titlebar) */ |
| 48 | + --top-bar-button-position: titlebar; |
| 49 | + /* off: default position, hide: hide buttons completely, serverlist: move inbox button to server list, titlebar: move inbox button to channel titlebar (will hide title) */ |
| 50 | + --top-bar-title-position: off; |
| 51 | + /* off: default centered position, hide: hide title completely, left: left align title (like old discord) */ |
| 52 | + --subtle-top-bar-title: off; |
| 53 | + /* off: default, on: hide the icon and use subtle text color (like old discord) */ |
| 54 | + |
| 55 | + /* window controls */ |
| 56 | + --custom-window-controls: off; |
| 57 | + /* off: default window controls, on: custom window controls */ |
| 58 | + --window-control-size: 14px; |
| 59 | + /* size of custom window controls */ |
| 60 | + |
| 61 | + /* dms button options */ |
| 62 | + --custom-dms-icon: off; |
| 63 | + /* off: use default discord icon, hide: remove icon entirely, custom: use custom icon */ |
| 64 | + --dms-icon-svg-url: url(''); |
| 65 | + /* icon svg url. MUST BE A SVG. */ |
| 66 | + --dms-icon-svg-size: 90%; |
| 67 | + /* size of the svg (css mask-size property) */ |
| 68 | + --dms-icon-color-before: var(--icon-secondary); |
| 69 | + /* normal icon color */ |
| 70 | + --dms-icon-color-after: var(--white); |
| 71 | + /* icon color when button is hovered/selected */ |
| 72 | + --custom-dms-background: off; |
| 73 | + /* off to disable, image to use a background image (must set url variable below), color to use a custom color/gradient */ |
| 74 | + --dms-background-image-url: url(''); |
| 75 | + /* url of the background image */ |
| 76 | + --dms-background-image-size: cover; |
| 77 | + /* size of the background image (css background-size property) */ |
| 78 | + --dms-background-color: linear-gradient(70deg, var(--blue-2), var(--purple-2), var(--red-2)); |
| 79 | + /* fixed color/gradient (css background property) */ |
| 80 | + |
| 81 | + /* background image options */ |
| 82 | + --background-image: off; |
| 83 | + /* off: no background image, on: enable background image (must set url variable below) */ |
| 84 | + --background-image-url: url(''); |
| 85 | + /* url of the background image */ |
| 86 | + |
| 87 | + /* transparency/blur options */ |
| 88 | + /* NOTE: TO USE TRANSPARENCY/BLUR, YOU MUST HAVE TRANSPARENT BG COLORS. FOR EXAMPLE: --bg-4: hsla(220, 15%, 10%, 0.7); */ |
| 89 | + --transparency-tweaks: off; |
| 90 | + /* off: no changes, on: remove some elements for better transparency */ |
| 91 | + --remove-bg-layer: off; |
| 92 | + /* off: no changes, on: remove the base --bg-3 layer for use with window transparency (WILL OVERRIDE BACKGROUND IMAGE) */ |
| 93 | + --panel-blur: off; |
| 94 | + /* off: no changes, on: blur the background of panels */ |
| 95 | + --blur-amount: 12px; |
| 96 | + /* amount of blur */ |
| 97 | + --bg-floating: var(--bg-3); |
| 98 | + /* set this to a more opaque color if floating panels look too transparent. only applies if panel blur is on */ |
| 99 | + |
| 100 | + /* other options */ |
| 101 | + --small-user-panel: on; |
| 102 | + /* off: default user panel, on: smaller user panel like in old discord */ |
| 103 | + |
| 104 | + /* unrounding options */ |
| 105 | + --unrounding: on; |
| 106 | + /* off: default, on: remove rounded corners from panels */ |
| 107 | + |
| 108 | + /* styling options */ |
| 109 | + --custom-spotify-bar: on; |
| 110 | + /* off: default, on: custom text-like spotify progress bar */ |
| 111 | + --ascii-titles: on; |
| 112 | + /* off: default, on: use ascii font for titles at the start of a channel */ |
| 113 | + --ascii-loader: system24; |
| 114 | + /* off: default, system24: use system24 ascii loader, cats: use cats loader */ |
| 115 | + |
| 116 | + /* panel labels */ |
| 117 | + --panel-labels: on; |
| 118 | + /* off: default, on: add labels to panels */ |
| 119 | + --label-color: var(--text-muted); |
| 120 | + /* color of labels */ |
| 121 | + --label-font-weight: 500; |
| 122 | + /* font weight of labels */ |
| 123 | +} |
| 124 | + |
| 125 | +/* color options */ |
| 126 | +:root { |
| 127 | + --colors: on; |
| 128 | + /* off: discord default colors, on: everforest custom colors */ |
| 129 | + |
| 130 | + /* text colors */ |
| 131 | + --text-0: #fdf6e3; |
| 132 | + /* text on colored elements */ |
| 133 | + --text-1: #5c6a72; |
| 134 | + /* other normally white text */ |
| 135 | + --text-2: var(--text-1); |
| 136 | + /* headings and important text */ |
| 137 | + --text-3: var(--text-1); |
| 138 | + /* normal text */ |
| 139 | + --text-4: var(--text-1); |
| 140 | + /* icon buttons and channels */ |
| 141 | + --text-5: var(--text-1); |
| 142 | + /* muted channels/chats and timestamps */ |
| 143 | + |
| 144 | + /* background and bright colors */ |
| 145 | + --bg-1: #efebd4; |
| 146 | + /* dark buttons when clicked */ |
| 147 | + --bg-2: #fdf6e3; |
| 148 | + /* dark buttons */ |
| 149 | + --bg-3: var(--bg-1); |
| 150 | + /* spacing, secondary elements */ |
| 151 | + --bg-4: var(--bg-1); |
| 152 | + /* main background color */ |
| 153 | + --hover: var(--bg-1); |
| 154 | + /* channels and buttons when hovered */ |
| 155 | + --active: #e0dcc7; |
| 156 | + /* channels and buttons when clicked or selected */ |
| 157 | + --active-2: #e0dcc7; |
| 158 | + /* extra state for transparent buttons */ |
| 159 | + --message-hover: var(--hover); |
| 160 | + /* messages when hovered */ |
| 161 | + |
| 162 | + /* accent colors */ |
| 163 | + --accent-1: var(--green-1); |
| 164 | + /* links and other accent text */ |
| 165 | + --accent-2: var(--green-2); |
| 166 | + /* small accent elements */ |
| 167 | + --accent-3: var(--green-3); |
| 168 | + /* accent buttons */ |
| 169 | + --accent-4: var(--green-4); |
| 170 | + /* accent buttons when hovered */ |
| 171 | + --accent-5: var(--green-5); |
| 172 | + /* accent buttons when clicked */ |
| 173 | + --accent-new: var(--red-2); |
| 174 | + /* stuff that's normally red like mute/deafen buttons */ |
| 175 | + --mention: linear-gradient(to right, color-mix(in hsl, var(--accent-2), transparent 90%) 40%, transparent); |
| 176 | + /* background of messages that mention you */ |
| 177 | + --mention-hover: linear-gradient(to right, color-mix(in hsl, var(--accent-2), transparent 95%) 40%, transparent); |
| 178 | + /* background of messages that mention you when hovered */ |
| 179 | + --reply: linear-gradient(to right, color-mix(in hsl, var(--text-3), transparent 90%) 40%, transparent); |
| 180 | + /* background of messages that reply to you */ |
| 181 | + --reply-hover: linear-gradient(to right, color-mix(in hsl, var(--text-3), transparent 95%) 40%, transparent); |
| 182 | + /* background of messages that reply to you when hovered */ |
| 183 | + |
| 184 | + /* status indicator colors */ |
| 185 | + --online: var(--green-2); |
| 186 | + /* change to #40a258 for default */ |
| 187 | + --dnd: var(--red-2); |
| 188 | + /* change to #d83a41 for default */ |
| 189 | + --idle: var(--yellow-2); |
| 190 | + /* change to #cc954c for default */ |
| 191 | + --streaming: var(--purple-2); |
| 192 | + /* change to ##9147ff for default */ |
| 193 | + --offline: var(--text-4); |
| 194 | + /* change to #82838b for default offline color */ |
| 195 | + |
| 196 | + /* border colors */ |
| 197 | + --border-light: var(--hover); |
| 198 | + /* general light border color */ |
| 199 | + --border: var(--active); |
| 200 | + /* general normal border color */ |
| 201 | + --border-hover: var(--accent-2); |
| 202 | + /* border color of panels when hovered */ |
| 203 | + --button-border: #5c6a72; |
| 204 | + /* neutral border color of buttons */ |
| 205 | + |
| 206 | + /* base colors */ |
| 207 | + --red-1: #f85552; |
| 208 | + --red-2: var(--red-1); |
| 209 | + --red-3: var(--red-1); |
| 210 | + --red-4: #fbe3da; |
| 211 | + --red-5: #fbe3da; |
| 212 | + |
| 213 | + --green-1: #8da101; |
| 214 | + --green-2: var(--green-1); |
| 215 | + --green-3: var(--green-1); |
| 216 | + --green-4: #EAEDC8; |
| 217 | + --green-5: #EAEDC8; |
| 218 | + |
| 219 | + --blue-1: #3a94c5; |
| 220 | + --blue-2: var(--blue-1); |
| 221 | + --blue-3: var(--blue-1); |
| 222 | + --blue-4: #E9F0E9; |
| 223 | + --blue-5: #E9F0E9; |
| 224 | + |
| 225 | + --yellow-1: #ea9d34; |
| 226 | + --yellow-2: var(--yellow-1); |
| 227 | + --yellow-3: var(--yellow-1); |
| 228 | + --yellow-4: #FAEDCD; |
| 229 | + --yellow-5: #FAEDCD; |
| 230 | + |
| 231 | + --purple-1: #DF69BA; |
| 232 | + --purple-2: var(--purple-1); |
| 233 | + --purple-3: var(--purple-1); |
| 234 | + --purple-4: var(--red-5); |
| 235 | + --purple-5: var(--red-5); |
| 236 | +} |
0 commit comments