mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): tweak badge styles
This commit is contained in:
parent
360b6cb286
commit
d3b6d86e74
@ -1,7 +1,7 @@
|
|||||||
import { defineStyle, defineStyleConfig } from '@chakra-ui/react';
|
import { defineStyle, defineStyleConfig } from '@chakra-ui/react';
|
||||||
|
|
||||||
const baseStyle = defineStyle((props) => ({
|
const baseStyle = defineStyle((props) => ({
|
||||||
fontSize: 10,
|
fontSize: 9,
|
||||||
px: 2,
|
px: 2,
|
||||||
py: 1,
|
py: 1,
|
||||||
minW: 4,
|
minW: 4,
|
||||||
@ -10,7 +10,7 @@ const baseStyle = defineStyle((props) => ({
|
|||||||
bg: `${props.colorScheme}.200`,
|
bg: `${props.colorScheme}.200`,
|
||||||
color: 'base.900',
|
color: 'base.900',
|
||||||
fontWeight: 'bold',
|
fontWeight: 'bold',
|
||||||
letterSpacing: 0.5,
|
letterSpacing: 0.6,
|
||||||
wordBreak: 'break-all',
|
wordBreak: 'break-all',
|
||||||
whiteSpace: 'nowrap',
|
whiteSpace: 'nowrap',
|
||||||
textOverflow: 'ellipsis',
|
textOverflow: 'ellipsis',
|
||||||
|
Loading…
Reference in New Issue
Block a user