Skip to content

Commit 210dfa0

Browse files
authored
Merge pull request #17 from ItsLiyua/main
A pywal16 template for the theme.
2 parents 9d480b7 + 14909a0 commit 210dfa0

File tree

1 file changed

+84
-0
lines changed

1 file changed

+84
-0
lines changed
+84
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
/**
2+
* @name system24
3+
* @description A tui-style discord theme.
4+
* @author refact0r, Liyua
5+
* @version 1.0.0
6+
* @invite nz87hXyvcy
7+
* @website https://github.com/refact0r/system24
8+
* @source https://github.com/refact0r/system24/blob/master/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/src/main.css'); /* main theme css. DO NOT REMOVE */
15+
@import url('https://refact0r.github.io/system24/src/unrounding.css'); /* gets rid of all rounded corners. remove if you want rounded corners. */
16+
17+
/* customize things here */
18+
:root {{
19+
--font: 'DM Mono'; /* UI font name. it must be installed on your system. */
20+
letter-spacing: -0.05ch; /* decreases letter spacing for better readability. */
21+
font-weight: 300; /* UI font weight. */
22+
--label-font-weight: 500; /* font weight for panel labels. */
23+
--corner-text: 'system24'; /* custom text to display in the corner. only works on windows. */
24+
--pad: 16px; /* padding between panels. */
25+
--txt-pad: 10px; /* padding inside panels to prevent labels from clipping */
26+
--panel-roundness: 0px; /* corner roundness of panels. ONLY WORKS IF unrounding.css IS REMOVED (see above). */
27+
28+
/* background colors */
29+
--bg-0: oklch(from {background} l c h); /* main background color. */
30+
--bg-1: oklch(from {background} calc(l + 0.04) c h); /* background color for secondary elements like code blocks, embeds, etc. */
31+
--bg-2: oklch(from {background} calc(l + 0.08) c h); /* color of neutral buttons. */
32+
--bg-3: oklch(from {background} calc(l + 0.12) c h); /* color of neutral buttons when hovered. */
33+
34+
/* state modifiers */
35+
--hover: oklch(54% 0 0 / 0.1); /* color of hovered elements. */
36+
--active: oklch(54% 0 0 / 0.2); /* color of elements when clicked. */
37+
--selected: var(--active); /* color of selected elements. */
38+
39+
/* text colors */
40+
--txt-dark: var(--bg-0); /* color of dark text on colored backgrounds. */
41+
--txt-link: var(--cyan); /* color of links. */
42+
--txt-0: oklch(from {foreground} 100% c h); /* color of bright/white text. */
43+
--txt-1: oklch(from {foreground} 80% c h); /* main text color. */
44+
--txt-2: oklch(from {foreground} 60% c h); /* color of secondary text like channel list. */
45+
--txt-3: oklch(from {foreground} 40% c h); /* color of muted text. */
46+
47+
/* accent colors */
48+
--acc-0: var(--purple); /* main accent color. */
49+
--acc-1: var(--purple-1); /* color of accent buttons when hovered. */
50+
--acc-2: var(--purple-2); /* color of accent buttons when clicked. */
51+
52+
/* borders */
53+
--border-width: 2px; /* panel border thickness. */
54+
--border-color: var(--bg-3); /* panel border color. */
55+
--border-hover-color: var(--acc-0); /* panel border color when hovered. */
56+
--border-transition: 0.2s ease; /* panel border transition. */
57+
58+
/* status dot colors */
59+
--online-dot: var(--green); /* color of online dot. */
60+
--dnd-dot: var(--pink); /* color of do not disturb dot. */
61+
--idle-dot: var(--yellow); /* color of idle dot. */
62+
--streaming-dot: var(--purple); /* color of streaming dot. */
63+
64+
/* mention/ping and message colors */
65+
--mention-txt: var(--acc-0); /* color of mention text. */
66+
--mention-bg: color-mix(in oklch, var(--acc-0), transparent 90%); /* background highlight of mention text. */
67+
--mention-overlay: color-mix(in oklch, var(--acc-0), transparent 90%); /* overlay color of messages that mention you. */
68+
--mention-hover-overlay: color-mix(in oklch, var(--acc-0), transparent 95%); /* overlay color of messages that mention you when hovered. */
69+
--reply-overlay: var(--active); /* overlay color of message you are replying to. */
70+
--reply-hover-overlay: var(--hover); /* overlay color of message you are replying to when hovered. */
71+
72+
/* color shades */
73+
--pink: oklch(from {color0} l c h);
74+
--pink-1: oklch(from var(--pink) calc(l - 0.1) c h);
75+
--pink-2: oklch(from var(--pink) calc(l - 0.2) c h);
76+
--purple: oklch(from {color1} l c h);
77+
--purple-1: oklch(from var(--purple) calc(l - 0.1) c h);
78+
--purple-2: oklch(from var(--purple) calc(l - 0.2) c h);
79+
--cyan: oklch(from {color2} l c h);
80+
--yellow: oklch(from {color3} l c h);
81+
--green: oklch(from {color4} l c h);
82+
--green-1: oklch(from var(--green) calc(l - 0.1) c h);
83+
--green-2: oklch(from var(--green) calc(l - 0.2) c h);
84+
}}

0 commit comments

Comments
 (0)