Skip to content

Commit

Permalink
Adding support for ishViewportRange (#131)
Browse files Browse the repository at this point in the history
* Adding support for ishViewportRange

* adding ishViewportRang default settings
  • Loading branch information
EvanLovely committed Oct 9, 2017
1 parent 01f14fe commit 3a82565
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/config.yml.default
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,9 @@ defaultPattern: "all"

# show pattern info by default on the "view all" views
defaultShowPatternInfo: false

# Set a range of viewport widths for S, M, & L buttons
ishViewportRange:
s: [320, 500]
m: [500, 800]
l: [800, 1200]
1 change: 1 addition & 0 deletions src/PatternLab/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ public static function init($baseDir = "", $verbose = true) {
self::setExposedOption("ishFontSize");
self::setExposedOption("ishMaximum");
self::setExposedOption("ishMinimum");
self::setExposedOption("ishViewportRange");
self::setExposedOption("outputFileSuffixes");
self::setExposedOption("plugins");

Expand Down

0 comments on commit 3a82565

Please sign in to comment.