cacao-css 7.0.0 → 7.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/display/2xl/flex.css +20 -0
  2. package/dist/display/2xs/flex.css +20 -0
  3. package/dist/display/3xl/flex.css +20 -0
  4. package/dist/display/3xs/flex.css +20 -0
  5. package/dist/display/4xl/flex.css +20 -0
  6. package/dist/display/5xl/flex.css +20 -0
  7. package/dist/display/flex.css +20 -0
  8. package/dist/display/lg/flex.css +20 -0
  9. package/dist/display/md/flex.css +20 -0
  10. package/dist/display/sm/flex.css +20 -0
  11. package/dist/display/xl/flex.css +20 -0
  12. package/dist/display/xs/flex.css +20 -0
  13. package/dist/imports.css +13 -0
  14. package/dist/typography/2xl/combined-import.css +1 -0
  15. package/dist/typography/2xl/size.css +97 -0
  16. package/dist/typography/2xs/combined-import.css +1 -0
  17. package/dist/typography/2xs/size.css +97 -0
  18. package/dist/typography/3xl/combined-import.css +1 -0
  19. package/dist/typography/3xl/size.css +97 -0
  20. package/dist/typography/3xs/combined-import.css +1 -0
  21. package/dist/typography/3xs/size.css +97 -0
  22. package/dist/typography/4xl/combined-import.css +1 -0
  23. package/dist/typography/4xl/size.css +97 -0
  24. package/dist/typography/5xl/combined-import.css +1 -0
  25. package/dist/typography/5xl/size.css +97 -0
  26. package/dist/typography/combined-import.css +2 -0
  27. package/dist/typography/lg/combined-import.css +1 -0
  28. package/dist/typography/lg/size.css +97 -0
  29. package/dist/typography/md/combined-import.css +1 -0
  30. package/dist/typography/md/size.css +97 -0
  31. package/dist/typography/size-variables.css +31 -0
  32. package/dist/typography/size.css +95 -0
  33. package/dist/typography/sm/combined-import.css +1 -0
  34. package/dist/typography/sm/size.css +97 -0
  35. package/dist/typography/xl/combined-import.css +1 -0
  36. package/dist/typography/xl/size.css +97 -0
  37. package/dist/typography/xs/combined-import.css +1 -0
  38. package/dist/typography/xs/size.css +97 -0
  39. package/package.json +5 -5
@@ -18,4 +18,24 @@
18
18
  .flex-col-reverse-2xl {
19
19
  flex-direction: column-reverse;
20
20
  }
21
+
22
+ .flex-grow-2xl {
23
+ flex-grow: 1;
24
+ }
25
+
26
+ .flex-shrink-2xl {
27
+ flex-shrink: 1;
28
+ }
29
+
30
+ .flex-wrap-2xl {
31
+ flex-wrap: wrap;
32
+ }
33
+
34
+ .flex-nowrap-2xl {
35
+ flex-wrap: nowrap;
36
+ }
37
+
38
+ .flex-wrap-reverse-2xl {
39
+ flex-wrap: wrap-reverse;
40
+ }
21
41
  }
@@ -18,4 +18,24 @@
18
18
  .flex-col-reverse-2xs {
19
19
  flex-direction: column-reverse;
20
20
  }
21
+
22
+ .flex-grow-2xs {
23
+ flex-grow: 1;
24
+ }
25
+
26
+ .flex-shrink-2xs {
27
+ flex-shrink: 1;
28
+ }
29
+
30
+ .flex-wrap-2xs {
31
+ flex-wrap: wrap;
32
+ }
33
+
34
+ .flex-nowrap-2xs {
35
+ flex-wrap: nowrap;
36
+ }
37
+
38
+ .flex-wrap-reverse-2xs {
39
+ flex-wrap: wrap-reverse;
40
+ }
21
41
  }
@@ -18,4 +18,24 @@
18
18
  .flex-col-reverse-3xl {
19
19
  flex-direction: column-reverse;
20
20
  }
