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
| .space-dm {
| display: grid;
| grid-gap: 16px;
| color: var(--color-neutral-subtler);
|
| &_direction {
| &_horizontal {
| grid-auto-flow: column;
| align-items: center;
| grid-auto-columns: max-content;
| }
|
| &_vertical {
| grid-auto-flow: row;
| justify-content: center;
| grid-auto-rows: max-content;
| }
| }
|
| &_spread {
| justify-content: space-between;
| }
|
| &_align {
| &_start {
| justify-content: flex-start;
| }
|
| &_end {
| justify-content: flex-end;
| }
| }
|
| &_stretch.space-dm_direction {
| &_horizontal {
| grid-auto-columns: 1fr;
| grid-auto-rows: 1fr;
| }
| }
|
| &_size {
| &_large {
| grid-gap: 32px;
| }
|
| &_small {
| grid-gap: 12px;
| }
| }
| }
|
|