From 14335dce9731b362f0be62def843036834308efe Mon Sep 17 00:00:00 2001 From: pat-s Date: Thu, 20 Jul 2023 09:13:51 +0200 Subject: [PATCH] dark: navbar and text color adjustments --- theme-github-dark.css | 42 ++++++++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/theme-github-dark.css b/theme-github-dark.css index 8980040..ab67617 100755 --- a/theme-github-dark.css +++ b/theme-github-dark.css @@ -20,13 +20,16 @@ --color-menu: #22272e; --color-caret: var(--color-text); --is-dark-theme: true; - --color-blue: #539bf5; + --color-blue: #4796f9; --color-input-background: #22272e; --color-primary-contrast: #ADBAC7; --color-text-light-2: #a6aab5; --color-box-body: #161b22; --color-box-header: #161b22; - --color-green-light: #16ab39 + --color-green-light: #16ab39; + --color-nav-bg: #161b22; + --color-header-wrapper: #161b22; + --color-nav-hover-bg: #808080; /* code editor colors are set in https://github.com/go-gitea/gitea/blob/f5b300ea77081a1b78ac044cb1c0f9225538d091/web_src/js/features/codeeditor.js#L82-L97. */ /* monaco editor dark theme is toggled via variable `--is-dark-theme` */ @@ -226,7 +229,7 @@ a, } a.ui.label { - /* color: #adbac7 !important; */ + color: #adbac7 !important; border-color: var(--color-secondary) !important; } @@ -789,7 +792,7 @@ textarea:focus, .ui.green.labels .label, .ui.ui.ui.green.label { - padding: 5px 10px; + padding: 2px 5px; line-height: 20px; color: #cdd9e5 !important; border-radius: 2em; @@ -1000,18 +1003,21 @@ footer { line-height: 20px; } -.notification_count { - position: absolute; - left: 13px; - top: -5px; - min-width: 1.5em; - text-align: center; - background: var(--color-primary); - border: 0px solid var(--color-header-bar); - color: var(--color-header-bar); - padding: 2px; - border-radius: 1em; - font-size: 9px; - font-weight: 700; - line-height: null; +#navbar a.item .notification_count { + color: var(--color-text); + +} + +.ui.secondary.menu .dropdown.item:hover, .ui.secondary.menu a.item:hover { + color: #e3e3e3; +} + +.ui.secondary.menu .active.item, .ui.secondary.menu .active.item:hover { + color: #e3e3e3; + background-color: var(--color-nav-bg); +} + +// list in Pull requests view +.issue.list>.item .desc { + color: var(--color-text); }