mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
- simplify UI logic in `ModelManagerPanel` components - fix up the types a bit to make it easier to select models - remove `openModel` state, just make it a useState since it is very local to model manager
13 lines
290 B
TypeScript
13 lines
290 B
TypeScript
import { defineStyle, defineStyleConfig } from '@chakra-ui/react';
|
|
import { mode } from '@chakra-ui/theme-tools';
|
|
|
|
const subtext = defineStyle((props) => ({
|
|
color: mode('base.500', 'base.400')(props),
|
|
}));
|
|
|
|
export const textTheme = defineStyleConfig({
|
|
variants: {
|
|
subtext,
|
|
},
|
|
});
|