add dark changes to auto theme

This commit is contained in:
pat-s 2023-07-20 09:16:24 +02:00
parent 7c3ba98a29
commit 9f36d3f154
No known key found for this signature in database
GPG Key ID: 3C6318841EF78925

View File

@ -326,7 +326,10 @@
color: black !important;
}
.repository.file.list #repo-files-table tbody .svg.octicon-file-directory-fill,
.repository.file.list
#repo-files-table
tbody
.svg.octicon-file-directory-fill,
.repository.file.list #repo-files-table tbody .svg.octicon-file-submodule {
color: #54aeff !important;
}
@ -409,25 +412,32 @@
}
// hover
.ui.basic.secondary.buttons .button:hover, .ui.basic.secondary.button:hover {
.ui.basic.secondary.buttons .button:hover,
.ui.basic.secondary.button:hover {
background: var(--color-hover) !important;
}
// settings button in org team settings
.ui.teal.labels .label, .ui.ui.ui.teal.label, .ui.teal.button, .ui.teal.buttons .button {
.ui.teal.labels .label,
.ui.ui.ui.teal.label,
.ui.teal.button,
.ui.teal.buttons .button {
background: var(--color-green);
color: #fff !important;
}
.ui.labeled.icon.buttons>.button>.icon, .ui.labeled.icon.button>.icon {
.ui.labeled.icon.buttons > .button > .icon,
.ui.labeled.icon.button > .icon {
background: var(--color-green);
}
.ui.teal.labels .label, .ui.ui.ui.teal.label, .ui.teal.button, .ui.teal.buttons .button {
.ui.teal.labels .label,
.ui.ui.ui.teal.label,
.ui.teal.button,
.ui.teal.buttons .button {
background: var(--color-green);
color: #fff !important;
}
}
@media (prefers-color-scheme: dark) {
:root {
@ -438,7 +448,8 @@
--color-navbar: #161b22;
--color-footer: #161b22;
--color-text-light: #a6aab5;
--color-text-light-2: #ADBAC7;
--color-text-light-2: #adbac7;
--color-grey-light: var(--color-text-light);
--color-text: #bbc0ca;
--color-box-body: #22272e;
--color-markup-code-block: #636e7b66;
@ -452,13 +463,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-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` */
@ -658,7 +672,7 @@
}
a.ui.label {
/* color: #adbac7 !important; */
color: #adbac7 !important;
border-color: var(--color-secondary) !important;
}
@ -861,7 +875,7 @@
background: var(--color-navbar);
border-bottom: 3px solid #f78166 !important;
border: 0px solid black;
color: #ADBAC7;
color: #adbac7;
}
/* repo watch and fork counters */
@ -1221,7 +1235,7 @@
.ui.green.labels .label,
.ui.ui.ui.green.label {
padding: 5px 10px;
padding: 2px 5px;
line-height: 20px;
color: #cdd9e5 !important;
border-radius: 2em;
@ -1232,7 +1246,10 @@
}
/* repository icon for directories */
.repository.file.list #repo-files-table tbody .svg.octicon-file-directory-fill,
.repository.file.list
#repo-files-table
tbody
.svg.octicon-file-directory-fill,
.repository.file.list #repo-files-table tbody .svg.octicon-file-submodule {
color: #768390;
}
@ -1376,13 +1393,12 @@
.ui.basic.primary.button,
.ui.basic.primary.buttons .button {
color: #ADBAC7 !important;
color: #adbac7 !important;
font-weight: 500 !important;
}
.feeds .list ul li .repo-list-link {
background: #161b22;
border: 0.5px solid #373e47 !important;
}
.ui.attached:not(.message) + .ui.attached.segment:not(.top) {
border: 1px solid #373e47;
@ -1393,7 +1409,7 @@
.ui.vertical.menu .active.item:hover {
background: #161b22;
font-weight: 500;
color: #ADBAC7;
color: #adbac7;
}
.ui.primary.labels .label,
.ui.ui.ui.primary.label {
@ -1414,7 +1430,9 @@
.repository.view.issue .comment-list .comment > .content > div:first-child {
border-bottom: 1px solid #373e47 !important;
}
.tag-code, .tag-code td, .tag-code .blob-excerpt {
.tag-code,
.tag-code td,
.tag-code .blob-excerpt {
background-color: var(--color-body);
}
@ -1423,26 +1441,33 @@
background: rgba(99, 110, 123, 0.4);
color: #cdd9e5;
}
.ui.basic.red.buttons .button, .ui.basic.red.button {
.ui.basic.red.buttons .button,
.ui.basic.red.button {
color: var(--color-red);
border: 1px solid var(--color-red);
border-radius: 16px;
padding: 5px 16px;
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);
}
}