diff --git a/README.md b/README.md index ab34724..b6d58e2 100644 --- a/README.md +++ b/README.md @@ -59,3 +59,12 @@ A monochrome version of the default theme with mostly neutral colors. [theme file](https://github.com/refact0r/system24/blob/main/theme/flavors/monochrome.theme.css) ![image](/assets/monochrome.png) + +### tokyo-night + +A clean ~~Visual Studio Code~~ Discord theme that celebrates the lights of Downtown Tokyo at night. +based on VSCode theme ["tokyo-night"](https://github.com/tokyo-night/tokyo-night-vscode-theme). + +[theme file](https://github.com/refact0r/system24/blob/main/theme/flavors/tokyo-night.theme.css) + +![image](/assets/tokyo-night.png) \ No newline at end of file diff --git a/assets/tokyo-night.png b/assets/tokyo-night.png new file mode 100644 index 0000000..492b3d9 Binary files /dev/null and b/assets/tokyo-night.png differ diff --git a/src/main.css b/src/main.css index f97b666..74509a1 100644 --- a/src/main.css +++ b/src/main.css @@ -829,6 +829,8 @@ html.theme-light { --scrollbar-thin-track: transparent; --spoiler-hidden-background: var(--primary-700); --spoiler-revealed-background: var(--primary-660); + --__spoiler-warning-text-color: var(--txt-1); + --__spoiler-warning-text-color--hover: var(--txt-0); --stage-card-pill-bg: var(--primary-630); --status-danger: var(--pink); --status-danger-background: var(--red-430); diff --git a/theme/flavors/tokyo-night.theme.css b/theme/flavors/tokyo-night.theme.css new file mode 100644 index 0000000..1055c4a --- /dev/null +++ b/theme/flavors/tokyo-night.theme.css @@ -0,0 +1,92 @@ +/** + * @name system24 (tokyo-night) + * @description A tui-style discord theme. + * @author refact0r, pixza_Yaoita + * @version 1.0.0 + * @invite nz87hXyvcy + * @website https://github.com/refact0r/system24 + * @source https://github.com/refact0r/system24/blob/master/system24.theme.css + * @authorId 508863359777505290 + * @authorLink https://www.refact0r.dev +*/ + +/* import theme modules */ +@import url('https://refact0r.github.io/system24/src/main.css'); /* main theme css. DO NOT REMOVE */ +@import url('https://refact0r.github.io/system24/src/unrounding.css'); /* gets rid of all rounded corners. remove if you want rounded corners. */ + +/* customize things here */ +:root { + --font: 'DM Mono'; /* UI font name. it must be installed on your system. */ + letter-spacing: -0.05ch; /* decreases letter spacing for better readability. */ + font-weight: 300; /* UI font weight. */ + --label-font-weight: 500; /* font weight for panel labels. */ + --corner-text: 'tokyo24'; /* custom text to display in the corner. only works on windows. */ + --pad: 18px; /* padding between panels. */ + --txt-pad: 10px; /* padding inside panels to prevent labels from clipping */ + --panel-roundness: 0px; /* corner roundness of panels. ONLY WORKS IF unrounding.css IS REMOVED (see above). */ + + /* background colors */ + --bg-0: oklch(20% 0.02 285); /* main background color. */ + --bg-1: oklch(24% 0.03 275); /* background color for secondary elements like code blocks, embeds, etc. */ + --bg-2: oklch(28% 0.05 275); /* color of neutral buttons. */ + --bg-3: oklch(32% 0.05 273); /* color of neutral buttons when hovered. */ + + /* state modifiers */ + --hover: oklch(54% 0.02 285 / 0.1); /* color of hovered elements. */ + --active: oklch(64% 0.10 18.5 / 0.2); /* color of elements when clicked. */ + --selected: var(--active); /* color of selected elements. */ + + /* text colors */ + --txt-dark: var(--txt-0); /* color of white text on colored backgrounds. */ + --txt-link: var(--cyan); /* color of links. */ + --txt-0: oklch(88% 0.06 275); /* color of bright/white text. */ + --txt-1: oklch(76% 0.05 275); /* main text color. */ + --txt-2: oklch(58% 0.05 275); /* color of secondary text like channel list. */ + --txt-3: oklch(38% 0.05 275); /* color of muted text. */ + + /* accent colors */ + --acc-0: var(--blurple); /* main accent color. */ + --acc-1: var(--blurple-1); /* color of accent buttons when hovered. */ + --acc-2: var(--blurple-2); /* color of accent buttons when clicked. */ + + /* borders */ + --border-width: 1px; /* panel border thickness. */ + --border-color: var(--bg-3); /* panel border color. */ + --border-hover-color: var(--acc-0); /* panel border color when hovered. */ + --border-transition: 0.2s ease; /* panel border transition. */ + + /* status dot colors */ + --online-dot: var(--green); /* color of online dot. */ + --dnd-dot: var(--pink); /* color of do not disturb dot. */ + --idle-dot: var(--yellow); /* color of idle dot. */ + --streaming-dot: var(--purple); /* color of streaming dot. */ + + /* mention/ping and message colors */ + --mention-txt: var(--acc-0); /* color of mention text. */ + --mention-bg: color-mix(in oklch, var(--acc-0), transparent 90%); /* background highlight of mention text. */ + --mention-overlay: color-mix(in oklch, var(--acc-0), transparent 90%); /* overlay color of messages that mention you. */ + --mention-hover-overlay: color-mix(in oklch, var(--acc-0), transparent 95%); /* overlay color of messages that mention you when hovered. */ + --reply-overlay: var(--active); /* overlay color of message you are replying to. */ + --reply-hover-overlay: var(--hover); /* overlay color of message you are replying to when hovered. */ + + /* color shades */ + --pink: oklch(72% 0.16 10.5); + --pink-1: oklch(62% 0.16 10.5); + --pink-2: oklch(52% 0.16 10.5); + --purple: oklch(75% 0.135 300); + --purple-1: oklch(65% 0.135 300); + --purple-2: oklch(55% 0.135 300); + --blurple: oklch(64% 0.20 275); + --blurple-1: oklch(72% 0.20 275); + --blurple-2: oklch(56% 0.20 275); + --cyan: oklch(82% 0.105 235); + --yellow: oklch(78% 0.105 75.5); + --green: oklch(79% 0.14 130); + --green-1: oklch(69% 0.14 130); + --green-2: oklch(59% 0.14 130); +} + +::selection { + background-color: #2f3549; + color: #c87779; +}