-
Notifications
You must be signed in to change notification settings - Fork 0
/
flow.css
63 lines (47 loc) · 1.07 KB
/
flow.css
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
[class*="flow"] > * + * {
--flow-space: var(--size-relative-6);
margin-block-start: var(--flow-space, var(--size-relative-6));
}
/* --------------------------------- parent --------------------------------- */
.flow-xs > * + * {
--flow-space: var(--size-relative-2);
}
.flow-sm > * + * {
--flow-space: var(--size-relative-4);
}
.flow-lg > * + * {
--flow-space: var(--size-relative-8);
}
.flow-xl > * + * {
--flow-space: var(--size-relative-10);
}
.flow-2xl > * + * {
--flow-space: var(--size-relative-12);
}
/* -------------------------------- children -------------------------------- */
/* flom because `m` is `w` upside down lol */
.flom-0 {
--flow-space: 0;
}
.flom-xs {
--flow-space: var(--size-relative-2);
}
.flom-md {
--flow-space: var(--size-relative-6);
}
.flom-lg {
--flow-space: var(--size-relative-8);
}
.flom-xl {
--flow-space: var(--size-relative-10);
}
/* only enable if used
.flom-2xs {
--flow-space: var(--size-relative-1);
}
.flom-sm {
--flow-space: var(--size-relative-4);
}
.flom-2xl {
--flow-space: var(--size-relative-12);
} */