Skip to content

Commit 53adea7

Browse files
committed
fix
1 parent 3f9b8a2 commit 53adea7

File tree

1 file changed

+147
-6
lines changed

1 file changed

+147
-6
lines changed

build/system24.css

Lines changed: 147 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,153 @@
33
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap');
44
@import url('https://fonts.cdnfonts.com/css/asciid');
55

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

20-
@container body style(--top-bar-button-position: titlebar) {
21-
.platform-osx.visual-refresh .wrapper_ef3116 {
22-
margin-top: 24px;
23-
}
24-
}
25-
26167
/* ascii.css */
27168
@property --ascii-titles {
28169
syntax: 'off | on';

0 commit comments

Comments
 (0)