mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
feat: completely migrate from DeprecatedThemeColors to Antd semantic tokens (#34732)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
31e2143c84
commit
1f482b42eb
@@ -33,7 +33,7 @@ export const verticalAlign = css`
|
||||
export const StyledTooltip = styled(IconTooltip)`
|
||||
padding-right: ${({ theme }) => theme.sizeUnit * 2}px;
|
||||
span {
|
||||
color: ${({ theme }) => theme.colors.grayscale.base};
|
||||
color: ${({ theme }) => theme.colorIcon};
|
||||
&: hover {
|
||||
color: ${({ theme }) => theme.colorPrimary};
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ const Styles = styled.span`
|
||||
span[role='img']:not([aria-label='down']) {
|
||||
display: flex;
|
||||
margin: 0;
|
||||
color: ${({ theme }) => theme.colors.grayscale.base};
|
||||
color: ${({ theme }) => theme.colorIcon};
|
||||
svg {
|
||||
vertical-align: -${({ theme }) => theme.sizeUnit * 1.25}px;
|
||||
margin: 0;
|
||||
|
||||
@@ -125,7 +125,7 @@ const SqlEditorTabHeader: FC<Props> = ({ queryEditor }) => {
|
||||
[QueryState.TimedOut]: theme.colorError,
|
||||
};
|
||||
|
||||
return statusColors[state] || theme.colors.grayscale.light2;
|
||||
return statusColors[state] || theme.colorIcon;
|
||||
};
|
||||
return (
|
||||
<TabTitleWrapper>
|
||||
|
||||
Reference in New Issue
Block a user