-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
215 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { createGlobalStyle, css } from 'styled-components'; | ||
// import { color, typography } from './styles'; | ||
import { typography } from '@storybook/theming'; | ||
|
||
export const bodyStyles = css` | ||
/* Same as before */ | ||
`; | ||
|
||
export const GlobalStyle = createGlobalStyle` | ||
body { | ||
background: #F00; | ||
${bodyStyles} | ||
}`; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,7 @@ | ||
@import 'modern-css-reset/dist/reset.css'; | ||
@import "./core/sizing"; | ||
@import "./core/colors"; | ||
@import "./core/typography"; | ||
@import "./core/layout.scss"; | ||
@import "./core/layout"; | ||
@import "./components/panel"; | ||
@import "./core/preview.scss"; | ||
|
||
.iux { | ||
@import "./core/sizing"; | ||
@import "./core/colors"; | ||
@import "./core/typography"; | ||
@import "./core/layout.scss"; | ||
@import "./components/panel"; | ||
@import "./core/preview.scss"; | ||
} | ||
@import "./core/preview"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import './button.css'; | ||
import './global.css'; | ||
|
||
export const createButton = ({ | ||
primary = false, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#stories { | ||
margin-top: 40px; | ||
font-size: 30px; | ||
} | ||
|
||
h1 { | ||
&.sbdocs-title { | ||
font-weight: 300; | ||
} | ||
} | ||
|
||
h1,h2,h3,h4,h5,h6,h3 { | ||
&.sbdocs { | ||
margin-top: 20px; | ||
margin-bottom: 20px; | ||
} | ||
} | ||
|
||
h3.sbdocs-h3 { | ||
margin-top: 20px; | ||
} | ||
|
||
.sbdocs,.docs-story { | ||
margin-bottom: 20px !important; | ||
} | ||
|
||
.sbdocs >div { | ||
margin-bottom: 20px !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +0,0 @@ | ||
.wrapper { | ||
font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; | ||
border-bottom: 1px solid rgba(0, 0, 0, 0.1); | ||
padding: 15px 20px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
} | ||
|
||
svg { | ||
display: inline-block; | ||
vertical-align: top; | ||
} | ||
|
||
h1 { | ||
font-weight: 900; | ||
font-size: 20px; | ||
line-height: 1; | ||
margin: 6px 0 6px 10px; | ||
display: inline-block; | ||
vertical-align: top; | ||
} | ||
|
||
button + button { | ||
margin-left: 10px; | ||
} | ||
|
||
.welcome { | ||
color: #333; | ||
font-size: 14px; | ||
margin-right: 10px; | ||
} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +0,0 @@ | ||
section { | ||
font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; | ||
font-size: 14px; | ||
line-height: 24px; | ||
padding: 48px 20px; | ||
margin: 0 auto; | ||
max-width: 600px; | ||
color: #333; | ||
} | ||
|
||
section h2 { | ||
font-weight: 900; | ||
font-size: 32px; | ||
line-height: 1; | ||
margin: 0 0 4px; | ||
display: inline-block; | ||
vertical-align: top; | ||
} | ||
|
||
section p { | ||
margin: 1em 0; | ||
} | ||
|
||
section a { | ||
text-decoration: none; | ||
color: #1ea7fd; | ||
} | ||
|
||
section ul { | ||
padding-left: 30px; | ||
margin: 1em 0; | ||
} | ||
|
||
section li { | ||
margin-bottom: 8px; | ||
} | ||
|
||
section .tip { | ||
display: inline-block; | ||
border-radius: 1em; | ||
font-size: 11px; | ||
line-height: 12px; | ||
font-weight: 700; | ||
background: #e7fdd8; | ||
color: #66bf3c; | ||
padding: 4px 12px; | ||
margin-right: 10px; | ||
vertical-align: top; | ||
} | ||
|
||
section .tip-wrapper { | ||
font-size: 13px; | ||
line-height: 20px; | ||
margin-top: 40px; | ||
margin-bottom: 40px; | ||
} | ||
|
||
section .tip-wrapper svg { | ||
display: inline-block; | ||
height: 12px; | ||
width: 12px; | ||
margin-right: 4px; | ||
vertical-align: top; | ||
margin-top: 3px; | ||
} | ||
|
||
section .tip-wrapper svg path { | ||
fill: #1ea7fd; | ||
} | ||
Oops, something went wrong.