Merge pull request #189 from spotify/alund/theme-2

Update default theme for headings
This commit is contained in:
Stefan Ålund
2020-03-07 22:50:23 +01:00
committed by GitHub
3 changed files with 25 additions and 4 deletions
+23
View File
@@ -73,6 +73,29 @@ const extendedThemeConfig = {
},
typography: {
fontFamily: '"Helvetica Neue", Helvetica, Roboto, Arial, sans-serif',
h5: {
fontWeight: 700,
},
h4: {
fontWeight: 700,
fontSize: 28,
marginBottom: 6,
},
h3: {
fontSize: 32,
fontWeight: 700,
marginBottom: 6,
},
h2: {
fontSize: 40,
fontWeight: 700,
marginBottom: 8,
},
h1: {
fontSize: 54,
fontWeight: 700,
marginBottom: 10,
},
},
};
@@ -48,7 +48,7 @@ const HomePage: FC<{}> = () => {
<Content>
<Grid container direction="row" spacing={3}>
<Grid item xs={6}>
<Typography variant="h3" style={{ padding: '8px 0 16px 0' }}>
<Typography variant="h3">
Things you own
</Typography>
<InfoCard maxWidth>
@@ -6,9 +6,7 @@ import { HorizontalScrollGrid, ProgressCard } from '@spotify-backstage/core';
const SquadTechHealth: FC<{}> = () => {
return (
<>
<Typography variant="h3" style={{ padding: '8px 0 16px 0' }}>
Team Metrics
</Typography>
<Typography variant="h3">Team Metrics</Typography>
<HorizontalScrollGrid scrollStep={400} scrollSpeed={100}>
<Grid item>
<ProgressCard