diff --git a/packages/big-design/src/components/GlobalStyle/index.tsx b/packages/big-design/src/components/GlobalStyle/index.tsx deleted file mode 100644 index 9d3525735..000000000 --- a/packages/big-design/src/components/GlobalStyle/index.tsx +++ /dev/null @@ -1 +0,0 @@ -export * from './GlobalStyle'; diff --git a/packages/big-design/src/components/GlobalStyle/GlobalStyle.tsx b/packages/big-design/src/components/GlobalStyles/GlobalStyles.tsx similarity index 78% rename from packages/big-design/src/components/GlobalStyle/GlobalStyle.tsx rename to packages/big-design/src/components/GlobalStyles/GlobalStyles.tsx index 65c32bfd0..98684673b 100644 --- a/packages/big-design/src/components/GlobalStyle/GlobalStyle.tsx +++ b/packages/big-design/src/components/GlobalStyles/GlobalStyles.tsx @@ -2,7 +2,7 @@ import { theme as defaultTheme } from '@bigcommerce/big-design-theme'; import { normalize } from 'polished'; import { createGlobalStyle } from 'styled-components'; -export const GlobalStyle = createGlobalStyle` +export const GlobalStyles = createGlobalStyle` ${normalize()} @import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600'); @@ -12,4 +12,4 @@ export const GlobalStyle = createGlobalStyle` } `; -GlobalStyle.defaultProps = { theme: defaultTheme }; +GlobalStyles.defaultProps = { theme: defaultTheme }; diff --git a/packages/big-design/src/components/GlobalStyles/index.tsx b/packages/big-design/src/components/GlobalStyles/index.tsx new file mode 100644 index 000000000..10f31e4f5 --- /dev/null +++ b/packages/big-design/src/components/GlobalStyles/index.tsx @@ -0,0 +1 @@ +export * from './GlobalStyles'; diff --git a/packages/big-design/src/components/index.ts b/packages/big-design/src/components/index.ts index c9501e430..6fd3a2f8b 100644 --- a/packages/big-design/src/components/index.ts +++ b/packages/big-design/src/components/index.ts @@ -5,7 +5,7 @@ export * from './Checkbox'; export * from './Dropdown'; export * from './Flex'; export * from './Form'; -export * from './GlobalStyle'; +export * from './GlobalStyles'; export * from './Grid'; export * from './Input'; export * from './Link'; diff --git a/packages/docs/pages/_app.tsx b/packages/docs/pages/_app.tsx index 6be6f56e3..d323917e1 100644 --- a/packages/docs/pages/_app.tsx +++ b/packages/docs/pages/_app.tsx @@ -1,4 +1,4 @@ -import { GlobalStyle, Grid } from '@bigcommerce/big-design'; +import { GlobalStyles, Grid } from '@bigcommerce/big-design'; import { createTheme } from '@bigcommerce/big-design-theme'; import App, { Container } from 'next/app'; import Head from 'next/head'; @@ -38,7 +38,7 @@ export default class MyApp extends App { <> - +