39 lines
1.8 KiB
CSS
39 lines
1.8 KiB
CSS
/*
|
|
* Colors of the terminal and the static pages, taken from the Security Command
|
|
* Gitea theme. On the server, config/theme.css is appended to this file, so an
|
|
* override only needs the variables it changes. Most variables fall back to
|
|
* the names Gitea themes use, so the :root block of a Gitea theme works as an
|
|
* override as well.
|
|
*/
|
|
:root {
|
|
color-scheme: dark;
|
|
|
|
--background: var(--color-body, #060404);
|
|
--surface: var(--color-box-header, #120e0e);
|
|
--border: var(--color-light-border, #2a2223);
|
|
--text: var(--color-text, #e6dfdf);
|
|
--muted: var(--color-text-light-2, #948787);
|
|
--accent: var(--color-primary, #d24654);
|
|
--warning: var(--color-warning-text, #db6b76);
|
|
--cursor: var(--color-primary, #d24654);
|
|
--selection: var(--color-primary-alpha-50, #d2465480);
|
|
|
|
/* The 16 terminal colors. */
|
|
--ansi-black: var(--color-ansi-black, #202225);
|
|
--ansi-red: var(--color-ansi-red, #cc4848);
|
|
--ansi-green: var(--color-ansi-green, #87ab63);
|
|
--ansi-yellow: var(--color-ansi-yellow, #cc9903);
|
|
--ansi-blue: var(--color-ansi-blue, #3a8ac6);
|
|
--ansi-magenta: var(--color-ansi-magenta, #d22e8b);
|
|
--ansi-cyan: var(--color-ansi-cyan, #00918a);
|
|
--ansi-white: var(--color-ansi-white, #c1c3c8);
|
|
--ansi-bright-black: var(--color-ansi-bright-black, #45484e);
|
|
--ansi-bright-red: var(--color-ansi-bright-red, #d15a5a);
|
|
--ansi-bright-green: var(--color-ansi-bright-green, #93b373);
|
|
--ansi-bright-yellow: var(--color-ansi-bright-yellow, #eaaf03);
|
|
--ansi-bright-blue: var(--color-ansi-bright-blue, #4e96cc);
|
|
--ansi-bright-magenta: var(--color-ansi-bright-magenta, #d74397);
|
|
--ansi-bright-cyan: var(--color-ansi-bright-cyan, #00b6ad);
|
|
--ansi-bright-white: var(--color-ansi-bright-white, #f8f8f8);
|
|
}
|