Merge pull request #1944 from dannycolin/dark-mode
Add a dark mode to MAC
This commit is contained in:
commit
d36e78a96e
1 changed files with 96 additions and 0 deletions
|
@ -931,3 +931,99 @@ tr > td > .trash-button {
|
|||
tr:hover > td > .trash-button {
|
||||
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);
|
||||
}
|
||||
|
||||
#edit-sites-assigned .menu-icon,
|
||||
#container-info-table .menu-icon {
|
||||
filter: invert(0);
|
||||
}
|
||||
|
||||
.truncate-text::after {
|
||||
background: #4a4a4a;
|
||||
mask-image: linear-gradient(to right, transparent, #4a4a4a 70%);
|
||||
}
|
||||
|
||||
[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