mirror of
https://github.com/apache/superset.git
synced 2026-04-20 08:34:37 +00:00
chore: Make font-weights themable, fix font faces (#19236)
* fix(fonts): Import all necessary font packages * Make html tags themable * Set bold font weight to 600, add medium font weight to theme * Replace hard coded font weights with theme variables * Change some font weight light elements to normal * Fix tests * Fix bug in pivot table * Address code review comments
This commit is contained in:
committed by
GitHub
parent
35b8a72dae
commit
a8a48af7fa
@@ -302,13 +302,11 @@ export default styled(BigNumberVis)`
|
||||
}
|
||||
|
||||
.kicker {
|
||||
font-weight: ${({ theme }) => theme.typography.weights.light};
|
||||
line-height: 1em;
|
||||
padding-bottom: 2em;
|
||||
}
|
||||
|
||||
.header-line {
|
||||
font-weight: ${({ theme }) => theme.typography.weights.normal};
|
||||
position: relative;
|
||||
line-height: 1em;
|
||||
span {
|
||||
@@ -318,7 +316,6 @@ export default styled(BigNumberVis)`
|
||||
}
|
||||
|
||||
.subheader-line {
|
||||
font-weight: ${({ theme }) => theme.typography.weights.light};
|
||||
line-height: 1em;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user