Skip to content

Commit 6d16d13

Browse files
fix hove font weight on icon to correct color (#1072)
1 parent 074a7c6 commit 6d16d13

File tree

1 file changed

+14
-2
lines changed
  • pgml-dashboard/static/css/scss/components

1 file changed

+14
-2
lines changed

pgml-dashboard/static/css/scss/components/_navs.scss

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,19 +199,31 @@
199199
&:hover {
200200
background-color: #{$gray-700};
201201
color: #{$gray-100};
202-
@include semibold_by_shadow($gray-100)
202+
203+
span:not(.material-symbols-outlined) {
204+
@include semibold_by_shadow($gray-100)
205+
}
206+
span.material-symbols-outlined {
207+
@include bold_by_shadow($neon-shade-300)
208+
}
203209
}
204210

205211
&:active, :focus, :target, .active {
206212
background-color: #{$neon-tint-100};
207213
color: #{$gray-100};
208214
border-radius: calc($border-radius / 2);
209-
215+
210216
span {
211217
color: #{$gray-100};
212218
}
213219
}
214220

221+
&:hover a.active {
222+
span.material-symbols-outlined {
223+
@include bold_by_shadow($gray-100)
224+
}
225+
}
226+
215227
& a.disabled, .disabled>span, &.disabled {
216228
color: #{$gray-500};
217229
pointer-events: none;

0 commit comments

Comments
 (0)