[a] add new gitpot homepage variables to css themes

This commit is contained in:
Sangelo 2024-10-17 17:42:26 +02:00
parent 4cd6308fc0
commit e42b21162f
9 changed files with 1264 additions and 1200 deletions

View file

@ -1,2 +1,6 @@
@import "theme-catppuccin-latte-peach.css"; @import "theme-catppuccin-latte-peach.css";
@import "theme-catppuccin-frappe-peach.css" (prefers-color-scheme: dark); @import "theme-catppuccin-frappe-peach.css" (prefers-color-scheme: dark);
/* gitpot homepage */
@import "vars-light.css";
@import "vars-dark.css" (prefers-color-scheme: dark);

View file

@ -191,13 +191,13 @@
.emoji[aria-label="ON! arrow"], .emoji[aria-label="ON! arrow"],
.emoji[aria-label="SOON arrow"], .emoji[aria-label="SOON arrow"],
.emoji[aria-label="heavy dollar sign"], .emoji[aria-label="heavy dollar sign"],
.emoji[aria-label=copyright], .emoji[aria-label="copyright"],
.emoji[aria-label=registered], .emoji[aria-label="registered"],
.emoji[aria-label="trade mark"], .emoji[aria-label="trade mark"],
.emoji[aria-label=multiply], .emoji[aria-label="multiply"],
.emoji[aria-label=plus], .emoji[aria-label="plus"],
.emoji[aria-label=minus], .emoji[aria-label="minus"],
.emoji[aria-label=divide], .emoji[aria-label="divide"],
.emoji[aria-label="curly loop"], .emoji[aria-label="curly loop"],
.emoji[aria-label="double curly loop"], .emoji[aria-label="double curly loop"],
.emoji[aria-label="wavy dash"], .emoji[aria-label="wavy dash"],
@ -207,14 +207,20 @@
filter: invert(100%) hue-rotate(180deg); filter: invert(100%) hue-rotate(180deg);
} }
.ui.ui.ui.button:not(.inverted, .basic).primary, .ui.ui.ui.button:not(.inverted, .basic).green, .ui.ui.ui.button:not(.inverted, .basic).red, .ui.ui.ui.button:not(.inverted, .basic).teal, .ui.ui.ui.button:not(.inverted, .basic).primary,
.ui.ui.ui.button:not(.inverted, .basic).green,
.ui.ui.ui.button:not(.inverted, .basic).red,
.ui.ui.ui.button:not(.inverted, .basic).teal,
.ui.ui.ui.label:not(.inverted, .basic).primary, .ui.ui.ui.label:not(.inverted, .basic).primary,
.ui.ui.ui.label:not(.inverted, .basic).green, .ui.ui.ui.label:not(.inverted, .basic).green,
.ui.ui.ui.label:not(.inverted, .basic).red, .ui.ui.ui.label:not(.inverted, .basic).red,
.ui.ui.ui.label:not(.inverted, .basic).teal { .ui.ui.ui.label:not(.inverted, .basic).teal {
color: #232634; color: #232634;
} }
.ui.ui.ui.button:not(.inverted, .basic).primary:hover, .ui.ui.ui.button:not(.inverted, .basic).green:hover, .ui.ui.ui.button:not(.inverted, .basic).red:hover, .ui.ui.ui.button:not(.inverted, .basic).teal:hover, .ui.ui.ui.button:not(.inverted, .basic).primary:hover,
.ui.ui.ui.button:not(.inverted, .basic).green:hover,
.ui.ui.ui.button:not(.inverted, .basic).red:hover,
.ui.ui.ui.button:not(.inverted, .basic).teal:hover,
.ui.ui.ui.label:not(.inverted, .basic).primary:hover, .ui.ui.ui.label:not(.inverted, .basic).primary:hover,
.ui.ui.ui.label:not(.inverted, .basic).green:hover, .ui.ui.ui.label:not(.inverted, .basic).green:hover,
.ui.ui.ui.label:not(.inverted, .basic).red:hover, .ui.ui.ui.label:not(.inverted, .basic).red:hover,
@ -811,3 +817,6 @@
.monaco-editor .bracket-highlighting-5 { .monaco-editor .bracket-highlighting-5 {
color: #c8b2ec !important; color: #c8b2ec !important;
} }
/* gitpot homepage */
@import "vars-dark.css";

View file

