Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/content/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ import {BaseStyles, Box, Heading} from '@primer/react'
export default () => (
<BaseStyles>
<Box m={4}>
<Heading sx={{mb: 2}}>Hello, world!</Heading>
<Heading as="h2" sx={{mb: 2}}>
Hello, world!
</Heading>
<p>This will get Primer text styles.</p>
</Box>
</BaseStyles>
Expand Down
4 changes: 3 additions & 1 deletion docs/src/@primer/gatsby-theme-doctocat/components/hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ export default function Hero() {
<ThemeProvider colorMode="night" nightScheme="dark_dimmed">
<Box bg="canvas.default" py={6}>
<Container>
<Heading sx={{color: 'accent.fg', fontSize: 7, lineHeight: 'condensed', pb: 3, m: 0}}>Primer React</Heading>
<Heading as="h2" sx={{color: 'accent.fg', fontSize: 7, lineHeight: 'condensed', pb: 3, m: 0}}>
Primer React
</Heading>
<Text as="p" fontFamily="mono" mt={0} mb={2} color="fg.default" fontSize={2}>
v{version}
</Text>
Expand Down
Loading