-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Add Storybook documentation landing page (#334)
* feat(landing): add landing page for Storybook * docs(landing): finish the landing page integration * docs(theme): theme storybook with our branding * refactor(landingpage): mr review modifs part 1 * refactor(landing): wrap landing page mdx in unstyled component --------- Co-authored-by: Ján Hamara <[email protected]>
- Loading branch information
Showing
24 changed files
with
49,723 additions
and
19,692 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,41 @@ | ||
// .storybook/FreenowTheme.ts | ||
import { create } from '@storybook/theming/create'; | ||
import logo from '../public/assets/freenow-logo.svg'; | ||
|
||
export default create({ | ||
base: 'light', | ||
|
||
// Typography | ||
fontBase: '"YOURNOWSans-Medium", "Open Sans", sans-serif', | ||
fontCode: 'monospace', | ||
|
||
brandTitle: 'FREENOW', | ||
brandUrl: 'https://wave.free-now.com/', | ||
brandImage: logo, | ||
brandTarget: '_self', | ||
|
||
// | ||
colorPrimary: '#CA0928', | ||
colorSecondary: '#585C6D', | ||
|
||
// UI | ||
appBg: '#ffffff', | ||
appContentBg: '#ffffff', | ||
appBorderColor: '#585C6D', | ||
appBorderRadius: 4, | ||
|
||
// Text colors | ||
textColor: '#10162F', | ||
textInverseColor: '#ffffff', | ||
|
||
// Toolbar default and active colors | ||
barTextColor: '#9E9E9E', | ||
barSelectedColor: '#585C6D', | ||
barBg: '#ffffff', | ||
|
||
// Form colors | ||
inputBg: '#ffffff', | ||
inputBorder: '#10162F', | ||
inputTextColor: '#10162F', | ||
inputBorderRadius: 2 | ||
}); |
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,7 @@ | ||
// .storybook/manager.ts | ||
import { addons } from '@storybook/manager-api'; | ||
import FreenowTheme from './FreenowTheme'; | ||
|
||
addons.setConfig({ | ||
theme: FreenowTheme | ||
}); |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.