@ -183,14 +183,20 @@
--color-active-line: #bcc0cc; --color-active-line: #bcc0cc;
} }
.ui.ui.ui.button:not(.inverted, .basic).primary, .ui.ui.ui.button:not(.inverted, .basic).green, .ui.ui.ui.button:not(.inverted, .basic).red, .ui.ui.ui.button:not(.inverted, .basic).teal, .ui.ui.ui.button:not(.inverted, .basic).primary,
.ui.ui.ui.button:not(.inverted, .basic).green,
.ui.ui.ui.button:not(.inverted, .basic).red,
.ui.ui.ui.button:not(.inverted, .basic).teal,
.ui.ui.ui.label:not(.inverted, .basic).primary, .ui.ui.ui.label:not(.inverted, .basic).primary,
.ui.ui.ui.label:not(.inverted, .basic).green, .ui.ui.ui.label:not(.inverted, .basic).green,
.ui.ui.ui.label:not(.inverted, .basic).red, .ui.ui.ui.label:not(.inverted, .basic).red,
.ui.ui.ui.label:not(.inverted, .basic).teal { .ui.ui.ui.label:not(.inverted, .basic).teal {
color: #eff1f5; color: #eff1f5;
} }
.ui.ui.ui.button:not(.inverted, .basic).primary:hover, .ui.ui.ui.button:not(.inverted, .basic).green:hover, .ui.ui.ui.button:not(.inverted, .basic).red:hover, .ui.ui.ui.button:not(.inverted, .basic).teal:hover, .ui.ui.ui.button:not(.inverted, .basic).primary:hover,
.ui.ui.ui.button:not(.inverted, .basic).green:hover,
.ui.ui.ui.button:not(.inverted, .basic).red:hover,
.ui.ui.ui.button:not(.inverted, .basic).teal:hover,
.ui.ui.ui.label:not(.inverted, .basic).primary:hover, .ui.ui.ui.label:not(.inverted, .basic).primary:hover,
.ui.ui.ui.label:not(.inverted, .basic).green:hover, .ui.ui.ui.label:not(.inverted, .basic).green:hover,
.ui.ui.ui.label:not(.inverted, .basic).red:hover, .ui.ui.ui.label:not(.inverted, .basic).red:hover,
@ -787,3 +793,6 @@
.monaco-editor .bracket-highlighting-5 { .monaco-editor .bracket-highlighting-5 {
color: #7042b9 !important; color: #7042b9 !important;
} }
/* gitpot homepage */
@import "vars-light.css";

View file

@ -1,2 +1,6 @@
@import "./theme-gitea-light.css" (prefers-color-scheme: light); @import "./theme-gitea-light.css" (prefers-color-scheme: light);
@import "./theme-gitea-dark.css" (prefers-color-scheme: dark); @import "./theme-gitea-dark.css" (prefers-color-scheme: dark);
/* gitpot homepage */
@import "vars-light.css";
@import "vars-dark.css" (prefers-color-scheme: dark);

View file

@ -199,7 +199,12 @@
--color-input-border-hover: var(--color-secondary-dark-1); --color-input-border-hover: var(--color-secondary-dark-1);
--color-header-wrapper: #191d20; --color-header-wrapper: #191d20;
--color-light: #00000028; --color-light: #00000028;
--color-light-mimic-enabled: rgba(0, 0, 0, calc(40 / 255 * 222 / 255 / var(--opacity-disabled))); --color-light-mimic-enabled: rgba(
0,
0,
0,
calc(40 / 255 * 222 / 255 / var(--opacity-disabled))
);
--color-light-border: #ffffff28; --color-light-border: #ffffff28;
--color-hover: #ffffff19; --color-hover: #ffffff19;
--color-active: #ffffff24; --color-active: #ffffff24;
@ -218,7 +223,9 @@
--color-project-board-bg: var(--color-secondary-light-2); --color-project-board-bg: var(--color-secondary-light-2);
--color-project-board-dark-label: #111111; --color-project-board-dark-label: #111111;
--color-project-board-light-label: #eeeeee; --color-project-board-light-label: #eeeeee;
--color-caret: var(--color-text); /* should ideally be --color-text-dark, see #15651 */ --color-caret: var(
--color-text
); /* should ideally be --color-text-dark, see #15651 */
--color-reaction-bg: #ffffff12; --color-reaction-bg: #ffffff12;
--color-reaction-hover-bg: var(--color-primary-light-4); --color-reaction-hover-bg: var(--color-primary-light-4);
--color-reaction-active-bg: var(--color-primary-light-5); --color-reaction-active-bg: var(--color-primary-light-5);
@ -262,3 +269,6 @@
.emoji[aria-label="musical notes"] { .emoji[aria-label="musical notes"] {
filter: invert(100%) hue-rotate(180deg); filter: invert(100%) hue-rotate(180deg);
} }
/* gitpot homepage */
@import "vars-dark.css";

