Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for defaulting visible themes and widths (#305)
- Loading branch information
1 parent
f45dd04
commit ad60e01
Showing
4 changed files
with
36 additions
and
2 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,20 @@ | ||
--- | ||
'playroom': minor | ||
--- | ||
|
||
Add support for specifying default subsets of themes and screen widths via the config. | ||
|
||
#### Example usage | ||
|
||
```js | ||
// playroom.config.js | ||
module.exports = { | ||
..., | ||
defaultVisibleWidths: [ | ||
// subset of widths to display on first load | ||
], | ||
defaultVisibleThemes: [ | ||
// subset of themes to display on first load | ||
], | ||
} | ||
``` |
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