-
Notifications
You must be signed in to change notification settings - Fork 6
Chore/storybook theme #97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
b352a16
chore(asset): add favicon, logo assets
froggy1014 bb13a0b
chore(storybook): add theme, manager storybook core API, Components
froggy1014 a033609
style(storybook): add sipe branding in storybook
froggy1014 6356345
style(storybook): add favicon
froggy1014 280a8b8
chore(storybook): add addon-docs, react, react-dom for storybook mdx
froggy1014 e928376
docs(storybook): add introduction mdx
froggy1014 4c6ab57
docs(storybook): rename concept -> intro
froggy1014 2174fa3
docs(storybook): add category for all components
froggy1014 43970b3
chore(storybook): remove react and react-dom dependencies
froggy1014 24ac1a6
style(storybook): update secondary color and selected bar color
froggy1014 0cf0641
chore(asset): rename sipe logo file
froggy1014 fdfbd3f
chore(storybook): update brandImage file path
froggy1014 9e8d882
chore(storybook): remove unused style
froggy1014 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,16 @@ | ||
| import { addons } from '@storybook/manager-api'; | ||
| import { create } from '@storybook/theming'; | ||
|
|
||
| addons.setConfig({ | ||
| theme: create({ | ||
| base: 'dark', | ||
| brandTitle: 'Sipe Design System', | ||
| brandImage: '../public/assets/sipe_brand_logo.png', | ||
| brandUrl: 'https://sipe.team/', | ||
| brandTarget: '_self', | ||
| textColor: '#999999', | ||
| colorSecondary: '#007043', | ||
| barSelectedColor: '#007043', | ||
| barHoverColor: '#00CC7A', | ||
| }), | ||
| }); |
This file contains hidden or 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 hidden or 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,32 @@ | ||
| import { Meta } from '@storybook/addon-docs'; | ||
|
|
||
| <Meta title="Intro/Introduction" /> | ||
|
|
||
| <div style={{ margin: '0 auto', maxWidth: '800px', padding: '20px' }}> | ||
| <div style={{ textAlign: 'start' }}> | ||
| <h1 style={{ | ||
| fontSize: '72px', | ||
| fontWeight: '800', | ||
| background: 'linear-gradient(45deg,#00FFFF,#00FF99)', | ||
| WebkitBackgroundClip: 'text', | ||
| WebkitTextFillColor: 'transparent', | ||
| letterSpacing: '-2px', | ||
| textShadow: '0 2px 10px rgba(0,0,0,0.1)' | ||
| }}> | ||
| <span style={{ fontSize: '50px' }}>Sipe Design System</span> | ||
| </h1> | ||
| </div> | ||
|
|
||
| <div style={{ display: 'flex', justifyContent: 'center' }}> | ||
| <img | ||
| src="../public/assets/og-image.png" | ||
| alt="Sipe Design System Logo" | ||
| style={{ | ||
| maxWidth: '100%', | ||
| borderRadius: '8px', | ||
| boxShadow: '0 4px 6px -1px rgb(0 0 0 / 0.1)' | ||
| }} | ||
| /> | ||
| </div> | ||
|
|
||
| </div> |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
스토리북 패키지 버전 관리 방식을 통일해주세요.
일부 스토리북 패키지는 특정 버전(^8.4.7)을 사용하고 있고, 다른 패키지들은 catalog:를 참조하고 있습니다. 패키지 버전 관리 방식을 통일하여 유지보수성을 높이는 것이 좋습니다.
Also applies to: 26-26, 30-30