Feature/add intro image for dark mode (#540)

* Add intro image for dark mode

* Update changelog
This commit is contained in:
Thomas Kaul 2021-12-13 22:26:16 +01:00 committed by GitHub
parent 7439c1bf54
commit 83ba5f3d9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 2 deletions

View File

@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- Removed the default transactions import limit - Removed the default transactions import limit
- Improved the landing page in dark mode
### Fixed ### Fixed

View File

@ -14,7 +14,6 @@
} }
.intro-container { .intro-container {
background-color: #ffffff;
margin-top: -5rem; margin-top: -5rem;
.intro-inner-container { .intro-inner-container {
@ -37,4 +36,10 @@
background-color: var(--dark-background); background-color: var(--dark-background);
} }
} }
.intro-container {
.intro {
background-image: url('/assets/intro-dark.jpg') !important;
}
}
} }

View File

@ -8,7 +8,6 @@
} }
.intro-container { .intro-container {
background-color: #ffffff;
margin-top: -5rem; margin-top: -5rem;
.intro-inner-container { .intro-inner-container {
@ -24,3 +23,17 @@
} }
} }
} }
:host-context(.is-dark-theme) {
.button-container {
.mat-stroked-button {
background-color: var(--dark-background);
}
}
.intro-container {
.intro {
background-image: url('/assets/intro-dark.jpg') !important;
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB