Fix dark mode hover color, fix Grommet icon stroke application

This commit is contained in:
Xevion
2023-02-17 11:05:16 -06:00
parent 05cfbb2e91
commit 20ad36eab7
2 changed files with 8 additions and 10 deletions

View File

@@ -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}/>

View File

@@ -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;
}