Added transition to theme switch.

This commit is contained in:
2020-04-02 03:11:00 +02:00
parent c39bfb234d
commit 5d467622f4
14 changed files with 39 additions and 44 deletions

View File

@@ -185,6 +185,7 @@ export default {
color: var(--primary);
box-shadow: 0 1px 0 var(--darken-hint);
font-size: 0;
transition: background var(--theme-transition);
}
.header-nav {
@@ -253,6 +254,7 @@ export default {
font-size: .9rem;
font-weight: bold;
cursor: pointer;
transition: color var(--theme-transition);
&.active {
color: var(--primary);