fix: ui issues (#1023)

This commit is contained in:
Qi
2023-02-15 17:07:09 +08:00
committed by GitHub
parent 34a3a99d62
commit c65adc5e25
10 changed files with 39 additions and 43 deletions

View File

@@ -28,7 +28,7 @@ export const getLightTheme = (
textColor: '#28293D',
edgelessTextColor: '#3A4C5C',
iconColor: '#555770',
iconColor: '#77757D',
handleColor: '#c7c3d9',
linkColor: '#6880FF',
linkColor2: '#6880FF',
@@ -37,14 +37,14 @@ export const getLightTheme = (
inputColor: '#4C6275',
tooltipColor: '#fff',
codeColor: '#517ea6',
quoteColor: '#4C6275',
placeHolderColor: '#888A9E',
quoteColor: '#645F82',
placeHolderColor: '#C0BFC1',
selectedColor: 'rgba(104, 128, 255, 0.1)',
borderColor: '#E3E2E4',
disableColor: '#555770',
disableColor: '#A9A9AD',
warningColor: '#906616',
errorColor: '#EB4335',
lineNumberColor: '#555770',
lineNumberColor: '#77757D',
},
font: {
title: '36px',

View File

@@ -32,6 +32,7 @@ export const StyledIconButton = styled('button', {
theme,
width,
height,
borderRadius,
disabled,
hoverBackground,
hoverColor,
@@ -52,7 +53,7 @@ export const StyledIconButton = styled('button', {
content: '""',
width,
height,
borderRadius: width / 5,
borderRadius,
transition: 'background .15s',
...absoluteCenter({ horizontal: true, vertical: true }),
},