21
+
22
+ .flex-grow-3xl {
23
+ flex-grow: 1;
24
+ }
25
+
26
+ .flex-shrink-3xl {
27
+ flex-shrink: 1;
28
+ }
29
+
30
+ .flex-wrap-3xl {
31
+ flex-wrap: wrap;
32
+ }
33
+
34
+ .flex-nowrap-3xl {
35
+ flex-wrap: nowrap;
36
+ }
37
+
38
+ .flex-wrap-reverse-3xl {
39
+ flex-wrap: wrap-reverse;
40
+ }
21
41
  }
@@ -18,4 +18,24 @@
18
18
  .flex-col-reverse-3xs {
19
19
  flex-direction: column-reverse;
20
20
  }
21
+
22
+ .flex-grow-3xs {
23
+ flex-grow: 1;
24
+ }
25
+
26
+ .flex-shrink-3xs {
27
+ flex-shrink: 1;
28
+ }
29
+
30
+ .flex-wrap-3xs {
31
+ flex-wrap: wrap;
32
+ }
33
+
34
+ .flex-nowrap-3xs {
35
+ flex-wrap: nowrap;
36
+ }
37
+
38
+ .flex-wrap-reverse-3xs {
39
+ flex-wrap: wrap-reverse;
40
+ }
21
41
  }
@@ -18,4 +18,24 @@
18
18
  .flex-col-reverse-4xl {
19
19
  flex-direction: column-reverse;
20
20
  }
21
+
22
+ .flex-grow-4xl {
23
+ flex-grow: 1;
24
+ }
25
+
26
+ .flex-shrink-4xl {
27
+ flex-shrink: 1;
28
+ }
29
+
30
+ .flex-wrap-4xl {
31
+ flex-wrap: wrap;
32
+ }
33
+
34
+ .flex-nowrap-4xl {
35
+ flex-wrap: nowrap;
36
+ }
37
+
38
+ .flex-wrap-reverse-4xl {
39
+ flex-wrap: wrap-reverse;
40
+ }
21
41
  }
@@ -18,4 +18,24 @@
18
18
  .flex-col-reverse-5xl {
19
19
  flex-direction: column-reverse;
20
20
  }
21
+
22
+ .flex-grow-5xl {
23
+ flex-grow: 1;
24
+ }
25
+
26
+ .flex-shrink-5xl {
27
+ flex-shrink: 1;
28
+ }
29
+
30
+ .flex-wrap-5xl {
31
+ flex-wrap: wrap;
32
+ }
33
+
34
+ .flex-nowrap-5xl {
35
+ flex-wrap: nowrap;
36
+ }
37
+
38
+ .flex-wrap-reverse-5xl {
39
+ flex-wrap: wrap-reverse;
40
+ }
21
41
  }
@@ -17,3 +17,23 @@
17
17
  .flex-col-reverse {
18
18
  flex-direction: column-reverse;
19
19
  }
20
+
21
+ .flex-grow {
22
+ flex-grow: 1
23
+ }
24
+
25
+ .flex-shrink {
26
+ flex-shrink: 1
27
+ }
28
+
29
+ .flex-wrap {
30
+ flex-wrap: wrap
31
+ }
32
+
33
+ .flex-nowrap {
34
+ flex-wrap: nowrap
35
+ }
36
+
37
+ .flex-wrap-reverse {
38
+ flex-wrap: wrap-reverse
39
+ }
@@ -18,4 +18,24 @@
18
18
  .flex-col-reverse-lg {
19
19
  flex-direction: column-reverse;
20
20
  }
21
+
22
+ .flex-grow-lg {
23
+ flex-grow: 1;
24
+ }
25
+
26
+ .flex-shrink-lg {
27
+ flex-shrink: 1;
28
+ }
29
+
30
+ .flex-wrap-lg {
31
+ flex-wrap: wrap;
32
+ }
33
+
34
+ .flex-nowrap-lg {
35
+ flex-wrap: nowrap;
36
+ }
37
+
38
+ .flex-wrap-reverse-lg {
39
+ flex-wrap: wrap-reverse;
40
+ }
21
41
  }
@@ -18,4 +18,24 @@
18
18
  .flex-col-reverse-md {
19
19
  flex-direction: column-reverse;
20
20
  }
21
+
22
+ .flex-grow-md {
23
+ flex-grow: 1;
24
+ }
25
+
26
+ .flex-shrink-md {
27
+ flex-shrink: 1;
28
+ }
29
+
30
+ .flex-wrap-md {
31
+ flex-wrap: wrap;
32
+ }
33
+
34
+ .flex-nowrap-md {
35
+ flex-wrap: nowrap;
36
+ }
37
+
38
+ .flex-wrap-reverse-md {
39
+ flex-wrap: wrap-reverse;
40
+ }
21
41
  }
@@ -18,4 +18,24 @@
18
18
  .flex-col-reverse-sm {
19
19
  flex-direction: column-reverse;
20
20
  }
21
+
22
+ .flex-grow-sm {
23
+ flex-grow: 1;
24
+ }
25
+
26
+ .flex-shrink-sm {
27
+ flex-shrink: 1;
28
+ }
29
+
30
+ .flex-wrap-sm {
31
+ flex-wrap: wrap;
32
+ }
33
+
34
+ .flex-nowrap-sm {
35
+ flex-wrap: nowrap;
36
+ }
37
+
38
+ .flex-wrap-reverse-sm {
39
+ flex-wrap: wrap-reverse;
40
+ }
21
41
  }
@@ -18,4 +18,24 @@
18
18
  .flex-col-reverse-xl {
19
19
  flex-direction: column-reverse;
20
20
  }
21
+
22
+ .flex-grow-xl {
23
+ flex-grow: 1;
24
+ }
25
+
26
+ .flex-shrink-xl {
27
+ flex-shrink: 1;
28
+ }
29
+
30
+ .flex-wrap-xl {
31
+ flex-wrap: wrap;
32
+ }
33
+
34
+ .flex-nowrap-xl {
35
+ flex-wrap: nowrap;
36
+ }
37
+
38
+ .flex-wrap-reverse-xl {
39
+ flex-wrap: wrap-reverse;
40
+ }
21
41
  }
@@ -18,4 +18,24 @@
18
18
  .flex-col-reverse-xs {
19
19
  flex-direction: column-reverse;
20
20
  }
21
+
22
+ .flex-grow-xs {
23
+ flex-grow: 1;
24
+ }
25
+
26
+ .flex-shrink-xs {
27
+ flex-shrink: 1;
28
+ }
29
+
30
+ .flex-wrap-xs {
31
+ flex-wrap: wrap;
32
+ }
33
+
34
+ .flex-nowrap-xs {
35
+ flex-wrap: nowrap;
36
+ }
37
+
38
+ .flex-wrap-reverse-xs {
39
+ flex-wrap: wrap-reverse;
40
+ }
21
41
  }
package/dist/imports.css CHANGED
@@ -1829,6 +1829,8 @@
1829
1829
  /* or include individual files */
1830
1830
  @import 'cacao-css/dist/typography/align.css';
1831
1831
  @import 'cacao-css/dist/typography/break.css';
1832
+ @import 'cacao-css/dist/typography/size-variables.css';
1833
+ @import 'cacao-css/dist/typography/size.css';
1832
1834
  @import 'cacao-css/dist/typography/style.css';
1833
1835
  @import 'cacao-css/dist/typography/transform.css';
1834
1836
  @import 'cacao-css/dist/typography/weight.css';
@@ -1840,6 +1842,7 @@
1840
1842
  /* or include individual files */
1841
1843
  @import 'cacao-css/dist/typography/3xs/align.css';
1842
1844
  @import 'cacao-css/dist/typography/3xs/break.css';
1845
+ @import 'cacao-css/dist/typography/3xs/size.css';
1843
1846
  @import 'cacao-css/dist/typography/3xs/style.css';
1844
1847
  @import 'cacao-css/dist/typography/3xs/transform.css';
1845
1848
  @import 'cacao-css/dist/typography/3xs/weight.css';
@@ -1851,6 +1854,7 @@
1851
1854
  /* or include individual files */
1852
1855
  @import 'cacao-css/dist/typography/2xs/align.css';
1853
1856
  @import 'cacao-css/dist/typography/2xs/break.css';
1857
+ @import 'cacao-css/dist/typography/2xs/size.css';
1854
1858
  @import 'cacao-css/dist/typography/2xs/style.css';
1855
1859
  @import 'cacao-css/dist/typography/2xs/transform.css';
1856
1860
  @import 'cacao-css/dist/typography/2xs/weight.css';
@@ -1862,6 +1866,7 @@
1862
1866
  /* or include individual files */
1863
1867
  @import 'cacao-css/dist/typography/xs/align.css';
1864
1868
  @import 'cacao-css/dist/typography/xs/break.css';
1869
+ @import 'cacao-css/dist/typography/xs/size.css';
1865
1870
  @import 'cacao-css/dist/typography/xs/style.css';
1866
1871
  @import 'cacao-css/dist/typography/xs/transform.css';
1867
1872
  @import 'cacao-css/dist/typography/xs/weight.css';
@@ -1873,6 +1878,7 @@
1873
1878
  /* or include individual files */
1874
1879
  @import 'cacao-css/dist/typography/sm/align.css';
1875
1880
  @import 'cacao-css/dist/typography/sm/break.css';
1881
+ @import 'cacao-css/dist/typography/sm/size.css';
1876
1882
  @import 'cacao-css/dist/typography/sm/style.css';
1877
1883
  @import 'cacao-css/dist/typography/sm/transform.css';
1878
1884
  @import 'cacao-css/dist/typography/sm/weight.css';
@@ -1884,6 +1890,7 @@
1884
1890
  /* or include individual files */
1885
1891
  @import 'cacao-css/dist/typography/md/align.css';
1886
1892
  @import 'cacao-css/dist/typography/md/break.css';
1893
+ @import 'cacao-css/dist/typography/md/size.css';
1887
1894
  @import 'cacao-css/dist/typography/md/style.css';
1888
1895
  @import 'cacao-css/dist/typography/md/transform.css';
1889
1896
  @import 'cacao-css/dist/typography/md/weight.css';
@@ -1895,6 +1902,7 @@
1895
1902
  /* or include individual files */
1896
1903
  @import 'cacao-css/dist/typography/lg/align.css';
1897
1904
  @import 'cacao-css/dist/typography/lg/break.css';
1905
+ @import 'cacao-css/dist/typography/lg/size.css';
1898
1906
  @import 'cacao-css/dist/typography/lg/style.css';
1899
1907
  @import 'cacao-css/dist/typography/lg/transform.css';
1900
1908
  @import 'cacao-css/dist/typography/lg/weight.css';
@@ -1906,6 +1914,7 @@
1906
1914
  /* or include individual files */
1907
1915
  @import 'cacao-css/dist/typography/xl/align.css';
1908
1916
  @import 'cacao-css/dist/typography/xl/break.css';
1917
+ @import 'cacao-css/dist/typography/xl/size.css';
1909
1918
  @import 'cacao-css/dist/typography/xl/style.css';
1910
1919
  @import 'cacao-css/dist/typography/xl/transform.css';
1911
1920
  @import 'cacao-css/dist/typography/xl/weight.css';
@@ -1917,6 +1926,7 @@
1917
1926
  /* or include individual files */
1918
1927
  @import 'cacao-css/dist/typography/2xl/align.css';
1919
1928
  @import 'cacao-css/dist/typography/2xl/break.css';
1929
+ @import 'cacao-css/dist/typography/2xl/size.css';
1920
1930
  @import 'cacao-css/dist/typography/2xl/style.css';
1921
1931
  @import 'cacao-css/dist/typography/2xl/transform.css';
1922
1932
  @import 'cacao-css/dist/typography/2xl/weight.css';
@@ -1928,6 +1938,7 @@
1928
1938
  /* or include individual files */
1929
1939
  @import 'cacao-css/dist/typography/3xl/align.css';
1930
1940
  @import 'cacao-css/dist/typography/3xl/break.css';
1941
+ @import 'cacao-css/dist/typography/3xl/size.css';
1931
1942
  @import 'cacao-css/dist/typography/3xl/style.css';
1932
1943
  @import 'cacao-css/dist/typography/3xl/transform.css';
1933
1944
  @import 'cacao-css/dist/typography/3xl/weight.css';
@@ -1939,6 +1950,7 @@
1939
1950
  /* or include individual files */
1940
1951
  @import 'cacao-css/dist/typography/4xl/align.css';
1941
1952
  @import 'cacao-css/dist/typography/4xl/break.css';
1953
+ @import 'cacao-css/dist/typography/4xl/size.css';
1942
1954
  @import 'cacao-css/dist/typography/4xl/style.css';
1943
1955
  @import 'cacao-css/dist/typography/4xl/transform.css';
1944
1956
  @import 'cacao-css/dist/typography/4xl/weight.css';
@@ -1950,6 +1962,7 @@
1950
1962
  /* or include individual files */
1951
1963
  @import 'cacao-css/dist/typography/5xl/align.css';
1952
1964
  @import 'cacao-css/dist/typography/5xl/break.css';
1965
+ @import 'cacao-css/dist/typography/5xl/size.css';
1953
1966
  @import 'cacao-css/dist/typography/5xl/style.css';
1954
1967
  @import 'cacao-css/dist/typography/5xl/transform.css';
1955
1968
  @import 'cacao-css/dist/typography/5xl/weight.css';
@@ -4,6 +4,7 @@
4
4
 
5
5
  @import './align.css';
6
6
  @import './break.css';
7
+ @import './size.css';
7
8
  @import './style.css';
8
9
  @import './transform.css';
9
10
  @import './weight.css';
@@ -0,0 +1,97 @@
1
+ /* =========================================================================== *\
2
+ Font size utilities
3
+ \* =========================================================================== */
4
+
5
+ @media (--m-2xl) {
6
+ .font-size-000-2xl {
7
+ font-size: var(--font-size-000);
8
+ }
9
+
10
+ .font-size-00-2xl {
11
+ font-size: var(--font-size-00);
12
+ }
13
+
14
+ .font-size-0-2xl {
15
+ font-size: var(--font-size-0);
16
+ }
17
+
18
+ .font-size-1-2xl {
19
+ font-size: var(--font-size-1);
20
+ }
21
+
22
+ .font-size-2-2xl {
23
+ font-size: var(--font-size-2);
24
+ }
25
+
26
+ .font-size-3-2xl {
27
+ font-size: var(--font-size-3);
28
+ }
29
+
30
+ .font-size-4-2xl {
31
+ font-size: var(--font-size-4);
32
+ }
33
+
34
+ .font-size-5-2xl {
35
+ font-size: var(--font-size-5);
36
+ }
37
+
38
+ .font-size-6-2xl {
39
+ font-size: var(--font-size-6);
40
+ }
41
+
42
+ .font-size-7-2xl {
43
+ font-size: var(--font-size-7);
44
+ }
45
+
46
+ .font-size-8-2xl {
47
+ font-size: var(--font-size-8);
48
+ }
49
+
50
+ .font-size-9-2xl {
51
+ font-size: var(--font-size-9);
52
+ }
53
+
54
+ .font-size-10-2xl {
55
+ font-size: var(--font-size-10);
56
+ }
57
+
58
+ .font-size-11-2xl {
59
+ font-size: var(--font-size-11);
60
+ }
61
+
62
+ .font-size-12-2xl {
63
+ font-size: var(--font-size-12);
64
+ }
65
+
66
+ .font-size-13-2xl {
67
+ font-size: var(--font-size-13);
68
+ }
69
+
70
+ .font-size-14-2xl {
71
+ font-size: var(--font-size-14);
72
+ }
73
+
74
+ .font-size-15-2xl {
75
+ font-size: var(--font-size-15);
76
+ }
77
+
78
+ .font-size-16-2xl {
79
+ font-size: var(--font-size-16);
80
+ }
81
+
82
+ .font-size-17-2xl {
83
+ font-size: var(--font-size-17);
84
+ }
85
+
86
+ .font-size-18-2xl {
87
+ font-size: var(--font-size-18);
88
+ }
89
+
90
+ .font-size-19-2xl {
91
+ font-size: var(--font-size-19);
92
+ }
93
+
94
+ .font-size-20-2xl {
95
+ font-size: var(--font-size-20);
96
+ }
97
+ }
@@ -4,6 +4,7 @@
4
4
 
