Skip to content

Commit

Permalink
Removing global body background style and having storybook preview se…
Browse files Browse the repository at this point in the history
…t it manually
  • Loading branch information
corbanbrook committed Apr 10, 2024
1 parent 1195106 commit 2193671
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
17 changes: 14 additions & 3 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous" />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" />
<link
rel="preconnect"
href="https://fonts.gstatic.com"
crossorigin="anonymous"
/>
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>

<style type="text/css"></style>
<style type="text/css">
body {
background: var(--seq-colors-background-primary);
}
</style>
1 change: 0 additions & 1 deletion src/css/global.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ globalStyle('*:focus-visible', {
})

globalStyle('body', {
background: vars.colors.backgroundPrimary,
color: vars.colors.text80,
fontSize: '1rem',
})
Expand Down

0 comments on commit 2193671

Please sign in to comment.