-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path_vars.scss
73 lines (60 loc) · 1.95 KB
/
_vars.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
// Must be added to html tag either manaully or feature detect eg modernizr
$default-text-align: left !default;
$starting-columns: 1 !default;
$total-columns: 12 !default;
$column-gutter: 15px !default;
$auto-column-gutters: false !default;
$grid-padding-name: 'pad' !default;
$independant-grid-name: '' !default;
// Use to namespace the whole grid-system. eg 'wtf-' or 'cool-'
$global-name-space: '' !default;
$container-name: 'container' !default; // Could be wrapper
$grid-name: 'grid-' !default; // Could be col or column
$base-grid-name: '' !default; // Does your base grid have a sufix.
$row-name: 'row' !default; // Could be flex
$disable-push-pull-classes: false !default;
$right-name: 'right' !default; // Could be push
$left-name: 'left' !default; // Could be push
// Set to true to always set column index after grid name eg. grid-1-md instead of grid-md-1
$column-index-always-before-size: false !default;
// Loop over these breakpoints and pass keys into grid classes
$breakpoints: (
'small': 480px,
'medium': 768px,
'large': 1024px,
'xlarge': 1180px
) !default;
$break-dir: '>=' !default;
$smallest-size: nth(map-values($breakpoints), 1);
$last-breakpoint: nth(map-values($breakpoints), length($breakpoints));
$container-breakpoint: $last-breakpoint !default;
$column-gutter-breakpoint: $smallest-size !default;
$enable-extra-grid: false !default;
$extra-grid-name: 'fifth' !default;
$extra-columns: 5 !default;
$grid-framework: '' !default;
@if $grid-framework == 'bootstrap' {
$grid-name: 'col-';
$base-grid-name: 'xs';
$column-gutter: 15px;
$auto-column-gutters: true;
$right-name: 'push';
$left-name: 'pull';
$breakpoints: (
'sm': 480px,
'md': 768px,
'lg': 1024px,
'xl': 1180px
);
}
@if $grid-framework == 'foundation' {
$column-gutter: 0.9375rem;
$auto-column-gutters: false;
$independant-grid-name: 'column';
$grid-name: '';
$base-grid-name: 'small';
$breakpoints: (
'medium': 768px,
'large': 1024px
);
}