-
Notifications
You must be signed in to change notification settings - Fork 2
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 #4 from basher/themes
Setup architecture for theming
- Loading branch information
Showing
21 changed files
with
2,012 additions
and
1,785 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
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 @@ | ||
STORYBOOK_CSS_PATH=index.css | ||
STORYBOOK_JS_PATH=index.js |
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 @@ | ||
STORYBOOK_CSS_PATH=build/ui/default/css/index.css | ||
STORYBOOK_JS_PATH=build/ui/default/javascript/index.js |
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 @@ | ||
# Config variable. Allows theme to be passed as NPM script param. | ||
web-ui-boilerplate:theme=default |
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,8 +1,8 @@ | ||
<meta name="robots" content="noindex, nofollow"> | ||
|
||
<!-- Load CSS/JS that Parcel has bundled. --> | ||
<link href="index.css" rel="stylesheet" /> | ||
<script defer src="index.js"></script> | ||
<link href="%STORYBOOK_CSS_PATH%" rel="stylesheet" /> | ||
<script defer src="%STORYBOOK_JS_PATH%"></script> | ||
|
||
<!-- Overrides for Storybook Docs and UI. --> | ||
<link href="storybook-overrides.css" rel="stylesheet" /> |
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
Oops, something went wrong.