feat(theming): land Ant Design v5 overhaul — dynamic themes, real dark mode + massive styling refactor (#31590)

Co-authored-by: Enzo Martellucci <52219496+EnxDev@users.noreply.github.com>
Co-authored-by: Diego Pucci <diegopucci.me@gmail.com>
Co-authored-by: Mehmet Salih Yavuz <salih.yavuz@proton.me>
Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
Co-authored-by: Alexandru Soare <37236580+alexandrusoare@users.noreply.github.com>
Co-authored-by: Damian Pendrak <dpendrak@gmail.com>
Co-authored-by: Pius Iniobong <67148161+payose@users.noreply.github.com>
Co-authored-by: Enzo Martellucci <enzomartellucci@gmail.com>
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
This commit is contained in:
Maxime Beauchemin
2025-06-20 13:38:58 -07:00
committed by GitHub
parent 2cc1ef88c8
commit dd129fa403
1267 changed files with 32958 additions and 23592 deletions

View File

@@ -17,7 +17,7 @@
* under the License.
*/
/* eslint-disable react/sort-prop-types */
import d3 from 'd3';
import * as d3 from 'd3v3';
import PropTypes from 'prop-types';
import { getSequentialSchemeRegistry } from '@superset-ui/core';

View File

@@ -46,7 +46,7 @@ export default styled(ParallelCoordinates)`
}
.parcoords svg,
.parcoords canvas {
font-size: ${theme.typography.sizes.s}px;
font-size: ${theme.fontSizeSM}px;
position: absolute;
}
.parcoords > canvas {
@@ -55,7 +55,7 @@ export default styled(ParallelCoordinates)`
.parcoords text.label {
font: 100%;
font-size: ${theme.typography.sizes.s}px;
font-size: ${theme.fontSizeSM}px;
cursor: drag;
}
.parcoords rect.background {
@@ -74,7 +74,7 @@ export default styled(ParallelCoordinates)`
.parcoords .axis line,
.parcoords .axis path {
fill: none;
stroke: ${theme.colors.grayscale.dark1};
stroke: ${theme.colorText};
shape-rendering: crispEdges;
}
.parcoords canvas {
@@ -84,7 +84,7 @@ export default styled(ParallelCoordinates)`
-o-transition: opacity 0.3s;
}
.parcoords canvas.faded {
opacity: ${theme.opacity.mediumLight};
opacity: 35%;
}
.parcoords {
-webkit-touch-callout: none;
@@ -100,7 +100,7 @@ export default styled(ParallelCoordinates)`
.parcoords .row,
.parcoords .header {
clear: left;
font-size: ${theme.typography.sizes.s}px;
font-size: ${theme.fontSizeSM}px;
line-height: 18px;
height: 18px;
margin: 0px;
@@ -109,7 +109,7 @@ export default styled(ParallelCoordinates)`
background: ${addAlpha(theme.colors.grayscale.dark2, 0.05)};
}
.parcoords .header {
font-weight: ${theme.typography.weights.bold};
font-weight: ${theme.fontWeightStrong};
}
.parcoords .cell {
float: left;