mirror of
https://github.com/Xevion/icons.git
synced 2025-12-06 01:15:19 -06:00
Fix dark mode hover color, fix Grommet icon stroke application
This commit is contained in:
@@ -32,7 +32,7 @@ const IconInternal: FunctionComponent<IconInternalProps> = ({label, children, on
|
||||
const DisplayIconSingle: FunctionComponent<DisplayIconSingleProps> = ({setId, id}) => {
|
||||
// eslint-disable-next-line
|
||||
const IconSet = loadable.lib(() => getIcons(setId));
|
||||
const iconClass = "text-slate-700 stroke-slate-700 dark:text-slate-200 dark:stroke-slate-200 group-hover:text-slate-900 group-hover:scale-125 transition-transform w-8 h-8";
|
||||
const iconClass = "text-slate-700 stroke-slate-700 dark:text-slate-200 group-hover:text-slate-900 dark:group-hover:text-slate-100 group-hover:scale-125 transition-transform w-8 h-8";
|
||||
|
||||
return <IconSet fallback={<IconInternal label="...">
|
||||
<BsQuestionCircle className={iconClass}/>
|
||||
|
||||
@@ -3,21 +3,19 @@
|
||||
@tailwind utilities;
|
||||
|
||||
:root {
|
||||
--accent: 124, 58, 237;
|
||||
--accent-gradient: linear-gradient(45deg, rgb(var(--accent)), #da62c4 30%, white 60%);
|
||||
--accent: 124, 58, 237;
|
||||
--accent-gradient: linear-gradient(45deg, rgb(var(--accent)), #da62c4 30%, white 60%);
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: system-ui, sans-serif;
|
||||
font-family: system-ui, sans-serif;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
|
||||
Bitstream Vera Sans Mono, Courier New, monospace;
|
||||
font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
|
||||
Bitstream Vera Sans Mono, Courier New, monospace;
|
||||
}
|
||||
|
||||
.forceStroke {
|
||||
> path, g {
|
||||
stroke: currentColor;
|
||||
}
|
||||
.forceStroke > path, g {
|
||||
stroke: currentColor;
|
||||
}
|
||||
Reference in New Issue
Block a user