feat(core): workspace properties setting (#5739)

the property settings in workspace settings
This commit is contained in:
Peng Xiao
2024-02-22 09:37:46 +00:00
parent 55b8082d3a
commit 546d96c5c9
17 changed files with 1231 additions and 318 deletions
@@ -9,7 +9,7 @@ export const button = style({
flexShrink: 0,
outline: '0',
border: '1px solid',
padding: '0 18px',
padding: '0 8px',
borderRadius: '8px',
fontSize: cssVar('fontXs'),
fontWeight: 500,
@@ -4,7 +4,7 @@ export const inputWrapper = style({
width: '100%',
height: 28,
lineHeight: '22px',
padding: '0 10px',
gap: '10px',
color: cssVar('textPrimaryColor'),
border: '1px solid',
backgroundColor: cssVar('white'),
@@ -53,6 +53,7 @@ export const input = style({
width: '0',
flex: 1,
boxSizing: 'border-box',
padding: '0 12px',
// prevent default style
WebkitAppearance: 'none',
WebkitTapHighlightColor: 'transparent',
@@ -13,7 +13,6 @@ export const menuContent = style({
userSelect: 'none',
});
export const menuItem = style({
maxWidth: '296px',
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
@@ -50,6 +49,9 @@ export const menuItem = style({
color: cssVar('warningColor'),
backgroundColor: cssVar('backgroundWarningColor'),
},
'&.checked': {
color: cssVar('primaryColor'),
},
},
});
export const menuSpan = style({