-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7154 from Expensify/Rory-StorybookFacelift
(cherry picked from commit ea70c2e)
- Loading branch information
1 parent
831625d
commit be17e57
Showing
9 changed files
with
5,451 additions
and
4,696 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 |
---|---|---|
|
@@ -7,4 +7,7 @@ module.exports = { | |
'@storybook/addon-essentials', | ||
'@storybook/addon-a11y', | ||
], | ||
staticDirs: [ | ||
'./public', | ||
], | ||
}; |
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,2 @@ | ||
<link rel="icon" type="image/png" href="logo.png" /> | ||
<link rel="stylesheet" type="text/css" href="index.css" /> |
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,6 @@ | ||
import {addons} from '@storybook/addons'; | ||
import theme from './theme'; | ||
|
||
addons.setConfig({ | ||
theme, | ||
}); |
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,20 @@ | ||
.search-field *, .sidebar-item, .search-result-item--label { | ||
color: #fff !important; | ||
} | ||
|
||
.sidebar-subheading *, .search-result-item { | ||
color: #fff; | ||
} | ||
|
||
a.sidebar-item > svg { | ||
color: #03d47c; | ||
} | ||
|
||
.search-result-item--label span { | ||
color: #ffffffaa !important; | ||
} | ||
|
||
#panel-tab-content :is(input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type) { | ||
background: #ff7101; | ||
color: #fff; | ||
} |
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.
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,15 @@ | ||
import {create} from '@storybook/theming'; | ||
import colors from '../src/styles/colors'; | ||
|
||
export default create({ | ||
appBg: colors.dark, | ||
barSelectedColor: colors.blue, | ||
base: 'light', | ||
brandTitle: 'Expensify UI Docs', | ||
brandImage: 'logomark.svg', | ||
colorPrimary: colors.dark, | ||
colorSecondary: colors.orange, | ||
fontBase: 'GTAmericaExp-Regular', | ||
fontCode: 'monospace', | ||
textInverseColor: colors.black, | ||
}); |
Oops, something went wrong.