mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): mantine scrollbar theming
This commit is contained in:
parent
9a77bd9140
commit
80474d26f9
@ -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)',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user