Skip to content

Commit

Permalink
fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Dec 6, 2024
1 parent 08ef84b commit c6595b7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .size-limit.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"limit": "50 kB"
},
{
"path": "./components/dist/thorin.css",
"path": "./components/dist/style.css",
"limit": "40 kB",
"webpack": false
}
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { MDXProvider } from '@mdx-js/react'

import type { Mode } from '@ensdomains/thorin'
import { ThemeProvider } from '@ensdomains/thorin'
import '@ensdomains/thorin/dist/thorin.css'
import '@ensdomains/thorin/dist/style.css'
import { MDX } from '~/components'
import { getLayout as getDocsLayout } from '~/layouts/docs'
import '~/styles/globalStyles.css'
Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ In this example we are adding the **lightTheme**.
```tsx
import React, { useState } from 'react'
import { ThemeProvider } from '@ensdomains/thorin'
import 'thorin/dist/thorin.css'
import 'thorin/dist/style.css'

const App = () => {
return (
Expand All @@ -43,7 +43,7 @@ To use the dark theme, import `darkTheme` and pass it to the `ThemeProvider`.
```tsx
import React, { useState } from 'react'
import { ThemeProvider, darkTheme } from '@ensdomains/thorin'
import 'thorin/dist/thorin.css'
import 'thorin/dist/style.css'

const App = () => {
return (
Expand Down

0 comments on commit c6595b7

Please sign in to comment.