fix(directory): fixed the color of fast navigation

This commit is contained in:
Haoyu Xu
2023-07-09 04:26:52 -04:00
parent 39a06996bf
commit a72f10f964

View File

@@ -120,14 +120,11 @@
margin-left: 1rem; margin-left: 1rem;
} }
.item_icon { .item_icon svg {
transition: fill cubic-bezier(0.65, 0.05, 0.36, 1) 0.3s; transition: fill cubic-bezier(0.65, 0.05, 0.36, 1) 0.3s;
svg {
width: 1rem; width: 1rem;
fill: var(--text-color); fill: var(--text-color);
} }
}
&:hover, &:hover,
&:focus, &:focus,
@@ -135,7 +132,7 @@
.text { .text {
color: currentColor; color: currentColor;
} }
.item_icon { .item_icon svg {
fill: currentColor; fill: currentColor;
} }
} }