kayzen-gs
mixins
kayzen-gs
@mixin kayzen-gs($custom) { ... }
Description
Kayzen-GS core
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$custom | where custom config will be passed | Map | — none |
Example
@include kayzen-gs((
'options':(
'max-width' : 90%
),
'breakpoints':(
'break-3' : 840px,
'break-5' : 1600px
)
));
Output
all grid system styles
Requires
- [mixin]
kgs-row-core
- [mixin]
kgs-default-columns
- [mixin]
kgs-default-columns
- [mixin]
kgs-stack-columns
- [mixin]
kgs-default-columns
- [mixin]
kgs-stack-columns
- [mixin]
kgs-pull
- [mixin]
kgs-push
- [mixin]
kgs-flow-columns
- [mixin]
kgs-flow-columns
- [mixin]
kgs-stack-columns
- [mixin]
kgs-flow-columns
- [mixin]
kgs-stack-columns
- [mixin]
kgs-adaptive-columns
- [mixin]
kgs-magic-columns
- [mixin]
kgs-magic-columns
- [mixin]
kgs-stack-columns
- [mixin]
kgs-magic-columns
- [mixin]
kgs-stack-columns
- [mixin]
kgs-pull
- [mixin]
kgs-push
- [mixin]
kgs-no-gutter-columns
- [mixin]
kgs-no-gutter-columns
- [mixin]
kgs-stack-columns
- [mixin]
kgs-no-gutter-columns
- [mixin]
kgs-stack-columns
- [mixin]
kgs-adaptive-columns
- [mixin]
kgs-block-columns
- [mixin]
kgs-block-columns
- [mixin]
kgs-stack-columns
- [mixin]
kgs-block-columns
- [mixin]
kgs-stack-columns
- [mixin]
kgs-reverse-order
- [mixin]
kgs-reverse-order
- [mixin]
kgs-pull
- [mixin]
kgs-push
- [function]
kgs-option
- [function]
kgs-option
- [function]
kgs-option
- [function]
kgs-setting
- [function]
kgs-option
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-option
- [function]
kgs-setting
- [function]
kayzenGS
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-option
- [function]
kgs-option
- [function]
kgs-option
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-option
- [function]
kgs-option
- [function]
kgs-option
- [function]
kgs-setting
- [function]
kgs-option
- [function]
kgs-setting
- [function]
kayzenGS
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-option
- [function]
kgs-setting
- [function]
kgs-option
- [function]
kgs-setting
- [function]
kayzenGS
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-option
- [function]
kgs-setting
- [function]
kgs-option
- [function]
kgs-setting
- [function]
kayzenGS
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-option
- [function]
kgs-setting
- [function]
kgs-option
- [function]
kgs-setting
- [function]
kayzenGS
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kayzenGS
- [function]
kgs-setting
- [function]
kgs-setting
- [function]
kgs-setting
- [variable]
kayzenGS
- [variable]
kayzenGS
- [variable]
kgs-scale
- [variable]
kgs-scale
- [variable]
kgs-scale
- [variable]
kgs-scale
- [variable]
kgs-scale
- [variable]
kgs-scale
- [variable]
kgs-scale
- [variable]
kgs-scale
- [variable]
kgs-scale
- [variable]
kgs-scale
- [variable]
kgs-scale
Author
kgs-column-core
@mixin kgs-column-core() { ... }
Description
Core column styles
Parameters
None.
Output
core styles for a column
Requires
- [function]
kgs-setting
Used by
- [mixin]
kgs-default-columns
- [mixin]
kgs-flow-columns
- [mixin]
kgs-magic-columns
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
kgs-adaptive-columns
Author
kgs-row-core
@mixin kgs-row-core() { ... }
Description
Core row styles
Parameters
None.
Output
core styles for a row
Requires
- [function]
kgs-setting
Used by
Author
kgs-block-columns
@mixin kgs-block-columns() { ... }
Description
Core block column styles
Parameters
None.
Output
core styles for a block column
Requires
- [function]
kgs-option
Used by
Author
kgs-default-columns
@mixin kgs-default-columns() { ... }
Description
Generate each individual column size
Parameters
None.
Output
classes for each column width
Requires
- [mixin]
kgs-column-core
- [mixin]
kgs-gutter
- [function]
kgs-option
- [function]
kgs-option
- [function]
kgs-option
- [function]
kgs-default-width
- [function]
kgs-option
Used by
Author
kgs-flow-columns
@mixin kgs-flow-columns() { ... }
Description
Generate flow columns
Parameters
None.
Output
relevant styles for flow columns
Requires
- [mixin]
kgs-column-core
- [mixin]
kgs-gutter
- [function]
kgs-option
- [function]
kgs-option
- [function]
kgs-option
- [function]
kgs-flow-width
- [function]
kgs-option
Used by
Author
kgs-magic-column-core
@mixin kgs-magic-column-core($namespace) { ... }
Description
Core magic column styles
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$namespace | your column namespace e.g. 'span' | String | — none |
Output
relevant selectors for magic columns
Requires
- [function]
kgs-option
- [function]
kgs-magic-width
Used by
- [mixin]
kgs-magic-columns
- [mixin]
column
- [mixin]
column
Author
kgs-magic-columns
@mixin kgs-magic-columns() { ... }
Description
Generate magic columns
Parameters
None.
Output
relevant styles for magic columns
Requires
- [mixin]
kgs-column-core
- [mixin]
kgs-gutter
- [mixin]
kgs-magic-column-core
- [function]
kgs-option
Used by
Author
kgs-no-gutter-columns
@mixin kgs-no-gutter-columns() { ... }
Description
Generate no-gutter columns
Parameters
None.
Output
relevant styles for no-gutter columns
Requires
- [function]
kgs-option
- [function]
kgs-option
- [function]
kgs-option
- [function]
kgs-no-gutter-width
- [function]
kgs-option
Used by
Author
column
@mixin column($custom) { ... }
Description
Custom semantic column
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$custom | where custom config will be passed | Map | — none |
Output
custom column styles
Requires
- [mixin]
kgs-column-core
- [mixin]
kgs-column-core
- [mixin]
kgs-gutter
- [mixin]
kgs-column-core
- [mixin]
kgs-gutter
- [mixin]
kgs-magic-column-core
- [mixin]
kgs-column-core
- [mixin]
kgs-gutter
- [mixin]
kgs-magic-column-core
- [mixin]
kgs-stack-columns
- [mixin]
kgs-stack-columns
- [mixin]
kgs-gutter
- [mixin]
kgs-gutter
- [mixin]
kgs-stack-columns
- [mixin]
kgs-column-core
- [function]
kgs-option
- [function]
kgs-setting
- [function]
kgs-config
- [function]
kgs-fraction
- [function]
kgs-config
- [function]
kgs-fraction
- [function]
kgs-config
- [function]
kgs-config
- [function]
kgs-config
- [function]
kgs-config
- [function]
kgs-config
- [function]
kgs-config
- [function]
kgs-config
- [function]
kgs-config
- [function]
kgs-config
- [function]
kgs-flow-width
- [function]
kgs-config
- [function]
kgs-config
- [function]
kgs-config
- [function]
kgs-config
- [function]
kgs-config
- [function]
kgs-config
- [function]
kgs-config
- [function]
kgs-no-gutter-width
- [function]
kgs-no-gutter-width
- [function]
kgs-config
- [function]
kgs-config
- [function]
kgs-config
- [function]
kgs-default-width
- [function]
kgs-config
- [function]
kgs-default-width
- [function]
kgs-config
- [function]
kgs-config
- [function]
kgs-config
- [function]
kgs-config
- [function]
kgs-config
- [function]
kgs-config
- [function]
kgs-config
- [function]
kgs-breakpoint
- [function]
kgs-fraction
- [function]
kgs-fraction
- [function]
kgs-config
- [function]
kgs-flow-width
- [function]
kgs-default-width
Author
row
@mixin row($type) { ... }
Description
Custom semantic row
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$type | type of columns row should have | String | — none |
Output
custom row styles
Requires
- [mixin]
kgs-row-core
- [function]
kgs-option
- [function]
kgs-option
Author
kgs-adaptive-columns
@mixin kgs-adaptive-columns($col-type: 'default) { ... }
Description
Adaptive Columns
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$col-type | the type of columns to be generated | String | 'default |
Output
styles for adaptive columns
Requires
- [mixin]
kgs-column-core
- [mixin]
kgs-gutter
- [function]
kgs-setting
- [function]
kayzenGS
- [function]
kayzenGS
- [function]
kgs-option
- [function]
kayzenGS
- [function]
kgs-flow-width
- [function]
kgs-no-gutter-width
- [variable]
kgs-scale
Used by
Author
kgs-gutter
@mixin kgs-gutter($flush: true) { ... }
Description
Gutter
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$flush | remove margin from first column in row | Bool | true |
Output
styles for column gutters
Requires
- [function]
kgs-option
Used by
- [mixin]
kgs-default-columns
- [mixin]
kgs-flow-columns
- [mixin]
kgs-magic-columns
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
kgs-adaptive-columns
Author
kgs-pull
@mixin kgs-pull($col-type: 'default) { ... }
Description
Pull Columns
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$col-type | the type of columns to be generated | String | 'default |
Output
styles for pull columns
Requires
- [function]
kgs-option
- [function]
kgs-default-width
- [function]
kgs-option
- [function]
kgs-option
- [function]
kgs-flow-width
- [function]
kgs-option
- [function]
kgs-option
- [function]
kgs-no-gutter-width
- [function]
kgs-option
Used by
Author
kgs-push
@mixin kgs-push($col-type: 'default) { ... }
Description
Push Columns
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$col-type | the type of columns to be generated | String | 'default |
Output
styles for push columns
Requires
- [function]
kgs-option
- [function]
kgs-default-width
- [function]
kgs-option
- [function]
kgs-option
- [function]
kgs-flow-width
- [function]
kgs-option
- [function]
kgs-option
- [function]
kgs-no-gutter-width
- [function]
kgs-option
Used by
Author
kgs-reverse-order
@mixin kgs-reverse-order() { ... }
Description
Reverse order of columns in a row
Parameters
None.
Output
styles to reverse column order
Requires
- [function]
kgs-option
Used by
Author
kgs-stack-columns
@mixin kgs-stack-columns($col-type: null, $core: false) { ... }
Description
Stack Columns
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$col-type | the type of columns to be generated | String | null |
$core | Set if mixin is included in column selector as opposed to row | Bool | false |
Output
styles which cause columns to become stacked
Requires
- [function]
kgs-option
- [function]
kgs-option
Used by
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
column
- [mixin]
column
- [mixin]
column
Author
functions
kgs-default-width
@function kgs-default-width($span, $columns) { ... }
Description
Calculate width for a default column
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$span | the width (in columns) of returned value | Number | — none |
$columns | the maxinum number of columns being used | Number | — none |
Returns
Number
—width of column
Requires
- [function]
kgs-option
Used by
- [mixin]
kgs-default-columns
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
kgs-pull
- [mixin]
kgs-push
Author
kgs-flow-width
@function kgs-flow-width($span, $columns) { ... }
Description
Calculate width for a flow column
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$span | the width (in columns) of returned value | Number | — none |
$columns | the maxinum number of columns being used | Number | — none |
Returns
Number
—width of column
Requires
- [function]
kgs-option
Used by
- [mixin]
kgs-flow-columns
- [mixin]
column
- [mixin]
column
- [mixin]
kgs-adaptive-columns
- [mixin]
kgs-pull
- [mixin]
kgs-push
Author
kgs-magic-width
@function kgs-magic-width($columns) { ... }
Description
Calculate width for a magic column
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$columns | the maxinum number of columns being used | Number | — none |
Returns
Number
—width of column
Requires
- [function]
kgs-option
Used by
- [mixin]
kgs-magic-column-core
Author
kgs-no-gutter-width
@function kgs-no-gutter-width($span, $columns) { ... }
Description
Calculate width for a no-gutter column
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$span | the width (in columns) of returned value | Number | — none |
$columns | the maxinum number of columns being used | Number | — none |
Returns
Number
—width of column
Used by
- [mixin]
kgs-no-gutter-columns
- [mixin]
column
- [mixin]
column
- [mixin]
kgs-adaptive-columns
- [mixin]
kgs-pull
- [mixin]
kgs-push
Author
kgs-breakpoint
@function kgs-breakpoint($breakpoint) { ... }
Description
Get a value from the 'breakpoints' configuration group
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$breakpoint | key of desired breakpoint | String | — none |
Returns
Number
—desired breakpoint value
Requires
- [variable]
kayzenGS
Used by
- [mixin]
column
kgs-config
@function kgs-config($options...) { ... }
Description
Get a nested value from the Kayzen-GS config
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$options | arglist of desired option | Arglist | — none |
Returns
desired value
Used by
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
- [mixin]
column
kgs-fraction
@function kgs-fraction($fraction) { ... }
Description
Get a value from the 'fractions' configuration group
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$fraction | key of desired fraction | String | — none |
Returns
Number
—desired fraction value
Requires
- [variable]
kayzenGS
Used by
kayzenGS
@function kayzenGS($option) { ... }
Description
Get a top level value from the default Kayzen-GS config
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$option | key of desired option | String | — none |
Returns
desired value
Requires
- [variable]
kayzenGS
Used by
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kgs-adaptive-columns
- [mixin]
kgs-adaptive-columns
- [mixin]
kgs-adaptive-columns
kgs-option
@function kgs-option($option) { ... }
Description
Get a value from the 'options' configuration group
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$option | key of desired option | String | — none |
Returns
desired value
Requires
- [variable]
kayzenGS
Used by
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kgs-block-columns
- [function]
kgs-default-width
- [mixin]
kgs-default-columns
- [mixin]
kgs-default-columns
- [mixin]
kgs-default-columns
- [mixin]
kgs-default-columns
- [function]
kgs-flow-width
- [mixin]
kgs-flow-columns
- [mixin]
kgs-flow-columns
- [mixin]
kgs-flow-columns
- [mixin]
kgs-flow-columns
- [function]
kgs-magic-width
- [mixin]
kgs-magic-column-core
- [mixin]
kgs-magic-columns
- [mixin]
kgs-no-gutter-columns
- [mixin]
kgs-no-gutter-columns
- [mixin]
kgs-no-gutter-columns
- [mixin]
kgs-no-gutter-columns
- [mixin]
column
- [mixin]
row
- [mixin]
row
- [mixin]
kgs-adaptive-columns
- [mixin]
kgs-gutter
- [mixin]
kgs-pull
- [mixin]
kgs-pull
- [mixin]
kgs-pull
- [mixin]
kgs-pull
- [mixin]
kgs-pull
- [mixin]
kgs-pull
- [mixin]
kgs-push
- [mixin]
kgs-push
- [mixin]
kgs-push
- [mixin]
kgs-push
- [mixin]
kgs-push
- [mixin]
kgs-push
- [mixin]
kgs-reverse-order
- [mixin]
kgs-stack-columns
- [mixin]
kgs-stack-columns
kgs-setting
@function kgs-setting($setting) { ... }
Description
Get a value from the 'settings' configuration group
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$setting | key of desired setting | String | — none |
Returns
Bool
—desired value
Requires
- [variable]
kayzenGS
Used by
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [mixin]
kgs-column-core
- [mixin]
kgs-row-core
- [mixin]
column
- [mixin]
kgs-adaptive-columns
General
variables
kayzenGS
$kayzenGS: if(variable-exists('kayzenGS-defaults'), $kayzenGS-defaults, (
'options' : (
'columns' : 12,
'gutter' : 3%,
'col-break' : 940px,
'row-namespace' : 'row',
'col-namespace' : 'span'
),
'settings' : (
'old-ie' : false,
'responsive' : true,
'mobile-first' : false,
'custom-stacking' : true,
'adaptive-columns' : true,
'flow-columns' : true,
'magic-columns' : true,
'block-columns' : true,
'no-gutter-columns' : true,
'reverse-columns' : true,
'pull-columns' : true,
'push-columns' : true
),
'breakpoints' : (
'break-0' : 0px,
'break-1' : 460px,
'break-2' : 720px,
'break-3' : 940px,
'break-4' : 1200px
),
'fractions' : (
'full' : (1, 1),
'half' : (1, 2),
'third' : (1, 3),
'quarter' : (1, 4),
'sixth' : (1, 6)
)
)) !default;
Description
Default grid system configuration
Type
Map
Used by
- [mixin]
kayzen-gs
- [mixin]
kayzen-gs
- [function]
kgs-breakpoint
- [function]
kgs-fraction
- [function]
kayzenGS
- [function]
kgs-option
- [function]
kgs-setting
Author
kgs-scale
$kgs-scale: if(map-get-deep($kayzenGS, 'settings', 'mobile-first'), 'min', 'max');
Description
Set min/max width for breakpoint creation to determine mobile-first