Avoid color sparkles when switching modes.

- the search bar (desktop view)
- the site title.
This commit is contained in:
Cotes Chung
2020-05-05 04:57:40 +08:00
parent 9c3d3fdeed
commit 3f843f010a
4 changed files with 10 additions and 16 deletions

View File

@@ -62,8 +62,8 @@
text-decoration: none;
}
@mixin sidebar-icon {
color: rgba(255, 255, 255, 0.5);
@mixin sidebar-links($color: rgba(255, 255, 255, 0.5)) {
color: $color;
transition: color 0.35s ease-in-out;
user-select: none;
margin: 0 .25rem;