Skip to content

Commit

Permalink
Add default TwitterBootstrap4 config
Browse files Browse the repository at this point in the history
  • Loading branch information
claar committed Oct 25, 2018
1 parent eae1b4f commit 9509a86
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/config/former.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,29 @@
// The framework to be used by Former
'framework' => 'TwitterBootstrap3',

'TwitterBootstrap4' => array(

// Map Former-supported viewports to Bootstrap 4 equivalents
'viewports' => array(
'large' => 'lg',
'medium' => 'md',
'small' => 'sm',
'mini' => 'xs',
),
// Width of labels for horizontal forms expressed as viewport => grid columns
'labelWidths' => array(
'large' => 2,
'small' => 4,
),
// HTML markup and classes used by Bootstrap 5 for icons
'icon' => array(
'tag' => 'i',
'set' => 'fa',
'prefix' => 'fa',
),

),

'TwitterBootstrap3' => array(

// Map Former-supported viewports to Bootstrap 3 equivalents
Expand Down

0 comments on commit 9509a86

Please sign in to comment.