diff --git a/src/css/global.css.ts b/src/css/global.css.ts deleted file mode 100644 index b62e94ca6..000000000 --- a/src/css/global.css.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { globalStyle } from '@vanilla-extract/css' - -import { vars } from './vars.css' - -globalStyle('*', { - background: 'unset', - border: 'unset', - color: 'unset', - fontFamily: vars.fonts.body, - fontStretch: 'unset', - fontStyle: 'unset', - fontVariant: 'unset', - fontWeight: 'unset', - margin: 0, - padding: 0, -}) - -globalStyle('*, *::before, *::after', { - boxSizing: 'border-box', -}) - -globalStyle('body', { - fontSize: '1rem', -}) - -globalStyle('html:not(.is-apple) *::-webkit-scrollbar', { - appearance: 'none', - width: '13px', - background: 'rgba(0, 0, 0, 0)', -}) - -globalStyle('html:not(.is-apple) *::-webkit-scrollbar-thumb', { - background: vars.colors.text50, - border: '3px solid transparent', - backgroundClip: 'content-box', - borderRadius: '7px', -}) diff --git a/src/css/index.ts b/src/css/index.ts index d570efcdc..332d12b2c 100644 --- a/src/css/index.ts +++ b/src/css/index.ts @@ -4,8 +4,6 @@ export type { Breakpoint } from './breakpoints' export { vars } from './vars.css' export type { ThemeVars } from './vars.css' -import './global.css' - export { atoms } from './atoms' export type { Atoms } from './atoms'