add a dark theme
This commit is contained in:
parent
f0afc0da36
commit
c03df9d246
1 changed files with 71 additions and 0 deletions
|
@ -64,6 +64,7 @@ body {
|
||||||
--icon-fit: 8;
|
--icon-fit: 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@media (min-resolution: 1dppx) {
|
@media (min-resolution: 1dppx) {
|
||||||
html {
|
html {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
@ -931,3 +932,73 @@ tr > td > .trash-button {
|
||||||
tr:hover > td > .trash-button {
|
tr:hover > td > .trash-button {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
:root {
|
||||||
|
--title-text-color: #fff;
|
||||||
|
--text-normal-color: #f9f9fa;
|
||||||
|
--text-heading-color: #fff;
|
||||||
|
}
|
||||||
|
html {
|
||||||
|
background-color: #4a4a4a;
|
||||||
|
}
|
||||||
|
body {
|
||||||
|
color: #fff;
|
||||||
|
|
||||||
|
--hr-grey: #38383d;
|
||||||
|
--text-grey: #f9f9fa;
|
||||||
|
}
|
||||||
|
h3.title {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.bottom-btn {
|
||||||
|
background-color: #737373;
|
||||||
|
border: solid 1px #737373;
|
||||||
|
}
|
||||||
|
.btn-return.arrow-left {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
.onboarding-title,
|
||||||
|
.delete-container-confirm-title {
|
||||||
|
color: #ededf0;
|
||||||
|
}
|
||||||
|
input {
|
||||||
|
border: solid 1px #737373;
|
||||||
|
}
|
||||||
|
#edit-container-panel-name-input {
|
||||||
|
background-color: #38383d;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.delete-container {
|
||||||
|
background-color: #4a4a4a;
|
||||||
|
}
|
||||||
|
.delete-btn {
|
||||||
|
background-color: #737373;
|
||||||
|
color: #f9f9fa;
|
||||||
|
}
|
||||||
|
.cancel-button,
|
||||||
|
.grey-button {
|
||||||
|
background-color: #737373;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.button.secondary:hover,
|
||||||
|
.button.secondary:focus {
|
||||||
|
background-color: #676767;
|
||||||
|
}
|
||||||
|
.panel-footer {
|
||||||
|
border-block-end: solid 1px #4a4a4a;
|
||||||
|
}
|
||||||
|
img.menu-icon,
|
||||||
|
.menu-icon > img,
|
||||||
|
.menu-arrow > img,
|
||||||
|
.info-icon > img,
|
||||||
|
.btn-return.arrow-left {
|
||||||
|
filter: invert(1);
|
||||||
|
}
|
||||||
|
[data-identity-color="grey"] {
|
||||||
|
--identity-icon-color: #ededf0;
|
||||||
|
}
|
||||||
|
[type="radio"]:checked + [data-identity-color="grey"] {
|
||||||
|
--identity-icon-color: #616161;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue