You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by en...@apache.org on 2025/06/17 09:16:42 UTC
(superset) 06/06: style(UI): replace font-weight 600 with font-weight 500
This is an automated email from the ASF dual-hosted git repository.
enzomartellucci pushed a commit to branch enxdev/fix/theming/visual-regressions-p5
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 8f757a52db097f7959465fa2d1c6b531c77fc10d
Author: Enzo Martellucci <en...@gmail.com>
AuthorDate: Tue Jun 17 10:30:19 2025 +0200
style(UI): replace font-weight 600 with font-weight 500
---
.../src/components/ControlSubSectionHeader.tsx | 2 +-
.../superset-ui-chart-controls/src/components/labelUtils.tsx | 2 +-
.../superset-ui-core/src/chart/components/NoResultsComponent.tsx | 2 +-
.../packages/superset-ui-core/src/components/Button/index.tsx | 4 ++--
.../superset-ui-core/src/components/DropdownButton/index.tsx | 2 +-
.../src/components/DynamicEditableTitle/index.tsx | 2 +-
.../packages/superset-ui-core/src/components/EmptyState/index.tsx | 2 +-
.../superset-ui-core/src/components/MetadataBar/ContentConfig.tsx | 2 +-
.../superset-ui-core/src/components/MetadataBar/MetadataBar.tsx | 3 ++-
.../superset-ui-core/src/components/PopoverDropdown/index.tsx | 2 +-
.../superset-ui-core/src/components/Table/VirtualTable.tsx | 2 +-
.../components/Table/header-renderers/HeaderWithRadioGroup.tsx | 2 +-
.../superset-ui-core/src/components/TableCollection/index.tsx | 4 ++--
.../packages/superset-ui-core/src/theme/GlobalStyles.tsx | 2 +-
superset-frontend/packages/superset-ui-core/src/theme/types.ts | 2 +-
.../plugins/legacy-plugin-chart-calendar/src/ReactCalendar.jsx | 2 +-
.../legacy-plugin-chart-country-map/src/ReactCountryMap.jsx | 2 +-
.../src/ReactParallelCoordinates.jsx | 2 +-
.../plugins/legacy-plugin-chart-partition/src/ReactPartition.jsx | 2 +-
.../plugins/legacy-preset-chart-nvd3/src/ReactNVD3.jsx | 8 ++++----
.../plugin-chart-pivot-table/src/react-pivottable/Styles.js | 6 +++---
superset-frontend/plugins/plugin-chart-table/src/Styles.tsx | 2 +-
superset-frontend/src/SqlLab/components/SqlEditor/index.tsx | 4 ++--
superset-frontend/src/SqlLab/components/TablePreview/index.tsx | 2 +-
.../src/components/Chart/DrillDetail/DrillDetailMenuItems.tsx | 2 +-
superset-frontend/src/components/Datasource/DatasourceEditor.jsx | 2 +-
superset-frontend/src/components/ErrorMessage/BasicErrorAlert.tsx | 2 +-
superset-frontend/src/components/ListView/CrossLinks.tsx | 2 +-
.../src/dashboard/components/AddSliceCard/AddSliceCard.tsx | 2 +-
.../src/dashboard/components/FiltersBadge/Styles.tsx | 4 ++--
superset-frontend/src/dashboard/components/SliceHeader/index.tsx | 2 +-
.../src/dashboard/components/filterscope/FilterScopeSelector.jsx | 4 ++--
.../src/dashboard/components/gridComponents/Header.jsx | 2 +-
.../FilterBar/CrossFilters/ScopingModal/ScopingTreePanel.tsx | 2 +-
.../dashboard/components/nativeFilters/FilterBar/Header/index.tsx | 2 +-
.../dashboard/components/nativeFilters/FilterBar/Horizontal.tsx | 2 +-
.../dashboard/components/nativeFilters/FilterCard/ScopeRow.tsx | 2 +-
superset-frontend/src/dashboard/styles.ts | 6 +++---
.../src/explore/components/ControlPanelsContainer.tsx | 2 +-
.../components/controls/DateFilterControl/DateFilterLabel.tsx | 2 +-
.../controls/DateFilterControl/components/DateFunctionTooltip.tsx | 4 ++--
.../controls/LayerConfigsControl/LayerConfigsPopoverContent.tsx | 4 ++--
.../explore/components/controls/MapViewControl/MapViewControl.tsx | 2 +-
.../components/controls/MapViewControl/MapViewPopoverContent.tsx | 4 ++--
.../src/explore/components/controls/VizTypeControl/VizTile.tsx | 2 +-
.../explore/components/controls/VizTypeControl/VizTypeGallery.tsx | 4 ++--
superset-frontend/src/explore/components/optionRenderers.tsx | 2 +-
superset-frontend/src/features/databases/DatabaseModal/styles.ts | 8 ++++----
.../features/datasets/AddDataset/DatasetPanel/DatasetPanel.tsx | 4 ++--
.../src/features/datasets/AddDataset/LeftPanel/index.tsx | 4 ++--
.../src/features/datasets/DatasetSelectLabel/index.tsx | 2 +-
superset-frontend/src/features/datasets/styles.ts | 2 +-
superset-frontend/src/features/home/SubMenu.tsx | 2 +-
.../src/filters/components/Range/RangeFilterPlugin.tsx | 2 +-
superset-frontend/src/pages/AllEntities/index.tsx | 4 ++--
superset-frontend/src/pages/ChartCreation/index.tsx | 4 ++--
superset-frontend/src/pages/ChartList/index.tsx | 2 +-
superset-frontend/src/pages/DashboardList/index.tsx | 2 +-
superset-frontend/src/pages/DatasetList/index.tsx | 1 +
superset-frontend/src/pages/SavedQueryList/index.tsx | 2 +-
superset-frontend/src/pages/UserInfo/index.tsx | 4 ++--
61 files changed, 86 insertions(+), 84 deletions(-)
diff --git a/superset-frontend/packages/superset-ui-chart-controls/src/components/ControlSubSectionHeader.tsx b/superset-frontend/packages/superset-ui-chart-controls/src/components/ControlSubSectionHeader.tsx
index 39d6a3b6a5..ab0e9bf108 100644
--- a/superset-frontend/packages/superset-ui-chart-controls/src/components/ControlSubSectionHeader.tsx
+++ b/superset-frontend/packages/superset-ui-chart-controls/src/components/ControlSubSectionHeader.tsx
@@ -20,7 +20,7 @@ import { styled, css } from '@superset-ui/core';
export const ControlSubSectionHeader = styled.div`
${({ theme }) => css`
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
margin-bottom: ${theme.sizeUnit}px;
font-size: ${theme.fontSizeSM}px;
`}
diff --git a/superset-frontend/packages/superset-ui-chart-controls/src/components/labelUtils.tsx b/superset-frontend/packages/superset-ui-chart-controls/src/components/labelUtils.tsx
index 6d371afcc4..8e5a19a6a1 100644
--- a/superset-frontend/packages/superset-ui-chart-controls/src/components/labelUtils.tsx
+++ b/superset-frontend/packages/superset-ui-chart-controls/src/components/labelUtils.tsx
@@ -40,7 +40,7 @@ const TooltipSectionWrapper = styled.div`
const TooltipSectionLabel = styled.span`
${({ theme }) => css`
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
`}
`;
diff --git a/superset-frontend/packages/superset-ui-core/src/chart/components/NoResultsComponent.tsx b/superset-frontend/packages/superset-ui-core/src/chart/components/NoResultsComponent.tsx
index 3bcb3e3a89..71110178f3 100644
--- a/superset-frontend/packages/superset-ui-core/src/chart/components/NoResultsComponent.tsx
+++ b/superset-frontend/packages/superset-ui-core/src/chart/components/NoResultsComponent.tsx
@@ -40,7 +40,7 @@ const Container = styled.div<{
& .no-results-title {
font-size: ${theme.fontSizeLG}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
padding-bottom: ${theme.sizeUnit * 2};
}
diff --git a/superset-frontend/packages/superset-ui-core/src/components/Button/index.tsx b/superset-frontend/packages/superset-ui-core/src/components/Button/index.tsx
index 93a630129a..4e14b58b3d 100644
--- a/superset-frontend/packages/superset-ui-core/src/components/Button/index.tsx
+++ b/superset-frontend/packages/superset-ui-core/src/components/Button/index.tsx
@@ -48,7 +48,7 @@ export function Button(props: ButtonProps) {
} = props;
const theme = useTheme();
- const { fontSizeSM, fontWeightStrong } = theme;
+ const { fontSizeSM, fontWeightMedium } = theme;
let height = 32;
let padding = 18;
@@ -122,7 +122,7 @@ export function Button(props: ButtonProps) {
justifyContent: 'center',
lineHeight: 1.5715,
fontSize: fontSizeSM,
- fontWeight: fontWeightStrong,
+ fontWeight: fontWeightMedium,
height,
padding: `0px ${padding}px`,
minWidth: cta ? theme.sizeUnit * 36 : undefined,
diff --git a/superset-frontend/packages/superset-ui-core/src/components/DropdownButton/index.tsx b/superset-frontend/packages/superset-ui-core/src/components/DropdownButton/index.tsx
index 2ee2a24438..81b835dbfc 100644
--- a/superset-frontend/packages/superset-ui-core/src/components/DropdownButton/index.tsx
+++ b/superset-frontend/packages/superset-ui-core/src/components/DropdownButton/index.tsx
@@ -60,7 +60,7 @@ export const DropdownButton = ({
height: 30px;
box-shadow: none;
font-size: ${theme.fontSizeSM}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
}
`,
]}
diff --git a/superset-frontend/packages/superset-ui-core/src/components/DynamicEditableTitle/index.tsx b/superset-frontend/packages/superset-ui-core/src/components/DynamicEditableTitle/index.tsx
index dff597f3fa..4ab1b058f2 100644
--- a/superset-frontend/packages/superset-ui-core/src/components/DynamicEditableTitle/index.tsx
+++ b/superset-frontend/packages/superset-ui-core/src/components/DynamicEditableTitle/index.tsx
@@ -34,7 +34,7 @@ import type { DynamicEditableTitleProps } from './types';
const titleStyles = (theme: SupersetTheme) => css`
display: flex;
font-size: ${theme.fontSizeXL}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
diff --git a/superset-frontend/packages/superset-ui-core/src/components/EmptyState/index.tsx b/superset-frontend/packages/superset-ui-core/src/components/EmptyState/index.tsx
index 570119ff2f..2916ce858e 100644
--- a/superset-frontend/packages/superset-ui-core/src/components/EmptyState/index.tsx
+++ b/superset-frontend/packages/superset-ui-core/src/components/EmptyState/index.tsx
@@ -86,7 +86,7 @@ const Title = styled.p<{ size: EmptyStateSize }>`
font-size: ${size === 'large' ? theme.fontSizeLG : theme.fontSize}px;
color: ${theme.colorTextQuaternary};
margin-top: ${size === 'large' ? theme.sizeUnit * 4 : theme.sizeUnit * 2}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
`}
`;
diff --git a/superset-frontend/packages/superset-ui-core/src/components/MetadataBar/ContentConfig.tsx b/superset-frontend/packages/superset-ui-core/src/components/MetadataBar/ContentConfig.tsx
index 3216ceab80..f0362ac353 100644
--- a/superset-frontend/packages/superset-ui-core/src/components/MetadataBar/ContentConfig.tsx
+++ b/superset-frontend/packages/superset-ui-core/src/components/MetadataBar/ContentConfig.tsx
@@ -21,7 +21,7 @@ import { Icons } from '@superset-ui/core/components/Icons';
import { ContentType, MetadataType } from '.';
const Header = styled.div`
- font-weight: ${({ theme }) => theme.fontWeightStrong};
+ font-weight: ${({ theme }) => theme.fontWeightMedium};
`;
const Info = ({
diff --git a/superset-frontend/packages/superset-ui-core/src/components/MetadataBar/MetadataBar.tsx b/superset-frontend/packages/superset-ui-core/src/components/MetadataBar/MetadataBar.tsx
index 21033ad34c..294c7f817e 100644
--- a/superset-frontend/packages/superset-ui-core/src/components/MetadataBar/MetadataBar.tsx
+++ b/superset-frontend/packages/superset-ui-core/src/components/MetadataBar/MetadataBar.tsx
@@ -81,7 +81,7 @@ const StyledItem = styled.div<{
cursor: ${onClick ? 'pointer' : 'default'};
& .metadata-icon {
color: ${
- onClick && collapsed ? theme.colorPrimary : theme.colors.grayscale.base
+ onClick && collapsed ? theme.colorPrimary : theme.colorTextSecondary
};
padding-right: ${collapsed ? 0 : ICON_PADDING}px;
& .anticon {
@@ -89,6 +89,7 @@ const StyledItem = styled.div<{
}
}
& .metadata-text {
+ color: ${theme.colorTextSecondary};
min-width: ${TEXT_MIN_WIDTH}px;
overflow: hidden;
text-overflow: ${collapsed ? 'unset' : 'ellipsis'};
diff --git a/superset-frontend/packages/superset-ui-core/src/components/PopoverDropdown/index.tsx b/superset-frontend/packages/superset-ui-core/src/components/PopoverDropdown/index.tsx
index 5b0532afa4..e432e02791 100644
--- a/superset-frontend/packages/superset-ui-core/src/components/PopoverDropdown/index.tsx
+++ b/superset-frontend/packages/superset-ui-core/src/components/PopoverDropdown/index.tsx
@@ -65,7 +65,7 @@ const MenuItem = styled(Menu.Item)`
}
&.active {
- font-weight: ${({ theme }) => theme.fontWeightStrong};
+ font-weight: ${({ theme }) => theme.fontWeightMedium};
background: ${({ theme }) => theme.colors.grayscale.light2};
}
}
diff --git a/superset-frontend/packages/superset-ui-core/src/components/Table/VirtualTable.tsx b/superset-frontend/packages/superset-ui-core/src/components/Table/VirtualTable.tsx
index 2ab0be3980..092c5981ba 100644
--- a/superset-frontend/packages/superset-ui-core/src/components/Table/VirtualTable.tsx
+++ b/superset-frontend/packages/superset-ui-core/src/components/Table/VirtualTable.tsx
@@ -53,7 +53,7 @@ const StyledCell = styled('div')<{ height?: number }>(
const StyledTable = styled(AntTable)(
({ theme }) => `
th.ant-table-cell {
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
diff --git a/superset-frontend/packages/superset-ui-core/src/components/Table/header-renderers/HeaderWithRadioGroup.tsx b/superset-frontend/packages/superset-ui-core/src/components/Table/header-renderers/HeaderWithRadioGroup.tsx
index cd54635b06..a6adfdb96e 100644
--- a/superset-frontend/packages/superset-ui-core/src/components/Table/header-renderers/HeaderWithRadioGroup.tsx
+++ b/superset-frontend/packages/superset-ui-core/src/components/Table/header-renderers/HeaderWithRadioGroup.tsx
@@ -47,7 +47,7 @@ function HeaderWithRadioGroup(props: HeaderWithRadioGroupProps) {
<div>
<div
css={css`
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
margin-bottom: ${theme.sizeUnit}px;
`}
>
diff --git a/superset-frontend/packages/superset-ui-core/src/components/TableCollection/index.tsx b/superset-frontend/packages/superset-ui-core/src/components/TableCollection/index.tsx
index 4ff77adc18..e5c0fa0514 100644
--- a/superset-frontend/packages/superset-ui-core/src/components/TableCollection/index.tsx
+++ b/superset-frontend/packages/superset-ui-core/src/components/TableCollection/index.tsx
@@ -70,8 +70,8 @@ const StyledTable = styled(Table)`
}
}
}
- .ant-table-column-title{
- line-height: normal;
+ .ant-table-column-title {
+ line-height: initial;
}
.ant-table-row:hover {
.actions {
diff --git a/superset-frontend/packages/superset-ui-core/src/theme/GlobalStyles.tsx b/superset-frontend/packages/superset-ui-core/src/theme/GlobalStyles.tsx
index eb65e67b68..7e215ca6e8 100644
--- a/superset-frontend/packages/superset-ui-core/src/theme/GlobalStyles.tsx
+++ b/superset-frontend/packages/superset-ui-core/src/theme/GlobalStyles.tsx
@@ -51,7 +51,7 @@ export const GlobalStyles = () => {
h6,
strong,
th {
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
}
.echarts-tooltip[style*='visibility: hidden'] {
diff --git a/superset-frontend/packages/superset-ui-core/src/theme/types.ts b/superset-frontend/packages/superset-ui-core/src/theme/types.ts
index 41445ee4e5..d6b973949a 100644
--- a/superset-frontend/packages/superset-ui-core/src/theme/types.ts
+++ b/superset-frontend/packages/superset-ui-core/src/theme/types.ts
@@ -267,7 +267,7 @@ export const allowedAntdTokens = [
'fontSizeLG',
'fontSizeSM',
'fontSizeXL',
- 'fontWeightStrong',
+ 'fontWeightMedium',
'lineHeight',
'lineHeightHeading1',
'lineHeightHeading2',
diff --git a/superset-frontend/plugins/legacy-plugin-chart-calendar/src/ReactCalendar.jsx b/superset-frontend/plugins/legacy-plugin-chart-calendar/src/ReactCalendar.jsx
index 8c8edd1a5e..555951ff74 100644
--- a/superset-frontend/plugins/legacy-plugin-chart-calendar/src/ReactCalendar.jsx
+++ b/superset-frontend/plugins/legacy-plugin-chart-calendar/src/ReactCalendar.jsx
@@ -196,7 +196,7 @@ export default styled(Calendar)`
.cal-heatmap-container text.highlight-now {
fill: ${theme.colorError};
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
}
.cal-heatmap-container .domain-background {
diff --git a/superset-frontend/plugins/legacy-plugin-chart-country-map/src/ReactCountryMap.jsx b/superset-frontend/plugins/legacy-plugin-chart-country-map/src/ReactCountryMap.jsx
index b857b36040..73007cba3e 100644
--- a/superset-frontend/plugins/legacy-plugin-chart-country-map/src/ReactCountryMap.jsx
+++ b/superset-frontend/plugins/legacy-plugin-chart-country-map/src/ReactCountryMap.jsx
@@ -63,7 +63,7 @@ export default styled(CountryMap)`
}
.superset-legacy-chart-country-map text.big-text {
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
font-size: ${theme.fontSizeLG}px;
}
diff --git a/superset-frontend/plugins/legacy-plugin-chart-parallel-coordinates/src/ReactParallelCoordinates.jsx b/superset-frontend/plugins/legacy-plugin-chart-parallel-coordinates/src/ReactParallelCoordinates.jsx
index 740d4043df..a47ff104ff 100644
--- a/superset-frontend/plugins/legacy-plugin-chart-parallel-coordinates/src/ReactParallelCoordinates.jsx
+++ b/superset-frontend/plugins/legacy-plugin-chart-parallel-coordinates/src/ReactParallelCoordinates.jsx
@@ -109,7 +109,7 @@ export default styled(ParallelCoordinates)`
background: ${addAlpha(theme.colors.grayscale.dark2, 0.05)};
}
.parcoords .header {
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
}
.parcoords .cell {
float: left;
diff --git a/superset-frontend/plugins/legacy-plugin-chart-partition/src/ReactPartition.jsx b/superset-frontend/plugins/legacy-plugin-chart-partition/src/ReactPartition.jsx
index 538c67fa9e..26bc9ec4c5 100644
--- a/superset-frontend/plugins/legacy-plugin-chart-partition/src/ReactPartition.jsx
+++ b/superset-frontend/plugins/legacy-plugin-chart-partition/src/ReactPartition.jsx
@@ -52,7 +52,7 @@ export default styled(Partition)`
}
.superset-legacy-chart-partition g text {
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
fill: ${theme.colorText};
}
diff --git a/superset-frontend/plugins/legacy-preset-chart-nvd3/src/ReactNVD3.jsx b/superset-frontend/plugins/legacy-preset-chart-nvd3/src/ReactNVD3.jsx
index 35cada7e4d..9ffc30b5d7 100644
--- a/superset-frontend/plugins/legacy-preset-chart-nvd3/src/ReactNVD3.jsx
+++ b/superset-frontend/plugins/legacy-preset-chart-nvd3/src/ReactNVD3.jsx
@@ -66,7 +66,7 @@ export default styled(NVD3)`
}
}
.nvtooltip tr.highlight td {
- font-weight: ${({ theme }) => theme.fontWeightStrong};
+ font-weight: ${({ theme }) => theme.fontWeightMedium};
font-size: ${({ theme }) => theme.fontSize}px !important;
}
text.nv-axislabel {
@@ -146,15 +146,15 @@ export default styled(NVD3)`
.superset-legacy-chart-nvd3-tr-highlight {
border-top: 1px solid;
border-bottom: 1px solid;
- font-weight: ${({ theme }) => theme.fontWeightStrong};
+ font-weight: ${({ theme }) => theme.fontWeightMedium};
}
.superset-legacy-chart-nvd3-tr-total {
- font-weight: ${({ theme }) => theme.fontWeightStrong};
+ font-weight: ${({ theme }) => theme.fontWeightMedium};
}
.nvtooltip {
.tooltip-header {
white-space: nowrap;
- font-weight: ${({ theme }) => theme.fontWeightStrong};
+ font-weight: ${({ theme }) => theme.fontWeightMedium};
}
tbody tr:not(.tooltip-header) td:nth-of-type(2) {
word-break: break-word;
diff --git a/superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/Styles.js b/superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/Styles.js
index ceec36621c..79455500d1 100644
--- a/superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/Styles.js
+++ b/superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/Styles.js
@@ -94,11 +94,11 @@ export const Styles = styled.div`
table.pvtTable .pvtTotalLabel {
text-align: right;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
}
table.pvtTable .pvtSubtotalLabel {
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
}
table.pvtTable tbody tr td {
@@ -117,7 +117,7 @@ export const Styles = styled.div`
.pvtTotal,
.pvtGrandTotal {
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
}
table.pvtTable tbody tr td.pvtRowTotal {
diff --git a/superset-frontend/plugins/plugin-chart-table/src/Styles.tsx b/superset-frontend/plugins/plugin-chart-table/src/Styles.tsx
index 1f11d551b4..02bec314ff 100644
--- a/superset-frontend/plugins/plugin-chart-table/src/Styles.tsx
+++ b/superset-frontend/plugins/plugin-chart-table/src/Styles.tsx
@@ -108,7 +108,7 @@ export default styled.div`
}
.dt-totals {
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
}
.dt-is-null {
diff --git a/superset-frontend/src/SqlLab/components/SqlEditor/index.tsx b/superset-frontend/src/SqlLab/components/SqlEditor/index.tsx
index e2f6021532..907febc7a3 100644
--- a/superset-frontend/src/SqlLab/components/SqlEditor/index.tsx
+++ b/superset-frontend/src/SqlLab/components/SqlEditor/index.tsx
@@ -939,7 +939,7 @@ const SqlEditor: FC<Props> = ({
<p
css={css`
font-size: ${theme.fontSize}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
color: ${theme.colorPrimaryText};
`}
>
@@ -950,7 +950,7 @@ const SqlEditor: FC<Props> = ({
<p
css={css`
font-size: ${theme.fontSize}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
color: ${theme.colorPrimaryText};
`}
>
diff --git a/superset-frontend/src/SqlLab/components/TablePreview/index.tsx b/superset-frontend/src/SqlLab/components/TablePreview/index.tsx
index d872b0ed32..929c1d43bc 100644
--- a/superset-frontend/src/SqlLab/components/TablePreview/index.tsx
+++ b/superset-frontend/src/SqlLab/components/TablePreview/index.tsx
@@ -96,7 +96,7 @@ const Title = styled.div`
align-items: center;
column-gap: ${theme.sizeUnit}px;
font-size: ${theme.fontSizeLG}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
`}
`;
const renderWell = (partitions: TableMetaData['partitions']) => {
diff --git a/superset-frontend/src/components/Chart/DrillDetail/DrillDetailMenuItems.tsx b/superset-frontend/src/components/Chart/DrillDetail/DrillDetailMenuItems.tsx
index 6fef045cea..5741f03f3e 100644
--- a/superset-frontend/src/components/Chart/DrillDetail/DrillDetailMenuItems.tsx
+++ b/superset-frontend/src/components/Chart/DrillDetail/DrillDetailMenuItems.tsx
@@ -96,7 +96,7 @@ const Filter = ({
const StyledFilter = styled(Filter)`
${({ theme }) => `
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
color: ${theme.colorPrimary};
`}
`;
diff --git a/superset-frontend/src/components/Datasource/DatasourceEditor.jsx b/superset-frontend/src/components/Datasource/DatasourceEditor.jsx
index 988d48ca5d..d8702df924 100644
--- a/superset-frontend/src/components/Datasource/DatasourceEditor.jsx
+++ b/superset-frontend/src/components/Datasource/DatasourceEditor.jsx
@@ -84,7 +84,7 @@ const DatasourceContainer = styled.div`
}
.change-warning .bold {
- font-weight: ${({ theme }) => theme.fontWeightStrong};
+ font-weight: ${({ theme }) => theme.fontWeightMedium};
}
.form-group.has-feedback > .help-block {
diff --git a/superset-frontend/src/components/ErrorMessage/BasicErrorAlert.tsx b/superset-frontend/src/components/ErrorMessage/BasicErrorAlert.tsx
index 218fbfd43d..209f99dead 100644
--- a/superset-frontend/src/components/ErrorMessage/BasicErrorAlert.tsx
+++ b/superset-frontend/src/components/ErrorMessage/BasicErrorAlert.tsx
@@ -27,7 +27,7 @@ const StyledContent = styled.div`
`;
const StyledTitle = styled.span`
- font-weight: ${({ theme }) => theme.fontWeightStrong};
+ font-weight: ${({ theme }) => theme.fontWeightMedium};
`;
interface BasicErrorAlertProps {
diff --git a/superset-frontend/src/components/ListView/CrossLinks.tsx b/superset-frontend/src/components/ListView/CrossLinks.tsx
index d0bbcc03e8..80f4136990 100644
--- a/superset-frontend/src/components/ListView/CrossLinks.tsx
+++ b/superset-frontend/src/components/ListView/CrossLinks.tsx
@@ -54,7 +54,7 @@ const StyledCrossLinks = styled.div`
.count {
cursor: pointer;
color: ${theme.colors.grayscale.base};
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
}
}
`}
diff --git a/superset-frontend/src/dashboard/components/AddSliceCard/AddSliceCard.tsx b/superset-frontend/src/dashboard/components/AddSliceCard/AddSliceCard.tsx
index d684456a98..0e71556dd3 100644
--- a/superset-frontend/src/dashboard/components/AddSliceCard/AddSliceCard.tsx
+++ b/superset-frontend/src/dashboard/components/AddSliceCard/AddSliceCard.tsx
@@ -258,7 +258,7 @@ const AddSliceCard: FC<{
data-test="card-title"
css={(theme: Theme) => css`
margin-bottom: ${theme.sizeUnit * 2}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
display: flex;
justify-content: space-between;
align-items: center;
diff --git a/superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx b/superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx
index 92436e46e0..897bd8a12e 100644
--- a/superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx
+++ b/superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx
@@ -27,7 +27,7 @@ export const Pill = styled.div`
vertical-align: text-top;
padding: ${theme.sizeUnit}px ${theme.sizeUnit * 2}px;
font-size: ${theme.fontSize}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
min-width: 1em;
min-height: 1em;
line-height: 1em;
@@ -59,7 +59,7 @@ export const Pill = styled.div`
export const SectionName = styled.span`
${({ theme }) => css`
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
`}
`;
export const FilterName = styled.span`
diff --git a/superset-frontend/src/dashboard/components/SliceHeader/index.tsx b/superset-frontend/src/dashboard/components/SliceHeader/index.tsx
index 8c0df83a88..98deafbcd7 100644
--- a/superset-frontend/src/dashboard/components/SliceHeader/index.tsx
+++ b/superset-frontend/src/dashboard/components/SliceHeader/index.tsx
@@ -71,7 +71,7 @@ const CrossFilterIcon = styled(Icons.ApartmentOutlined)`
const ChartHeaderStyles = styled.div`
${({ theme }) => css`
font-size: ${theme.fontSizeLG}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
margin-bottom: ${theme.sizeUnit}px;
display: flex;
max-width: 100%;
diff --git a/superset-frontend/src/dashboard/components/filterscope/FilterScopeSelector.jsx b/superset-frontend/src/dashboard/components/filterscope/FilterScopeSelector.jsx
index c834911c33..4136a02b1e 100644
--- a/superset-frontend/src/dashboard/components/filterscope/FilterScopeSelector.jsx
+++ b/superset-frontend/src/dashboard/components/filterscope/FilterScopeSelector.jsx
@@ -182,7 +182,7 @@ const ScopeSelector = styled.div`
.react-checkbox-tree {
.rct-title .root {
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
}
.rct-text {
@@ -232,7 +232,7 @@ const ScopeSelector = styled.div`
}
&.root {
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
}
}
diff --git a/superset-frontend/src/dashboard/components/gridComponents/Header.jsx b/superset-frontend/src/dashboard/components/gridComponents/Header.jsx
index 6c2e304c58..a02f56017b 100644
--- a/superset-frontend/src/dashboard/components/gridComponents/Header.jsx
+++ b/superset-frontend/src/dashboard/components/gridComponents/Header.jsx
@@ -59,7 +59,7 @@ const defaultProps = {};
const HeaderStyles = styled.div`
${({ theme }) => css`
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
width: 100%;
padding: ${theme.sizeUnit * 4}px 0;
diff --git a/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/CrossFilters/ScopingModal/ScopingTreePanel.tsx b/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/CrossFilters/ScopingModal/ScopingTreePanel.tsx
index d0669b2c55..9acab01999 100644
--- a/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/CrossFilters/ScopingModal/ScopingTreePanel.tsx
+++ b/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/CrossFilters/ScopingModal/ScopingTreePanel.tsx
@@ -160,7 +160,7 @@ export const ScopingTreePanel = ({
message={
<span
css={css`
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
`}
>
{t('Cross-filtering is not enabled in this dashboard')}
diff --git a/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/Header/index.tsx b/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/Header/index.tsx
index 7c113c2902..bfec4ad8bc 100644
--- a/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/Header/index.tsx
+++ b/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/Header/index.tsx
@@ -36,7 +36,7 @@ const TitleArea = styled.div`
& > span {
font-size: ${theme.fontSizeLG}px;
flex-grow: 1;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
}
& > div:first-of-type {
diff --git a/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/Horizontal.tsx b/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/Horizontal.tsx
index 23dc1c8209..876bf6cd1e 100644
--- a/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/Horizontal.tsx
+++ b/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/Horizontal.tsx
@@ -56,7 +56,7 @@ const HorizontalBarContent = styled.div`
const FilterBarEmptyStateContainer = styled.div`
${({ theme }) => `
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
color: ${theme.colors.grayscale.base};
font-size: ${theme.fontSizeSM}px;
padding-left: ${theme.sizeUnit * 2}px;
diff --git a/superset-frontend/src/dashboard/components/nativeFilters/FilterCard/ScopeRow.tsx b/superset-frontend/src/dashboard/components/nativeFilters/FilterCard/ScopeRow.tsx
index e816f50013..c7939e1615 100644
--- a/superset-frontend/src/dashboard/components/nativeFilters/FilterCard/ScopeRow.tsx
+++ b/superset-frontend/src/dashboard/components/nativeFilters/FilterCard/ScopeRow.tsx
@@ -29,7 +29,7 @@ const getTooltipSection = (items: string[] | undefined, label: string) =>
<>
<span
css={theme => css`
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
`}
>
{label}:
diff --git a/superset-frontend/src/dashboard/styles.ts b/superset-frontend/src/dashboard/styles.ts
index a92f37d3b9..23ac2a2b65 100644
--- a/superset-frontend/src/dashboard/styles.ts
+++ b/superset-frontend/src/dashboard/styles.ts
@@ -21,7 +21,7 @@ import { css, SupersetTheme } from '@superset-ui/core';
export const headerStyles = (theme: SupersetTheme) => css`
body {
h1 {
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
line-height: 1.4;
font-size: ${theme.fontSizeXXL}px;
letter-spacing: -0.2px;
@@ -30,7 +30,7 @@ export const headerStyles = (theme: SupersetTheme) => css`
}
h2 {
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
line-height: 1.4;
font-size: ${theme.fontSizeXL}px;
margin-top: ${theme.sizeUnit * 3}px;
@@ -41,7 +41,7 @@ export const headerStyles = (theme: SupersetTheme) => css`
h4,
h5,
h6 {
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
line-height: 1.4;
font-size: ${theme.fontSizeLG}px;
letter-spacing: 0.2px;
diff --git a/superset-frontend/src/explore/components/ControlPanelsContainer.tsx b/superset-frontend/src/explore/components/ControlPanelsContainer.tsx
index d54cec03a0..a6ee1350fc 100644
--- a/superset-frontend/src/explore/components/ControlPanelsContainer.tsx
+++ b/superset-frontend/src/explore/components/ControlPanelsContainer.tsx
@@ -158,7 +158,7 @@ const Styles = styled.div`
width: ${({ theme }) => theme.sizeUnit * 7}px;
display: inline-block;
text-align: center;
- font-weight: ${({ theme }) => theme.fontWeightStrong};
+ font-weight: ${({ theme }) => theme.fontWeightMedium};
}
`;
diff --git a/superset-frontend/src/explore/components/controls/DateFilterControl/DateFilterLabel.tsx b/superset-frontend/src/explore/components/controls/DateFilterControl/DateFilterLabel.tsx
index 2ed3da7bda..43041c6d12 100644
--- a/superset-frontend/src/explore/components/controls/DateFilterControl/DateFilterLabel.tsx
+++ b/superset-frontend/src/explore/components/controls/DateFilterControl/DateFilterLabel.tsx
@@ -84,7 +84,7 @@ const ContentStyleWrapper = styled.div`
.section-title {
font-style: normal;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
font-size: 15px;
line-height: 24px;
margin-bottom: 8px;
diff --git a/superset-frontend/src/explore/components/controls/DateFilterControl/components/DateFunctionTooltip.tsx b/superset-frontend/src/explore/components/controls/DateFilterControl/components/DateFunctionTooltip.tsx
index 02c7e9009a..0e988df959 100644
--- a/superset-frontend/src/explore/components/controls/DateFilterControl/components/DateFunctionTooltip.tsx
+++ b/superset-frontend/src/explore/components/controls/DateFilterControl/components/DateFunctionTooltip.tsx
@@ -119,11 +119,11 @@ const StyledTooltip = (props: any) => {
max-width: ${theme.sizeUnit * 125}px;
h3 {
font-size: ${theme.fontSize}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
}
h4 {
font-size: ${theme.fontSize}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
}
pre {
border: none;
diff --git a/superset-frontend/src/explore/components/controls/LayerConfigsControl/LayerConfigsPopoverContent.tsx b/superset-frontend/src/explore/components/controls/LayerConfigsControl/LayerConfigsPopoverContent.tsx
index ef1c530d65..a3b73c71da 100644
--- a/superset-frontend/src/explore/components/controls/LayerConfigsControl/LayerConfigsPopoverContent.tsx
+++ b/superset-frontend/src/explore/components/controls/LayerConfigsControl/LayerConfigsPopoverContent.tsx
@@ -62,7 +62,7 @@ export const StyledCloseButton = styled(Button)`
background-color: ${theme.colors.primary.light4};
color: ${theme.colorPrimaryText};
font-size: ${theme.fontSizeSM}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
text-transform: uppercase;
min-width: ${theme.sizeUnit * 36};
min-height: ${theme.sizeUnit * 8};
@@ -115,7 +115,7 @@ export const StyledSaveButton = styled(Button)`
background-color: ${theme.colorPrimary};
color: ${theme.colors.grayscale.light5};
font-size: ${theme.fontSizeSM}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
text-transform: uppercase;
min-width: ${theme.sizeUnit * 36};
min-height: ${theme.sizeUnit * 8};
diff --git a/superset-frontend/src/explore/components/controls/MapViewControl/MapViewControl.tsx b/superset-frontend/src/explore/components/controls/MapViewControl/MapViewControl.tsx
index e418fe1f0c..10d22727d4 100644
--- a/superset-frontend/src/explore/components/controls/MapViewControl/MapViewControl.tsx
+++ b/superset-frontend/src/explore/components/controls/MapViewControl/MapViewControl.tsx
@@ -35,7 +35,7 @@ export const StyledExtentButton = styled(Button)`
background-color: ${theme.colors.primary.light4};
color: ${theme.colorPrimaryText};
font-size: ${theme.fontSizeSM}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
text-transform: uppercase;
min-width: ${theme.sizeUnit * 36};
min-height: ${theme.sizeUnit * 8};
diff --git a/superset-frontend/src/explore/components/controls/MapViewControl/MapViewPopoverContent.tsx b/superset-frontend/src/explore/components/controls/MapViewControl/MapViewPopoverContent.tsx
index f844fc684a..bf76d38b36 100644
--- a/superset-frontend/src/explore/components/controls/MapViewControl/MapViewPopoverContent.tsx
+++ b/superset-frontend/src/explore/components/controls/MapViewControl/MapViewPopoverContent.tsx
@@ -37,7 +37,7 @@ export const StyledCloseButton = styled(Button)`
background-color: ${theme.colors.primary.light4};
color: ${theme.colorPrimaryText};
font-size: ${theme.fontSizeSM}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
text-transform: uppercase;
min-width: ${theme.sizeUnit * 36};
min-height: ${theme.sizeUnit * 8};
@@ -72,7 +72,7 @@ export const StyledSaveButton = styled(Button)`
background-color: ${theme.colorPrimary};
color: ${theme.colors.grayscale.light5};
font-size: ${theme.fontSizeSM}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
text-transform: uppercase;
min-width: ${theme.sizeUnit * 36};
min-height: ${theme.sizeUnit * 8};
diff --git a/superset-frontend/src/explore/components/controls/VizTypeControl/VizTile.tsx b/superset-frontend/src/explore/components/controls/VizTypeControl/VizTile.tsx
index 5d7e65e8da..9bde598d5c 100644
--- a/superset-frontend/src/explore/components/controls/VizTypeControl/VizTile.tsx
+++ b/superset-frontend/src/explore/components/controls/VizTypeControl/VizTile.tsx
@@ -91,7 +91,7 @@ export const VizTile = ({
display: flex;
align-items: center;
color: ${theme.colors.grayscale.base};
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
border-radius: 6px;
white-space: nowrap;
overflow: hidden;
diff --git a/superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx b/superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx
index 140218414e..9425fabae3 100644
--- a/superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx
+++ b/superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx
@@ -102,7 +102,7 @@ const SectionTitle = styled.h3`
margin-top: 0;
margin-bottom: ${({ theme }) => theme.sizeUnit * 2}px;
font-size: ${({ theme }) => theme.fontSizeLG}px;
- font-weight: ${({ theme }) => theme.fontWeightStrong};
+ font-weight: ${({ theme }) => theme.fontWeightMedium};
line-height: ${({ theme }) => theme.sizeUnit * 6}px;
`;
@@ -298,7 +298,7 @@ const HighlightLabel = styled.div`
line-height: ${theme.sizeUnit * 2.5}px;
color: ${theme.colorPrimaryText};
font-size: ${theme.fontSizeSM}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
text-align: center;
padding: ${theme.sizeUnit * 0.5}px ${theme.sizeUnit}px;
cursor: pointer;
diff --git a/superset-frontend/src/explore/components/optionRenderers.tsx b/superset-frontend/src/explore/components/optionRenderers.tsx
index 1db3850881..6815b804bd 100644
--- a/superset-frontend/src/explore/components/optionRenderers.tsx
+++ b/superset-frontend/src/explore/components/optionRenderers.tsx
@@ -46,7 +46,7 @@ const OptionContainer = styled.div`
width: ${({ theme }) => theme.sizeUnit * 7}px;
display: inline-block;
text-align: center;
- font-weight: ${({ theme }) => theme.fontWeightStrong};
+ font-weight: ${({ theme }) => theme.fontWeightMedium};
}
`;
diff --git a/superset-frontend/src/features/databases/DatabaseModal/styles.ts b/superset-frontend/src/features/databases/DatabaseModal/styles.ts
index e8e18c5cc5..1517164221 100644
--- a/superset-frontend/src/features/databases/DatabaseModal/styles.ts
+++ b/superset-frontend/src/features/databases/DatabaseModal/styles.ts
@@ -355,7 +355,7 @@ export const TabHeader = styled.div`
export const CreateHeaderTitle = styled.div`
color: ${({ theme }) => theme.colorText};
- font-weight: ${({ theme }) => theme.fontWeightStrong};
+ font-weight: ${({ theme }) => theme.fontWeightMedium};
font-size: ${({ theme }) => theme.fontSize}px;
`;
@@ -372,7 +372,7 @@ export const EditHeaderTitle = styled.div`
export const EditHeaderSubtitle = styled.div`
color: ${({ theme }) => theme.colorText};
font-size: ${({ theme }) => theme.fontSizeLG}px;
- font-weight: ${({ theme }) => theme.fontWeightStrong};
+ font-weight: ${({ theme }) => theme.fontWeightMedium};
`;
export const CredentialInfoForm = styled.div`
@@ -455,7 +455,7 @@ export const SelectDatabaseStyles = styled.div`
margin: ${({ theme }) => theme.sizeUnit * 4}px;
.available-label {
font-size: ${({ theme }) => theme.fontSizeLG}px;
- font-weight: ${({ theme }) => theme.fontWeightStrong};
+ font-weight: ${({ theme }) => theme.fontWeightMedium};
margin: ${({ theme }) => theme.sizeUnit * 6}px 0;
}
.available-select {
@@ -489,7 +489,7 @@ export const StyledCatalogTable = styled.div`
.gsheet-title {
font-size: ${({ theme }) => theme.fontSizeLG}px;
- font-weight: ${({ theme }) => theme.fontWeightStrong};
+ font-weight: ${({ theme }) => theme.fontWeightMedium};
margin: ${({ theme }) => theme.sizeUnit * 10}px 0 16px;
}
diff --git a/superset-frontend/src/features/datasets/AddDataset/DatasetPanel/DatasetPanel.tsx b/superset-frontend/src/features/datasets/AddDataset/DatasetPanel/DatasetPanel.tsx
index 4e91dbd3c1..148aee3e36 100644
--- a/superset-frontend/src/features/datasets/AddDataset/DatasetPanel/DatasetPanel.tsx
+++ b/superset-frontend/src/features/datasets/AddDataset/DatasetPanel/DatasetPanel.tsx
@@ -63,7 +63,7 @@ const StyledHeader = styled.div<StyledHeaderProps>`
${theme.sizeUnit * MARGIN_MULTIPLIER}px
${theme.sizeUnit * (MARGIN_MULTIPLIER + 3)}px;
font-size: ${theme.sizeUnit * 6}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
padding-bottom: ${theme.sizeUnit * MARGIN_MULTIPLIER}px;
white-space: nowrap;
@@ -82,7 +82,7 @@ const StyledTitle = styled.div`
${({ theme }) => `
margin-left: ${theme.sizeUnit * (MARGIN_MULTIPLIER + 3)}px;
margin-bottom: ${theme.sizeUnit * MARGIN_MULTIPLIER}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
`}
`;
diff --git a/superset-frontend/src/features/datasets/AddDataset/LeftPanel/index.tsx b/superset-frontend/src/features/datasets/AddDataset/LeftPanel/index.tsx
index b6d5174b61..6cccd99411 100644
--- a/superset-frontend/src/features/datasets/AddDataset/LeftPanel/index.tsx
+++ b/superset-frontend/src/features/datasets/AddDataset/LeftPanel/index.tsx
@@ -49,12 +49,12 @@ const LeftPanelStyle = styled.div`
.section-title {
margin-top: ${theme.sizeUnit * 5.5}px;
margin-bottom: ${theme.sizeUnit * 11}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
}
.table-title {
margin-top: ${theme.sizeUnit * 11}px;
margin-bottom: ${theme.sizeUnit * 6}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
}
.options-list {
overflow: auto;
diff --git a/superset-frontend/src/features/datasets/DatasetSelectLabel/index.tsx b/superset-frontend/src/features/datasets/DatasetSelectLabel/index.tsx
index b354e76f1d..13a67f9898 100644
--- a/superset-frontend/src/features/datasets/DatasetSelectLabel/index.tsx
+++ b/superset-frontend/src/features/datasets/DatasetSelectLabel/index.tsx
@@ -35,7 +35,7 @@ const TooltipContent = styled.div`
${({ theme }) => `
.tooltip-header {
font-size: ${theme.fontSize}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
}
.tooltip-description {
diff --git a/superset-frontend/src/features/datasets/styles.ts b/superset-frontend/src/features/datasets/styles.ts
index 32b03dc92f..099fc62d14 100644
--- a/superset-frontend/src/features/datasets/styles.ts
+++ b/superset-frontend/src/features/datasets/styles.ts
@@ -77,7 +77,7 @@ export const StyledCreateDatasetTitle = styled.div`
${({ theme }) => `
margin: ${theme.sizeUnit * 4}px;
font-size: ${theme.fontSizeXL}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
`}
`;
diff --git a/superset-frontend/src/features/home/SubMenu.tsx b/superset-frontend/src/features/home/SubMenu.tsx
index c0dadf2baf..8423287c6d 100644
--- a/superset-frontend/src/features/home/SubMenu.tsx
+++ b/superset-frontend/src/features/home/SubMenu.tsx
@@ -43,7 +43,7 @@ const StyledHeader = styled.div<{ backgroundColor?: string }>`
${({ theme }) => theme.sizeUnit * 5}px;
margin-bottom: ${({ theme }) => theme.sizeUnit * 4}px;
.header {
- font-weight: ${({ theme }) => theme.fontWeightStrong};
+ font-weight: ${({ theme }) => theme.fontWeightMedium};
margin-right: ${({ theme }) => theme.sizeUnit * 3}px;
text-align: left;
font-size: 18px;
diff --git a/superset-frontend/src/filters/components/Range/RangeFilterPlugin.tsx b/superset-frontend/src/filters/components/Range/RangeFilterPlugin.tsx
index 0bd6e74d5a..8492d90f45 100644
--- a/superset-frontend/src/filters/components/Range/RangeFilterPlugin.tsx
+++ b/superset-frontend/src/filters/components/Range/RangeFilterPlugin.tsx
@@ -41,7 +41,7 @@ type RangeValue = [InputValue, InputValue];
const StyledDivider = styled.span`
margin: 0 ${({ theme }) => theme.sizeUnit * 3}px;
color: ${({ theme }) => theme.colorSplit};
- font-weight: ${({ theme }) => theme.fontWeightStrong};
+ font-weight: ${({ theme }) => theme.fontWeightMedium};
font-size: ${({ theme }) => theme.fontSize}px;
align-content: center;
`;
diff --git a/superset-frontend/src/pages/AllEntities/index.tsx b/superset-frontend/src/pages/AllEntities/index.tsx
index 6199b772a3..09bc2dfc31 100644
--- a/superset-frontend/src/pages/AllEntities/index.tsx
+++ b/superset-frontend/src/pages/AllEntities/index.tsx
@@ -76,10 +76,10 @@ const AllEntitiesNav = styled.div`
margin-bottom: ${theme.sizeUnit * 4}px;
.navbar-brand {
margin-left: ${theme.sizeUnit * 2}px;
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
}
.header {
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
margin-right: ${theme.sizeUnit * 3}px;
text-align: left;
font-size: ${theme.sizeUnit * 4.5}px;
diff --git a/superset-frontend/src/pages/ChartCreation/index.tsx b/superset-frontend/src/pages/ChartCreation/index.tsx
index 0ba5aec8e1..dbe575aae2 100644
--- a/superset-frontend/src/pages/ChartCreation/index.tsx
+++ b/superset-frontend/src/pages/ChartCreation/index.tsx
@@ -170,9 +170,9 @@ const StyledContainer = styled.div`
`;
const StyledStepTitle = styled.span`
- ${({ theme: { fontSize, fontWeightStrong } }) => `
+ ${({ theme: { fontSize, fontWeightMedium } }) => `
font-size: ${fontSize}px;
- font-weight: ${fontWeightStrong};
+ font-weight: ${fontWeightMedium};
`}
`;
diff --git a/superset-frontend/src/pages/ChartList/index.tsx b/superset-frontend/src/pages/ChartList/index.tsx
index 22986202fb..113fe626bc 100644
--- a/superset-frontend/src/pages/ChartList/index.tsx
+++ b/superset-frontend/src/pages/ChartList/index.tsx
@@ -792,7 +792,7 @@ function ChartList(props: ChartListProps) {
title={t('Import charts')}
placement="bottomRight"
>
- <Icons.DownloadOutlined data-test="import-button" />
+ <Icons.DownloadOutlined iconSize="l" data-test="import-button" />
</Tooltip>
),
buttonStyle: 'link',
diff --git a/superset-frontend/src/pages/DashboardList/index.tsx b/superset-frontend/src/pages/DashboardList/index.tsx
index bfb9a0504c..641726caa5 100644
--- a/superset-frontend/src/pages/DashboardList/index.tsx
+++ b/superset-frontend/src/pages/DashboardList/index.tsx
@@ -713,7 +713,7 @@ function DashboardList(props: DashboardListProps) {
title={t('Import dashboards')}
placement="bottomRight"
>
- <Icons.DownloadOutlined data-test="import-button" />
+ <Icons.DownloadOutlined iconSize="l" data-test="import-button" />
</Tooltip>
),
buttonStyle: 'link',
diff --git a/superset-frontend/src/pages/DatasetList/index.tsx b/superset-frontend/src/pages/DatasetList/index.tsx
index cd4c36bc4a..6ef48d2f48 100644
--- a/superset-frontend/src/pages/DatasetList/index.tsx
+++ b/superset-frontend/src/pages/DatasetList/index.tsx
@@ -666,6 +666,7 @@ const DatasetList: FunctionComponent<DatasetListProps> = ({
<Icons.DownloadOutlined
iconColor={theme.colors.primary.dark1}
data-test="import-button"
+ iconSize="l"
/>
</Tooltip>
),
diff --git a/superset-frontend/src/pages/SavedQueryList/index.tsx b/superset-frontend/src/pages/SavedQueryList/index.tsx
index 92073e08b4..6edd3ff162 100644
--- a/superset-frontend/src/pages/SavedQueryList/index.tsx
+++ b/superset-frontend/src/pages/SavedQueryList/index.tsx
@@ -226,7 +226,7 @@ function SavedQueryList({
placement="bottomRight"
data-test="import-tooltip-test"
>
- <Icons.DownloadOutlined data-test="import-icon" />
+ <Icons.DownloadOutlined data-test="import-icon" iconSize="l" />
</Tooltip>
),
buttonStyle: 'link',
diff --git a/superset-frontend/src/pages/UserInfo/index.tsx b/superset-frontend/src/pages/UserInfo/index.tsx
index 35caf36ce0..d939384729 100644
--- a/superset-frontend/src/pages/UserInfo/index.tsx
+++ b/superset-frontend/src/pages/UserInfo/index.tsx
@@ -31,7 +31,7 @@ import { Icons, Collapse } from '@superset-ui/core/components';
const StyledHeader = styled.div`
${({ theme }) => css`
- font-weight: ${theme.fontWeightStrong};
+ font-weight: ${theme.fontWeightMedium};
text-align: left;
font-size: 18px;
padding: ${theme.sizeUnit * 3}px;
@@ -72,7 +72,7 @@ const StyledLayout = styled.div`
`;
const DescriptionTitle = styled.span`
- font-weight: ${({ theme }) => theme.fontWeightStrong};
+ font-weight: ${({ theme }) => theme.fontWeightMedium};
`;
enum ModalType {