feat: new dark theme

This commit is contained in:
David Ralph
2021-03-20 16:29:21 +00:00
parent e092c805e8
commit b7656fa951
10 changed files with 58 additions and 82 deletions

View File

@@ -6,8 +6,8 @@
@import 'settings/dropdown';
.Modal {
color: map-get($modal, 'text');
background-color: map-get($modal, 'background');
color: var(--modal-text);
background-color: var(--background);
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
border: none;
opacity: 1;
@@ -113,7 +113,7 @@ ul.sidebar {
margin: 0;
padding-left: 0;
height: 100vh;
background: #f0f0f0;
background: var(--sidebar);
left: 0;
border-radius: 12px 0 0 12px;
text-align: left;
@@ -163,7 +163,7 @@ li {
}
.tab-list-active {
background: rgba(219, 219, 219, 0.72);
background: var(--tab-active);
}
@media only screen and (max-height: 898px) {
@@ -190,7 +190,7 @@ li {
.tab-list-item {
&:hover {
background: rgba(219, 219, 219, 0.8);
background: var(--tab-active);
}
}

View File

@@ -2,12 +2,11 @@
select {
margin-left: 10px;
width: 120px;
color: map-get($modal, 'text');
background: #f0f0f0;
color: var(--modal-text);
background: var(--sidebar);
border: none;
padding: 10px 10px;
border-radius: 5px;
}
select#language {

View File

@@ -5,8 +5,8 @@
input {
&[type=text] {
width: 200px;
color: black;
background: #f0f0f0;
color: var(--modal-text);
background: var(--sidebar);
border: none;
padding: 10px 10px;
border-radius: 5px;
@@ -135,32 +135,6 @@ input[type=color]::-moz-color-swatch {
vertical-align: middle;
}
// Dark Theme
.dark {
#blurRange,
#brightnessRange {
background-color: #535c68;
}
#customBackground,
#backgroundAPI,
#searchEngine,
#language,
#greetingName,
#customSearchEngine {
color: white;
}
.choices {
background-color: white;
}
.modalLink {
color: #3498db;
}
}
.nodropdown {
cursor: default;
}