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:
Kamil Gabryjelski
2022-03-22 09:36:15 +01:00
committed by GitHub
parent 35b8a72dae
commit a8a48af7fa
29 changed files with 523 additions and 452 deletions

View File

@@ -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;
}