Skip to content

Commit

Permalink
Adding back border box sizing reset
Browse files Browse the repository at this point in the history
  • Loading branch information
corbanbrook committed Jul 9, 2024
1 parent 8e5385d commit 4063507
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@
/>

<style type="text/css">
*,
*::before,
*::after {
box-sizing: border-box;
}

body {
background: var(--seq-colors-background-primary);
}
Expand Down
2 changes: 2 additions & 0 deletions src/css/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import './reset.css'

export { breakpoints } from './breakpoints'
export type { Breakpoint } from './breakpoints'

Expand Down
5 changes: 5 additions & 0 deletions src/css/reset.css.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { globalStyle } from '@vanilla-extract/css'

globalStyle('*, *::before, *::after', {
boxSizing: 'border-box',
})

0 comments on commit 4063507

Please sign in to comment.