mirror of
https://github.com/pat-s/gitea-github-theme.git
synced 2024-11-23 22:01:01 +00:00
dark: set --is-dark-theme
variable
This commit is contained in:
parent
fc3ad49098
commit
1bd187680f
1 changed files with 12 additions and 7 deletions
|
@ -18,6 +18,8 @@
|
|||
--color-menu: #22272e;
|
||||
--color-secondary: #454a57;
|
||||
--color-caret: var(--color-text);
|
||||
/* allows gitea to detect dark themes and changes the monaco code editor colors to dark ones */
|
||||
--is-dark-theme: true;
|
||||
}
|
||||
|
||||
.ui.list .list > .item > .content,
|
||||
|
@ -574,7 +576,8 @@ input {
|
|||
}
|
||||
|
||||
/* review - pending label */
|
||||
.ui.basic.labels .yellow.label, .ui.ui.ui.basic.yellow.label {
|
||||
.ui.basic.labels .yellow.label,
|
||||
.ui.ui.ui.basic.yellow.label {
|
||||
background: var(--color-project-board-bg);
|
||||
color: #333 !important;
|
||||
}
|
||||
|
@ -591,12 +594,14 @@ span.green .svg {
|
|||
}
|
||||
|
||||
/* highlight color bg for highlighted lines */
|
||||
.lines-code.active, .lines-code .active {
|
||||
.lines-code.active,
|
||||
.lines-code .active {
|
||||
border-radius: 6px;
|
||||
background: #000000 !important;
|
||||
}
|
||||
.ui.ui.ui.ui.table tr.active, .ui.ui.table td.active {
|
||||
.ui.ui.ui.ui.table tr.active,
|
||||
.ui.ui.table td.active {
|
||||
box-shadow: 0 0 #000000de inset;
|
||||
background: #E0E0E0;
|
||||
background: #e0e0e0;
|
||||
color: --var(--color-text);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue