-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
_index.scss
44 lines (38 loc) · 1.31 KB
/
_index.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
/* ==========================================================================
utilities.colspan
Classes provide a colspan custom property for use in objects or
components which can handle colspans eg. `object.layout` or `object.mesh`.
/ =========================================================================== */
/**
* Forward the variables to the parent stylesheet
*/
@forward './variables';
/**
* Use the settings & tools in this sheet
*/
@use 'sass:list';
@use 'sass:meta';
@use '../../settings/defaults';
@use './variables';
@use '../../tools/responsive';
@use './tools';
/* --------------------------------------------------------------------------
Module
/ --------------------------------------------------------------------------- */
@include tools.build;
/* --------------------------------------------------------------------------
Responsive
/ --------------------------------------------------------------------------- */
@if meta.type-of(variables.$in-query) == 'list' {
@each $query in variables.$in-query {
@include responsive.mq($query) {
@include tools.build('#{defaults.$responsive-modifier}#{$query}');
}
}
} @else {
@include responsive.mq(variables.$in-query) {
@include tools.build(
'#{defaults.$responsive-modifier}#{variables.$in-query}'
);
}
}