feat(ui): mantine scrollbar theming

This commit is contained in:
psychedelicious 2023-06-12 22:00:36 +10:00
parent 9a77bd9140
commit 80474d26f9

View File

@ -3,4 +3,21 @@ import { MantineThemeOverride } from '@mantine/core';
export const mantineTheme: MantineThemeOverride = { export const mantineTheme: MantineThemeOverride = {
colorScheme: 'dark', colorScheme: 'dark',
fontFamily: `'InterVariable', sans-serif`, fontFamily: `'InterVariable', sans-serif`,
components: {
ScrollArea: {
defaultProps: {
scrollbarSize: 10,
},
styles: {
scrollbar: {
'&:hover': {
backgroundColor: 'var(--invokeai-colors-baseAlpha-300)',
},
},
thumb: {
backgroundColor: 'var(--invokeai-colors-baseAlpha-300)',
},
},
},
},
}; };