View file

@ -199,7 +199,12 @@
--color-input-border-hover: var(--color-secondary-dark-1); --color-input-border-hover: var(--color-secondary-dark-1);
--color-header-wrapper: transparent; --color-header-wrapper: transparent;
--color-light: #00000006; --color-light: #00000006;
--color-light-mimic-enabled: rgba(0, 0, 0, calc(6 / 255 * 222 / 255 / var(--opacity-disabled))); --color-light-mimic-enabled: rgba(
0,
0,
0,
calc(6 / 255 * 222 / 255 / var(--opacity-disabled))
);
--color-light-border: #0000001d; --color-light-border: #0000001d;
--color-hover: #00000014; --color-hover: #00000014;
--color-active: #0000001b; --color-active: #0000001b;
@ -238,3 +243,6 @@
accent-color: var(--color-accent); accent-color: var(--color-accent);
color-scheme: light; color-scheme: light;
} }
/* gitpot homepage */
@import "vars-light.css";

View file

@ -1,2 +1,6 @@
@import "theme-gitpot-light.css"; @import "theme-gitpot-light.css";
@import "theme-gitpot-dark.css" (prefers-color-scheme: dark); @import "theme-gitpot-dark.css" (prefers-color-scheme: dark);
/* gitpot homepage */
@import "vars-light.css";
@import "vars-dark.css" (prefers-color-scheme: dark);

View file

