mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +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
@@ -63,13 +63,11 @@ export const useThemeMenuItems = ({
|
||||
const selectedThemeModeIcon = useMemo(
|
||||
() =>
|
||||
hasLocalOverride ? (
|
||||
<Icons.FormatPainterOutlined
|
||||
style={{ color: theme.colors.error.base }}
|
||||
/>
|
||||
<Icons.FormatPainterOutlined style={{ color: theme.colorError }} />
|
||||
) : (
|
||||
themeIconMap[themeMode]
|
||||
),
|
||||
[hasLocalOverride, theme.colors.error.base, themeIconMap, themeMode],
|
||||
[hasLocalOverride, theme.colorError, themeIconMap, themeMode],
|
||||
);
|
||||
|
||||
const themeOptions: MenuItem[] = [
|
||||
|
||||
Reference in New Issue
Block a user