mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-05-07 01:02:36 +00:00
chore: restructure project into yarn workspaces, remove next
This commit is contained in:
parent
49e308507e
commit
8d06327c03
266 changed files with 16466 additions and 3350 deletions
21
packages/design-system/atoms/typography/mdx.tsx
Normal file
21
packages/design-system/atoms/typography/mdx.tsx
Normal file
|
@ -0,0 +1,21 @@
|
|||
import styled from 'styled-components';
|
||||
import { Link, Text, text600, text700, text800, text900 } from './typography';
|
||||
|
||||
export const mdxComponents = {
|
||||
h1: styled.h1`
|
||||
${text900}
|
||||
`,
|
||||
h2: styled.h2`
|
||||
${text800}
|
||||
`,
|
||||
h3: styled.h3`
|
||||
${text700}
|
||||
`,
|
||||
h4: styled.h4`
|
||||
${text600}
|
||||
`,
|
||||
p: styled.p`
|
||||
${Text}
|
||||
`,
|
||||
a: Link,
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue