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 thumb = defineStyle((props) => {
|
||||||
const { orientation } = props;
|
const { orientation } = props;
|
||||||
return {
|
return {
|
||||||
w: 4,
|
w: 5,
|
||||||
h: 4,
|
h: 5,
|
||||||
bg: 'base.400',
|
bg: 'base.400',
|
||||||
borderRadius: 'base',
|
|
||||||
borderColor: 'base.200',
|
borderColor: 'base.200',
|
||||||
borderWidth: 2,
|
borderWidth: 3,
|
||||||
_hover: {
|
_hover: {
|
||||||
transform:
|
transform:
|
||||||
orientation === 'vertical'
|
orientation === 'vertical'
|
||||||
|
@ -9,21 +9,19 @@ const { defineMultiStyleConfig, definePartsStyle } =
|
|||||||
|
|
||||||
const invokeAITrack = defineStyle((_props) => {
|
const invokeAITrack = defineStyle((_props) => {
|
||||||
return {
|
return {
|
||||||
borderRadius: 'sm',
|
|
||||||
bg: 'base.600',
|
bg: 'base.600',
|
||||||
p: 1,
|
p: 1,
|
||||||
_focusVisible: {
|
_focusVisible: {
|
||||||
boxShadow: 'none',
|
boxShadow: 'none',
|
||||||
},
|
},
|
||||||
_checked: {
|
_checked: {
|
||||||
bg: 'blue.400',
|
bg: 'blue.500',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
const invokeAIThumb = defineStyle((_props) => {
|
const invokeAIThumb = defineStyle((_props) => {
|
||||||
return {
|
return {
|
||||||
borderRadius: 'sm',
|
|
||||||
bg: 'base.50',
|
bg: 'base.50',
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user