Skip to content

Commit

Permalink
chore: complete remove styled-components
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed Nov 21, 2022
1 parent 976aa9e commit ea3991c
Show file tree
Hide file tree
Showing 6 changed files with 647 additions and 1,348 deletions.
4 changes: 0 additions & 4 deletions babel.config.js

This file was deleted.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"remark-math": "5.1.1",
"remark-parse": "10.0.1",
"remark-rehype": "10.1.0",
"styled-components": "5.3.6",
"unified": "10.1.2"
},
"devDependencies": {
Expand All @@ -41,7 +40,6 @@
"@types/blueimp-md5": "2.18.0",
"@types/node": "18.11.9",
"@types/react": "17.0.52",
"@types/styled-components": "5.1.26",
"@typescript-eslint/eslint-plugin": "5.43.0",
"@typescript-eslint/parser": "5.43.0",
"autoprefixer": "^10.4.13",
Expand Down
7 changes: 1 addition & 6 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import React from 'react'
import Head from 'next/head'
import { AppProps } from 'next/app'
import { ThemeProvider } from 'styled-components'

import defaultTheme from '../styles/theme'

import '../styles/main.css'

Expand All @@ -18,9 +15,7 @@ const MyApp: React.FC<AppProps> = ({ Component, pageProps }) => {
src="https://mateusfg7-umami-instance.herokuapp.com/umami.js"
/>
</Head>
<ThemeProvider theme={defaultTheme}>
<Component {...pageProps} />
</ThemeProvider>
<Component {...pageProps} />
</>
)
}
Expand Down
11 changes: 0 additions & 11 deletions src/styles/styled.d.ts

This file was deleted.

14 changes: 0 additions & 14 deletions src/styles/theme.ts

This file was deleted.

Loading

0 comments on commit ea3991c

Please sign in to comment.