Open cyborgdennett opened 1 year ago
How do I get the svg the same colour as text while keeping the standard text colours with href: without href:
<script> import { mdiGithub } from '@mdi/js'; import IconButton, { Icon } from '@smui/icon-button'; import { Svg } from '@smui/common'; </script> <IconButton aria-label="GitHub" target="_blank" href="https://github.com/cyborgdennett/l2benchmarks"> <Icon component={Svg} viewBox="0 0 24 24"> <path fill="currentColor" d={mdiGithub} /> </Icon> </IconButton>
I use dark theme with smui-dark theme.
How do I get the svg the same colour as text while keeping the standard text colours with href:
without href:
![image](https://user-images.githubusercontent.com/40475862/213900301-458d270a-1830-49c1-af98-65a1db459b67.png)
I use dark theme with smui-dark theme.