Skip to content

Commit

Permalink
refactor: Improve text readability
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcroat committed Jul 17, 2021
1 parent 03f2a2e commit e89a64e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/screens/Post/Post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function Post({ content, frontMatter }: PostProps) {
animate="show"
className="mdx-prose"
initial="hidden"
maxW="72ch"
maxW="80ch"
mx="auto"
variants={postVariants}
>
Expand Down
4 changes: 3 additions & 1 deletion styles/chakraTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const chakraTheme = extendTheme({
maxW: '600px',
my: [4, 8, 16],
textAlign: ['left', 'center'],
mx: 'auto',
},
h2: {
color: colorMode === 'dark' ? 'orange.200' : 'blue.600',
Expand All @@ -41,8 +42,9 @@ export const chakraTheme = extendTheme({
mt: [12, 20],
},
p: {
color: colorMode === 'dark' ? 'gray.300' : 'gray.600',
fontSize: [18, 20],
lineHeight: '1.6',
lineHeight: '1.8',
my: 8,
},
ul: {
Expand Down

0 comments on commit e89a64e

Please sign in to comment.