-
Notifications
You must be signed in to change notification settings - Fork 6
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
8 changed files
with
51 additions
and
30 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 |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn lint-staged | ||
yarn prep-package expo |
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,3 +1,5 @@ | ||
import './styles/index.scss'; | ||
|
||
import { GRID_CONTAINER } from './utils/grid'; | ||
|
||
export const parameters = { | ||
|
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,7 +1,32 @@ | ||
// storybook-addon-grid configurations | ||
:root { | ||
--sb-grid-columns: 12; // grid columns count | ||
--sb-grid-gap: 1.5rem; // grid gutter between columns | ||
--sb-grid-gutter: 1.25rem; // grid padding-horizontal | ||
--sb-grid-max-width: 100%; | ||
--sb-grid-columns: 12; // grid columns count - get from src/utils/grid | ||
--sb-grid-gap: 1.5rem; // grid gutter between columns - get from src/utils/grid | ||
--sb-grid-gutter: 16px; // grid padding-horizontal - get from src/utils/grid | ||
--sb-grid-max-width: 100%; // container max width - - get from src/utils/grid | ||
} | ||
|
||
@media only screen and (min-width: 375px) { | ||
:root { | ||
--sb-grid-gutter: 1.25rem; | ||
} | ||
} | ||
|
||
@media only screen and (min-width: 768px) { | ||
:root { | ||
--sb-grid-gutter: 2.5rem; | ||
} | ||
} | ||
|
||
@media only screen and (min-width: 1024px) { | ||
:root { | ||
--sb-grid-gutter: 3rem; | ||
} | ||
} | ||
|
||
@media only screen and (min-width: 1200px) { | ||
:root { | ||
--sb-grid-gutter: 3rem; | ||
--sb-grid-max-width: 1140px; | ||
} | ||
} |
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