Compare commits

..

No commits in common. "ed4aa67c50da336ae564c3ddeb592e35a11a1935" and "89f4c557be46e788df98cb66bfe1ed877107fd6d" have entirely different histories.

2 changed files with 79 additions and 51 deletions

View file

@ -1,6 +1,6 @@
/* /*
// Gitpot Dark Theme based on the default Forgejo theme // Gitpot Dark Theme based on the default Forgejo theme
// v1.1.1 // v1.0.1
// https://codeberg.org/forgejo/forgejo/src/branch/forgejo/web_src/css/themes/theme-forgejo-dark.css // https://codeberg.org/forgejo/forgejo/src/branch/forgejo/web_src/css/themes/theme-forgejo-dark.css
// Copyright (c) 2022 The Forgejo Authors // Copyright (c) 2022 The Forgejo Authors
@ -88,15 +88,6 @@
--color-secondary-alpha-90: #2b3642e1; --color-secondary-alpha-90: #2b3642e1;
--color-secondary-hover: var(--color-secondary-light-1); --color-secondary-hover: var(--color-secondary-light-1);
--color-secondary-active: var(--color-secondary-light-2); --color-secondary-active: var(--color-secondary-light-2);
/* console colors - used for actions console and console files */
--color-console-fg: #eeeff2;
--color-console-fg-subtle: #959cab;
--color-console-bg: #1f212b;
--color-console-border: #383c47;
--color-console-hover-bg: #ffffff16;
--color-console-active-bg: #454a57;
--color-console-menu-bg: #383c47;
--color-console-menu-border: #5c6374;
/* colors */ /* colors */
--color-red: #b91c1c; --color-red: #b91c1c;
--color-orange: #F9774C; --color-orange: #F9774C;
@ -211,7 +202,10 @@
--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);
@ -249,6 +243,7 @@
accent-color: var(--color-accent); accent-color: var(--color-accent);
color-scheme: dark; color-scheme: dark;
} }
/* invert emojis that are hard to read otherwise */ /* invert emojis that are hard to read otherwise */
.emoji[aria-label="check mark"], .emoji[aria-label="check mark"],
.emoji[aria-label="currency exchange"], .emoji[aria-label="currency exchange"],
@ -272,53 +267,93 @@
.emoji[aria-label="musical notes"] { .emoji[aria-label="musical notes"] {
filter: invert(100%) hue-rotate(180deg); filter: invert(100%) hue-rotate(180deg);
} }
.text.green.svg {
color: var(--color-green-light) !important; .following.bar.light {
border-bottom-color: #ffffff11 !important;
} }
.text.green.svg {
color: #16a34a !important;
}
i.grey.icon.icon.icon.icon { i.grey.icon.icon.icon.icon {
color: var(--steel-350) !important; color: var(--steel-350) !important;
} }
.ui.red.button,
.ui.negative.button {
background-color: #7f1d1d;
}
.ui.red.button:hover,
.ui.negative.button:hover {
background-color: #991b1b;
}
.ui.red.button:active,
.ui.negative.button:active {
background-color: #aa1919;
}
.ui.secondary.vertical.menu { .ui.secondary.vertical.menu {
border-radius: 0.28571429rem !important; border-radius: 0.28571429rem !important;
overflow: hidden; overflow: hidden;
} }
.ui.secondary.vertical.menu > .item {
.ui.secondary.vertical.menu>.item {
border-radius: 0 !important; border-radius: 0 !important;
} }
.ui.basic.primary.button.item { .ui.basic.primary.button.item {
background-color: var(--color-active) !important; background-color: var(--color-active) !important;
color: var(--color-text) !important; color: var(--color-text) !important;
box-shadow: none !important; box-shadow: none !important;
} }
.ui.red.label.notification_count, .ui.red.label.notification_count,
.ui.primary.label, .ui.primary.label,
.ui.primary.labels .label { .ui.primary.labels .label {
background-color: var(--color-primary-light-3) !important; background-color: var(--color-primary-light-3) !important;
} }
.repository.view.issue .comment-list .code-comment + .code-comment {
.repository.view.issue .comment-list .code-comment+.code-comment {
margin: 1.25rem 0 !important; margin: 1.25rem 0 !important;
padding-top: 1.25rem !important; padding-top: 1.25rem !important;
border-top-color: var(--steel-650) !important; border-top-color: var(--steel-650) !important;
} }
.ui.labeled.icon.buttons > .button > .icon,
.ui.labeled.icon.button > .icon { .ui.labeled.icon.buttons>.button>.icon,
background-color: var(--color-light) !important; .ui.labeled.icon.button>.icon {
background-color: rgba(0, 0, 0, 0.05) !important;
} }
#review-box .review-comments-counter { #review-box .review-comments-counter {
background-color: var(--color-shadow) !important; background-color: #00000088 !important;
color: var(--color-white) !important; color: #fff !important;
margin-left: 0.5em; margin-left: 0.5em;
} }
.ui.basic.labels .primary.label,
.ui.ui.ui.basic.primary.label { .ui.tabs .ui.primary.label,
.ui.menu .ui.primary.label {
background-color: rgba(192, 192, 255, 0.2) !important;
color: var(--color-text-dark) !important; color: var(--color-text-dark) !important;
} }
.ui.basic.yellow.label.pending-label { .ui.basic.yellow.label.pending-label {
background: var(--color-light) !important; background: var(--color-light) !important;
} }
.ui.tertiary.button {
color: #fff9;
}
.ui.tertiary.button:hover {
color: #ccc;
}
::selection { ::selection {
background: var(--steel-100) !important; background: var(--steel-100) !important;
color: var(--color-white) !important; color: #000 !important;
} }
/* tweaks */ /* tweaks */
@ -328,4 +363,4 @@ i.grey.icon.icon.icon.icon {
.ui.primary.label { .ui.primary.label {
color: var(--color-text-dark) !important; color: var(--color-text-dark) !important;
} }

View file

@ -1,6 +1,6 @@
/* /*
// Gitpot Light Theme based on the default Forgejo theme // Gitpot Light Theme based on the default Forgejo theme
// v1.1.1 // v1.0.1
// https://codeberg.org/forgejo/forgejo/src/branch/forgejo/web_src/css/themes/theme-forgejo-light.css // https://codeberg.org/forgejo/forgejo/src/branch/forgejo/web_src/css/themes/theme-forgejo-light.css
// Copyright (c) 2022 The Forgejo Authors // Copyright (c) 2022 The Forgejo Authors
@ -50,7 +50,7 @@
--color-primary: #E84E1B; --color-primary: #E84E1B;
--color-primary-contrast: #ffffff; --color-primary-contrast: #ffffff;
--color-primary-dark-1: #E84E1B; --color-primary-dark-1: #E84E1B;
--color-primary-dark-2: #cc4012; --color-primary-dark-2: #cc4012;
--color-primary-dark-3: #aa340c; --color-primary-dark-3: #aa340c;
@ -108,15 +108,6 @@
--color-secondary-alpha-90: #d4d4d8e1; --color-secondary-alpha-90: #d4d4d8e1;
--color-secondary-hover: var(--color-secondary-dark-2); --color-secondary-hover: var(--color-secondary-dark-2);
--color-secondary-active: var(--color-secondary-dark-4); --color-secondary-active: var(--color-secondary-dark-4);
/* console colors - used for actions console and console files */
--color-console-fg: #eeeff2;
--color-console-fg-subtle: #959cab;
--color-console-bg: #1f212b;
--color-console-border: #383c47;
--color-console-hover-bg: #ffffff16;
--color-console-active-bg: #454a57;
--color-console-menu-bg: #383c47;
--color-console-menu-border: #5c6374;
/* colors */ /* colors */
--color-red: #dc2626; --color-red: #dc2626;
--color-orange: #e66338; --color-orange: #e66338;
@ -197,9 +188,9 @@
--color-info-border: #bae6fd; --color-info-border: #bae6fd;
--color-info-bg: #e0f2fe; --color-info-bg: #e0f2fe;
--color-info-text: #0c4a6e; --color-info-text: #0c4a6e;
--color-red-badge: #b91c1c; --color-red-badge: #B91C1C;
--color-red-badge-bg: #b91c1c22; --color-red-badge-bg: #B91C1C22;
--color-red-badge-hover-bg: #b91c1c44; --color-red-badge-hover-bg: #B91C1C44;
--color-green-badge: #16a34a; --color-green-badge: #16a34a;
--color-green-badge-bg: #16a34a22; --color-green-badge-bg: #16a34a22;
--color-green-badge-hover-bg: #16a34a44; --color-green-badge-hover-bg: #16a34a44;
@ -229,7 +220,7 @@
--color-input-border: var(--zinc-300); --color-input-border: var(--zinc-300);
--color-input-border-hover: var(--zinc-400); --color-input-border-hover: var(--zinc-400);
--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;
@ -270,7 +261,7 @@
} }
.text.green.svg { .text.green.svg {
color: var(--color-green-light) !important; color: #16a34a !important;
} }
.ui.secondary.vertical.menu { .ui.secondary.vertical.menu {
@ -278,7 +269,7 @@
overflow: hidden; overflow: hidden;
} }
.ui.secondary.vertical.menu > .item { .ui.secondary.vertical.menu>.item {
border-radius: 0 !important; border-radius: 0 !important;
} }
@ -293,34 +284,36 @@
background-color: var(--color-primary-dark-1) !important; background-color: var(--color-primary-dark-1) !important;
} }
.repository.view.issue .comment-list .code-comment + .code-comment { .repository.view.issue .comment-list .code-comment+.code-comment {
margin: 1.25rem 0 !important; margin: 1.25rem 0 !important;
padding-top: 1.25rem !important; padding-top: 1.25rem !important;
border-top-color: var(--zinc-250) !important; border-top-color: var(--zinc-250) !important;
} }
.ui.labeled.icon.buttons > .button > .icon, .ui.labeled.icon.buttons>.button>.icon,
.ui.labeled.icon.button > .icon { .ui.labeled.icon.button>.icon {
background-color: var(--color-shadow) !important; background-color: rgba(0, 0, 0, 0.05) !important;
} }
#review-box .review-comments-counter { #review-box .review-comments-counter {
background-color: var(--color-label-bg) !important; background-color: #ffffffaa !important;
color: #000 !important;
margin-left: 0.5em; margin-left: 0.5em;
} }
.ui.basic.labels .primary.label, .ui.tabs .ui.primary.label,
.ui.ui.ui.basic.primary.label { .ui.menu .ui.primary.label {
background-color: rgba(0, 0, 0, 0.15) !important;
color: var(--color-text-dark) !important; color: var(--color-text-dark) !important;
} }
.ui.basic.yellow.label.pending-label { .ui.basic.yellow.label.pending-label {
background: var(--color-warning-bg) !important; background: var(--color-warning-bg) !important;
color: var(--color-warning-text) !important; color: var(--color-warning-text) !important;
border-color: var(--color-yellow-light) !important; border-color: #eab308 !important;
} }
::selection { ::selection {
background: var(--steel-450) !important; background: var(--steel-450) !important;
color: var(--color-white) !important; color: #fff !important;
} }