mirror of
https://github.com/apache/superset.git
synced 2026-04-18 15:44:57 +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
@@ -39,7 +39,7 @@ export default styled(ParallelCoordinates)`
|
||||
overflow: auto;
|
||||
div.row {
|
||||
&:hover {
|
||||
background-color: ${theme.colors.grayscale.light2};
|
||||
background-color: ${theme.colorBgTextHover};
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -62,14 +62,14 @@ export default styled(ParallelCoordinates)`
|
||||
fill: transparent;
|
||||
}
|
||||
.parcoords rect.background:hover {
|
||||
fill: ${addAlpha(theme.colors.grayscale.base, 0.2)};
|
||||
fill: ${addAlpha(theme.colorBorder, 0.2)};
|
||||
}
|
||||
.parcoords .resize rect {
|
||||
fill: ${addAlpha(theme.colors.grayscale.dark2, 0.1)};
|
||||
fill: ${addAlpha(theme.colorText, 0.1)};
|
||||
}
|
||||
.parcoords rect.extent {
|
||||
fill: ${addAlpha(theme.colors.grayscale.light5, 0.25)};
|
||||
stroke: ${addAlpha(theme.colors.grayscale.dark2, 0.6)};
|
||||
fill: ${addAlpha(theme.colorBgContainer, 0.25)};
|
||||
stroke: ${addAlpha(theme.colorText, 0.6)};
|
||||
}
|
||||
.parcoords .axis line,
|
||||
.parcoords .axis path {
|
||||
@@ -93,7 +93,7 @@ export default styled(ParallelCoordinates)`
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
background-color: ${theme.colors.grayscale.light5};
|
||||
background-color: ${theme.colorBgContainer};
|
||||
}
|
||||
|
||||
/* data table styles */
|
||||
@@ -106,7 +106,7 @@ export default styled(ParallelCoordinates)`
|
||||
margin: 0px;
|
||||
}
|
||||
.parcoords .row:nth-of-type(odd) {
|
||||
background: ${addAlpha(theme.colors.grayscale.dark2, 0.05)};
|
||||
background: ${addAlpha(theme.colorText, 0.05)};
|
||||
}
|
||||
.parcoords .header {
|
||||
font-weight: ${theme.fontWeightStrong};
|
||||
|
||||
Reference in New Issue
Block a user