@ -11,26 +11,26 @@
@import "../codemirror/dark.css"; @import "../codemirror/dark.css";
:root { :root {
--steel-900: #10161D; --steel-900: #10161d;
--steel-850: #131A21; --steel-850: #131a21;
--steel-800: #171E26; --steel-800: #171e26;
--steel-750: #1D262F; --steel-750: #1d262f;
--steel-700: #242D38; --steel-700: #242d38;
--steel-650: #2B3642; --steel-650: #2b3642;
--steel-600: #374351; --steel-600: #374351;
--steel-550: #445161; --steel-550: #445161;
--steel-500: #515F70; --steel-500: #515f70;
--steel-450: #5F6E80; --steel-450: #5f6e80;
--steel-400: #6D7D8F; --steel-400: #6d7d8f;
--steel-350: #7C8C9F; --steel-350: #7c8c9f;
--steel-300: #8C9CAF; --steel-300: #8c9caf;
--steel-250: #9DADC0; --steel-250: #9dadc0;
--steel-200: #AEBED0; --steel-200: #aebed0;
--steel-150: #C0CFE0; --steel-150: #c0cfe0;
--steel-100: #D2E0F0; --steel-100: #d2e0f0;
--is-dark-theme: true; --is-dark-theme: true;
--color-primary: #F9774C; --color-primary: #f9774c;
--color-primary-contrast: #000; --color-primary-contrast: #000;
--color-primary-dark-1: #ff8e68; --color-primary-dark-1: #ff8e68;
--color-primary-dark-2: #ff8e68; --color-primary-dark-2: #ff8e68;
@ -40,7 +40,7 @@
--color-primary-dark-6: #ffded2; --color-primary-dark-6: #ffded2;
--color-primary-dark-7: #f8e3dc; --color-primary-dark-7: #f8e3dc;
--color-primary-light-1: #E84E1B; --color-primary-light-1: #e84e1b;
--color-primary-light-2: #cc4012; --color-primary-light-2: #cc4012;
--color-primary-light-3: #aa340c; --color-primary-light-3: #aa340c;
--color-primary-light-4: #963312; --color-primary-light-4: #963312;
@ -48,15 +48,15 @@
--color-primary-light-6: #77280e; --color-primary-light-6: #77280e;
--color-primary-light-7: #69240d; --color-primary-light-7: #69240d;
--color-primary-alpha-10: #F9774C19; --color-primary-alpha-10: #f9774c19;
--color-primary-alpha-20: #F9774C33; --color-primary-alpha-20: #f9774c33;
--color-primary-alpha-30: #F9774C4b; --color-primary-alpha-30: #f9774c4b;
--color-primary-alpha-40: #F9774C66; --color-primary-alpha-40: #f9774c66;
--color-primary-alpha-50: #F9774C80; --color-primary-alpha-50: #f9774c80;
--color-primary-alpha-60: #F9774C99; --color-primary-alpha-60: #f9774c99;
--color-primary-alpha-70: #F9774Cb3; --color-primary-alpha-70: #f9774cb3;
--color-primary-alpha-80: #F9774Ccc; --color-primary-alpha-80: #f9774ccc;
--color-primary-alpha-90: #F9774Ce1; --color-primary-alpha-90: #f9774ce1;
--color-primary-hover: var(--color-primary-light-1); --color-primary-hover: var(--color-primary-light-1);
--color-primary-active: var(--color-primary-light-2); --color-primary-active: var(--color-primary-light-2);
--color-secondary: var(--steel-700); --color-secondary: var(--steel-700);
@ -99,7 +99,7 @@
--color-console-menu-border: #5c6374; --color-console-menu-border: #5c6374;
/* colors */ /* colors */
--color-red: #b91c1c; --color-red: #b91c1c;
--color-orange: #F9774C; --color-orange: #f9774c;
--color-yellow: #ca8a04; --color-yellow: #ca8a04;
--color-olive: #91a313; --color-olive: #91a313;
--color-green: #15803d; --color-green: #15803d;
@ -186,9 +186,9 @@
--color-yellow-badge: #ca8a04; --color-yellow-badge: #ca8a04;
--color-yellow-badge-bg: #ca8a0422; --color-yellow-badge-bg: #ca8a0422;
--color-yellow-badge-hover-bg: #ca8a0444; --color-yellow-badge-hover-bg: #ca8a0444;
--color-orange-badge: #F9774C; --color-orange-badge: #f9774c;
--color-orange-badge-bg: #F9774C22; --color-orange-badge-bg: #f9774c22;
--color-orange-badge-hover-bg: #F9774C44; --color-orange-badge-hover-bg: #f9774c44;
--color-git: #f05133; --color-git: #f05133;
/* target-based colors */ /* target-based colors */
--color-body: var(--steel-800); --color-body: var(--steel-800);
@ -211,7 +211,12 @@
--color-header-wrapper: var(--steel-850); --color-header-wrapper: var(--steel-850);
--color-header-wrapper-transparent: #242d3800; --color-header-wrapper-transparent: #242d3800;
--color-light: #00000028; --color-light: #00000028;
--color-light-mimic-enabled: rgba(0, 0, 0, calc(40 / 255 * 222 / 255 / var(--opacity-disabled))); --color-light-mimic-enabled: rgba(
0,
0,
0,
calc(40 / 255 * 222 / 255 / var(--opacity-disabled))
);
--color-light-border: #ffffff28; --color-light-border: #ffffff28;
--color-hover: var(--steel-600); --color-hover: var(--steel-600);
--color-active: var(--steel-650); --color-active: var(--steel-650);
@ -329,3 +334,6 @@ i.grey.icon.icon.icon.icon {
.ui.primary.label { .ui.primary.label {
color: var(--color-text-dark) !important; color: var(--color-text-dark) !important;
} }
/* gitpot homepage */
@import "vars-dark.css";

View file

@ -11,44 +11,44 @@
@import "../codemirror/light.css"; @import "../codemirror/light.css";
:root { :root {
--steel-900: #10161D; --steel-900: #10161d;
--steel-850: #131A21; --steel-850: #131a21;
--steel-800: #171E26; --steel-800: #171e26;
--steel-750: #1D262F; --steel-750: #1d262f;
--steel-700: #242D38; --steel-700: #242d38;
--steel-650: #2B3642; --steel-650: #2b3642;
--steel-600: #374351; --steel-600: #374351;
--steel-550: #445161; --steel-550: #445161;
--steel-500: #515F70; --steel-500: #515f70;
--steel-450: #5F6E80; --steel-450: #5f6e80;
--steel-400: #6D7D8F; --steel-400: #6d7d8f;
--steel-350: #7C8C9F; --steel-350: #7c8c9f;
--steel-300: #8C9CAF; --steel-300: #8c9caf;
--steel-250: #9DADC0; --steel-250: #9dadc0;
--steel-200: #AEBED0; --steel-200: #aebed0;
--steel-150: #C0CFE0; --steel-150: #c0cfe0;
--steel-100: #D2E0F0; --steel-100: #d2e0f0;
--zinc-50: #FAFAFA; --zinc-50: #fafafa;
--zinc-100: #F4F4F5; --zinc-100: #f4f4f5;
--zinc-150: #ECECEE; --zinc-150: #ececee;
--zinc-200: #E4E4E7; --zinc-200: #e4e4e7;
--zinc-250: #DCDCE0; --zinc-250: #dcdce0;
--zinc-300: #D4D4D8; --zinc-300: #d4d4d8;
--zinc-350: #BABAC1; --zinc-350: #babac1;
--zinc-400: #A1A1AA; --zinc-400: #a1a1aa;
--zinc-450: #898992; --zinc-450: #898992;
--zinc-500: #71717A; --zinc-500: #71717a;
--zinc-550: #61616A; --zinc-550: #61616a;
--zinc-600: #52525B; --zinc-600: #52525b;
--zinc-650: #484850; --zinc-650: #484850;
--zinc-700: #3F3F46; --zinc-700: #3f3f46;
--zinc-750: #333338; --zinc-750: #333338;
--zinc-800: #27272A; --zinc-800: #27272a;
--zinc-850: #1F1F23; --zinc-850: #1f1f23;
--zinc-900: #18181B; --zinc-900: #18181b;
--color-primary: #D14415; --color-primary: #d14415;
--color-primary-contrast: #ffffff; --color-primary-contrast: #ffffff;
/* --color-primary-dark-1: #E84E1B; /* --color-primary-dark-1: #E84E1B;
@ -59,7 +59,7 @@
--color-primary-dark-6: #77280e; --color-primary-dark-6: #77280e;
--color-primary-dark-7: #69240d; */ --color-primary-dark-7: #69240d; */
--color-primary-dark-1: #D14415; --color-primary-dark-1: #d14415;
--color-primary-dark-2: #aa340c; --color-primary-dark-2: #aa340c;
--color-primary-dark-3: #963312; --color-primary-dark-3: #963312;
--color-primary-dark-4: #812a0c; --color-primary-dark-4: #812a0c;
@ -75,15 +75,15 @@
--color-primary-light-6: #ffded2; --color-primary-light-6: #ffded2;
--color-primary-light-7: #f8e3dc; --color-primary-light-7: #f8e3dc;
--color-primary-alpha-10: #D1441519; --color-primary-alpha-10: #d1441519;
--color-primary-alpha-20: #D1441533; --color-primary-alpha-20: #d1441533;
--color-primary-alpha-30: #D144154b; --color-primary-alpha-30: #d144154b;
--color-primary-alpha-40: #D1441566; --color-primary-alpha-40: #d1441566;
--color-primary-alpha-50: #D1441580; --color-primary-alpha-50: #d1441580;
--color-primary-alpha-60: #D1441599; --color-primary-alpha-60: #d1441599;
--color-primary-alpha-70: #D14415b3; --color-primary-alpha-70: #d14415b3;
--color-primary-alpha-80: #D14415cc; --color-primary-alpha-80: #d14415cc;
--color-primary-alpha-90: #D14415e1; --color-primary-alpha-90: #d14415e1;
--color-primary-hover: var(--color-primary-dark-2); --color-primary-hover: var(--color-primary-dark-2);
--color-primary-active: var(--color-primary-dark-4); --color-primary-active: var(--color-primary-dark-4);
@ -214,9 +214,9 @@
--color-yellow-badge: #ca8a04; --color-yellow-badge: #ca8a04;
--color-yellow-badge-bg: #ca8a0422; --color-yellow-badge-bg: #ca8a0422;
--color-yellow-badge-hover-bg: #ca8a0444; --color-yellow-badge-hover-bg: #ca8a0444;
--color-orange-badge: #D14415; --color-orange-badge: #d14415;
--color-orange-badge-bg: #D1441522; --color-orange-badge-bg: #d1441522;
--color-orange-badge-hover-bg: #D1441544; --color-orange-badge-hover-bg: #d1441544;
--color-git: #f05133; --color-git: #f05133;
/* target-based colors */ /* target-based colors */
--color-body: #fff; --color-body: #fff;
@ -239,7 +239,12 @@
--color-header-wrapper: var(--zinc-50); --color-header-wrapper: var(--zinc-50);
--color-header-wrapper-transparent: #d2e0f000; --color-header-wrapper-transparent: #d2e0f000;
--color-light: #ffffffcc; --color-light: #ffffffcc;
--color-light-mimic-enabled: rgba(0, 0, 0, calc(6 / 255 * 222 / 255 / var(--opacity-disabled))); --color-light-mimic-enabled: rgba(
0,
0,
0,
calc(6 / 255 * 222 / 255 / var(--opacity-disabled))
);
--color-light-border: #0000001d; --color-light-border: #0000001d;
--color-hover: #e4e4e4aa; --color-hover: #e4e4e4aa;
--color-active: #d4d4d8aa; --color-active: #d4d4d8aa;
@ -332,3 +337,6 @@
background: var(--steel-450) !important; background: var(--steel-450) !important;
color: var(--color-white) !important; color: var(--color-white) !important;
} }
/* gitpot homepage */
@import "vars-light.css";