Merge branch 'main' into ti-ui

This commit is contained in:
blessedcoolant 2023-07-05 23:42:48 +12:00
commit a556bf45bb

View File

@ -1,7 +1,28 @@
import { defineStyle, defineStyleConfig } from '@chakra-ui/react';
import { getInputOutlineStyles } from '../util/getInputOutlineStyles';
const invokeAI = defineStyle((props) => getInputOutlineStyles(props));
const invokeAI = defineStyle((props) => ({
...getInputOutlineStyles(props),
'::-webkit-scrollbar': {
display: 'initial',
},
'::-webkit-resizer': {
backgroundImage: `linear-gradient(135deg,
var(--invokeai-colors-base-50) 0%,
var(--invokeai-colors-base-50) 70%,
var(--invokeai-colors-base-200) 70%,
var(--invokeai-colors-base-200) 100%)`,
},
_dark: {
'::-webkit-resizer': {
backgroundImage: `linear-gradient(135deg,
var(--invokeai-colors-base-900) 0%,
var(--invokeai-colors-base-900) 70%,
var(--invokeai-colors-base-800) 70%,
var(--invokeai-colors-base-800) 100%)`,
},
},
}));
export const textareaTheme = defineStyleConfig({
variants: {