mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): InvSwitch and InvSliderThumb are round
This commit is contained in:
parent
43a4b815e8
commit
f4ea495d23
@ -23,12 +23,11 @@ const filledTrack = defineStyle((_props) => {
|
||||
const thumb = defineStyle((props) => {
|
||||
const { orientation } = props;
|
||||
return {
|
||||
w: 4,
|
||||
h: 4,
|
||||
w: 5,
|
||||
h: 5,
|
||||
bg: 'base.400',
|
||||
borderRadius: 'base',
|
||||
borderColor: 'base.200',
|
||||
borderWidth: 2,
|
||||
borderWidth: 3,
|
||||
_hover: {
|
||||
transform:
|
||||
orientation === 'vertical'
|
||||
|
@ -9,21 +9,19 @@ const { defineMultiStyleConfig, definePartsStyle } =
|
||||
|
||||
const invokeAITrack = defineStyle((_props) => {
|
||||
return {
|
||||
borderRadius: 'sm',
|
||||
bg: 'base.600',
|
||||
p: 1,
|
||||
_focusVisible: {
|
||||
boxShadow: 'none',
|
||||
},
|
||||
_checked: {
|
||||
bg: 'blue.400',
|
||||
bg: 'blue.500',
|
||||
},
|
||||
};
|
||||
});
|
||||
|
||||
const invokeAIThumb = defineStyle((_props) => {
|
||||
return {
|
||||
borderRadius: 'sm',
|
||||
bg: 'base.50',
|
||||
};
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user