- dark mode

This commit is contained in:
Peter Papp
2021-04-06 07:23:43 +02:00
parent 2ca4d4a02d
commit e0daa46b50
12 changed files with 280 additions and 588 deletions
@@ -282,4 +282,13 @@
}
}
}
@media (prefers-color-scheme: dark) {
.info-list .info-list-item {
.description {
color: $dark-mode-text;
}
}
}
</style>
@@ -283,4 +283,10 @@
}
}
}
@media (prefers-color-scheme: dark) {
}
</style>
@@ -63,4 +63,14 @@
}
}
}
@media (prefers-color-scheme: dark) {
.oasis-footer.container {
.links li a {
color: $dark-mode-text;
}
}
}
</style>
@@ -296,4 +296,19 @@
margin-bottom: 120px;
}
}
@media (prefers-color-scheme: dark) {
.oasis-header {
background: darken($theme-bg-dark, 10%);
.main-title {
color: white;
}
}
.cloud {
opacity: 0.03;
}
}
</style>
@@ -151,4 +151,19 @@
display: none;
}
}
@media (prefers-color-scheme: dark) {
.navigation {
.links li a {
color: $dark-mode-text;
}
&.white {
background: rgba(darken($theme-bg-dark, 10%), 0.9);
backdrop-filter: blur(18px);
}
}
}
</style>
@@ -460,4 +460,27 @@
}
}
}
@media (prefers-color-scheme: dark) {
.oasis-pricing {
.main-title-sm {
color: white;
}
}
.pricing-box {
.box {
background: darken($theme-bg-dark, 5%);
.pricing-data,
.pricing-name,
.pricing-description,
.pricing-vat {
color: white;
}
}
}
}
</style>
+8 -1
View File
@@ -33,8 +33,15 @@
}
</script>
<style lang="scss" scoped>
<style lang="scss">
@import '@assets/oasis/_components';
@import '@assets/oasis/_homepage';
@import '@assets/oasis/_responsive';
@media (prefers-color-scheme: dark) {
#page {
background: darken($theme-bg-dark, 10%);
}
}
</style>
-1
View File
@@ -11,7 +11,6 @@
}
.oasis-footer {
background: white;
display: flex;
align-items: center;
justify-content: space-between;
+3
View File
@@ -1,3 +1,6 @@
$dark-mode-text: #bec6cf;
$dark-mode-background: #141414;
$text-primary: #312E5C;
$text-secondary: #545E71;
+1 -1
View File
@@ -26,7 +26,7 @@ $light_mode_vignette: rgba(9, 8, 12, 0.35);
// Dark Mode
$dark_mode_vignette: rgba(0, 0, 0, 0.3);
$dark_mode_background: #131414;
$dark_mode_background: #141414;
$dark_mode_foreground: #1e2024;
$dark_mode_text_primary: #bec6cf;
$dark_mode_text_secondary: #7d858c;