From c6595b72bdcdca0e360faebeb1acc1598e7c48ea Mon Sep 17 00:00:00 2001 From: v1rtl Date: Fri, 6 Dec 2024 13:31:24 +0200 Subject: [PATCH] fix paths --- .size-limit.json | 2 +- docs/src/pages/_app.tsx | 2 +- docs/src/pages/index.mdx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.size-limit.json b/.size-limit.json index 9cf634f0..d0d2e3af 100644 --- a/.size-limit.json +++ b/.size-limit.json @@ -8,7 +8,7 @@ "limit": "50 kB" }, { - "path": "./components/dist/thorin.css", + "path": "./components/dist/style.css", "limit": "40 kB", "webpack": false } diff --git a/docs/src/pages/_app.tsx b/docs/src/pages/_app.tsx index fe4d5d2a..736873f5 100644 --- a/docs/src/pages/_app.tsx +++ b/docs/src/pages/_app.tsx @@ -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' diff --git a/docs/src/pages/index.mdx b/docs/src/pages/index.mdx index 5fd281ec..827e3a69 100644 --- a/docs/src/pages/index.mdx +++ b/docs/src/pages/index.mdx @@ -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 ( @@ -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 (