5
5
  @import './align.css';
6
6
  @import './break.css';
7
+ @import './size.css';
7
8
  @import './style.css';
8
9
  @import './transform.css';
9
10
  @import './weight.css';
@@ -0,0 +1,97 @@
1
+ /* =========================================================================== *\
2
+ Font size utilities
3
+ \* =========================================================================== */
4
+
5
+ @media (--m-2xs) {
6
+ .font-size-000-2xs {
7
+ font-size: var(--font-size-000);
8
+ }
9
+
10
+ .font-size-00-2xs {
11
+ font-size: var(--font-size-00);
12
+ }
13
+
14
+ .font-size-0-2xs {
15
+ font-size: var(--font-size-0);
16
+ }
17
+
18
+ .font-size-1-2xs {
19
+ font-size: var(--font-size-1);
20
+ }
21
+
22
+ .font-size-2-2xs {
23
+ font-size: var(--font-size-2);
24
+ }
25
+
26
+ .font-size-3-2xs {
27
+ font-size: var(--font-size-3);
28
+ }
29
+
30
+ .font-size-4-2xs {
31
+ font-size: var(--font-size-4);
32
+ }
33
+
34
+ .font-size-5-2xs {
35
+ font-size: var(--font-size-5);
36
+ }
37
+
38
+ .font-size-6-2xs {
39
+ font-size: var(--font-size-6);
40
+ }
41
+
42
+ .font-size-7-2xs {
43
+ font-size: var(--font-size-7);
44
+ }
45
+
46
+ .font-size-8-2xs {
47
+ font-size: var(--font-size-8);
48
+ }
49
+
50
+ .font-size-9-2xs {
51
+ font-size: var(--font-size-9);
52
+ }
53
+
54
+ .font-size-10-2xs {
55
+ font-size: var(--font-size-10);
56
+ }
57
+
58
+ .font-size-11-2xs {
59
+ font-size: var(--font-size-11);
60
+ }
61
+
62
+ .font-size-12-2xs {
63
+ font-size: var(--font-size-12);
64
+ }
65
+
66
+ .font-size-13-2xs {
67
+ font-size: var(--font-size-13);
68
+ }
69
+
70
+ .font-size-14-2xs {
71
+ font-size: var(--font-size-14);
72
+ }
73
+
74
+ .font-size-15-2xs {
75
+ font-size: var(--font-size-15);
76
+ }
77
+
78
+ .font-size-16-2xs {
79
+ font-size: var(--font-size-16);
80
+ }
81
+
82
+ .font-size-17-2xs {
83
+ font-size: var(--font-size-17);
84
+ }
85
+
86
+ .font-size-18-2xs {
87
+ font-size: var(--font-size-18);
88
+ }
89
+
90
+ .font-size-19-2xs {
91
+ font-size: var(--font-size-19);
92
+ }
93
+
94
+ .font-size-20-2xs {
95
+ font-size: var(--font-size-20);
96
+ }
97
+ }
@@ -4,6 +4,7 @@
4
4
 
5
5
  @import './align.css';
6
6
  @import './break.css';
7
+ @import './size.css';
7
8
  @import './style.css';
8
9
  @import './transform.css';
9
10
  @import './weight.css';