mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +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
@@ -94,10 +94,10 @@ const SparklineCell = ({
|
||||
}: Props) => {
|
||||
const theme = useTheme();
|
||||
const xyTheme = buildChartTheme({
|
||||
backgroundColor: `${theme.colors.grayscale.light5}`,
|
||||
colors: [`${theme.colors.grayscale.base}`],
|
||||
gridColor: `${theme.colors.grayscale.light1}`,
|
||||
gridColorDark: `${theme.colors.grayscale.base}`,
|
||||
backgroundColor: `${theme.colorBgContainer}`,
|
||||
colors: [`${theme.colorText}`],
|
||||
gridColor: `${theme.colorSplit}`,
|
||||
gridColorDark: `${theme.colorBorder}`,
|
||||
tickLength: 6,
|
||||
});
|
||||
|
||||
@@ -191,7 +191,7 @@ const SparklineCell = ({
|
||||
})}
|
||||
width={innerWidth}
|
||||
strokeDasharray="3 3"
|
||||
stroke={`${theme.colors.grayscale.light1}`}
|
||||
stroke={`${theme.colorSplit}`}
|
||||
tickValues={[min, max]}
|
||||
/>
|
||||
)}
|
||||
|
||||
@@ -237,7 +237,7 @@ const TimeTable = ({
|
||||
css={theme =>
|
||||
color && {
|
||||
boxShadow: `inset 0px -2.5px 0px 0px ${color}`,
|
||||
borderRight: `2px solid ${theme.colors.grayscale.light5}`,
|
||||
borderRight: `2px solid ${theme.colorBorderSecondary}`,
|
||||
}
|
||||
}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user