forked from supple-kit/supple-css
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_index.scss
50 lines (38 loc) · 1.37 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
45
46
47
48
49
50
/* =========================================================================
utilities.colstart
Classes provide a column-start custom property for use in objects
or components which can handle column-starts eg. `object.mesh`.
========================================================================= */
/* Use/Forward rules
`@use` or `@forward` everything you need here from other files.
These can include variables, mixins & other includes.
========================================================================= */
/**
* 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}');
}
}