-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
_variables.scss
51 lines (47 loc) · 1.16 KB
/
_variables.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
/* ==========================================================================
utilities.spacing.variables
/ =========================================================================== */
@use '../../settings/defaults';
/**
* The properties that you want to generate spacings for
* `key` is the classname, `value` is the property name
*
* Example
$properties: (
'padding': 'padding', // generates `u-padding`
'margin': 'margin', // generates `u-margin`
);
*
* or
$properties: (
'p': 'padding', // generates `u-p`
'm': 'margin', // generates `u-m`
'i': 'inset', // generates `u-i`
);
* By default it's only margins we generate
*/
$properties: (
'margin-block-end': 'margin-block-end',
) !default;
/**
* And which sizes you want to generate?
*
* Example
$sizes: (
'tiny',
);
*
* By default it's only `base` we generate
*/
$sizes: ('base') !default;
/**
* Define which namespaced queries you would like to generate for
* your spacings.
* All are empty by default, but you can add queries at will.
*
$in-query: (lap, desk);
*
* Note: the name of the media query must exist in the list of `$queries`
* in `settings/defaults`
*/
$in-query: () !default;