fulldev-ui 0.3.0-beta.3 → 0.3.3

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 (91) hide show
  1. package/.astro/settings.json +1 -1
  2. package/package.json +10 -5
  3. package/src/components/_Block.astro +0 -5
  4. package/src/components/_Component.astro +10 -8
  5. package/src/components/_archive/Body.astro +2 -2
  6. package/src/components/_archive/Nav.astro +12 -0
  7. package/src/components/_todo/Form.astro +1 -1
  8. package/src/components/_todo/Prose.astro +7 -7
  9. package/src/components/base/Badge.astro +20 -16
  10. package/src/components/base/Button.astro +21 -34
  11. package/src/components/base/Icon.astro +7 -7
  12. package/src/components/base/Image.astro +116 -42
  13. package/src/components/base/Logo.astro +2 -3
  14. package/src/components/base/Rating.astro +30 -29
  15. package/src/components/base/checkbox/Checkbox.astro +52 -0
  16. package/src/components/base/checkbox/CheckboxElement.astro +31 -0
  17. package/src/components/base/input/Input.astro +79 -0
  18. package/src/components/base/input/InputElement.astro +60 -0
  19. package/src/components/base/radio/Radio.astro +66 -0
  20. package/src/components/base/radio/RadioElement.astro +34 -0
  21. package/src/components/base/select/Select.astro +90 -0
  22. package/src/components/base/select/SelectElement.astro +56 -0
  23. package/src/components/base/select/SelectOption.astro +32 -0
  24. package/src/components/base/switch/Switch.astro +55 -0
  25. package/src/components/base/{Switch.astro → switch/SwitchElement.astro} +15 -13
  26. package/src/components/base/table/Table.astro +55 -0
  27. package/src/components/base/table/TableBody.astro +39 -0
  28. package/src/components/base/table/TableCell.astro +30 -0
  29. package/src/components/base/table/TableFooter.astro +48 -0
  30. package/src/components/base/table/TableHead.astro +31 -0
  31. package/src/components/base/table/TableHeader.astro +44 -0
  32. package/src/components/base/table/TableRow.astro +46 -0
  33. package/src/components/base/textarea/Textarea.astro +79 -0
  34. package/src/components/base/textarea/TextareaElement.astro +61 -0
  35. package/src/components/segment/Card.astro +42 -19
  36. package/src/components/segment/Footer.astro +88 -0
  37. package/src/components/segment/Header.astro +48 -19
  38. package/src/components/segment/Section.astro +66 -32
  39. package/src/components/segment/_regels.md +32 -0
  40. package/src/components/structure/Bento.astro +38 -0
  41. package/src/components/structure/Box.astro +30 -0
  42. package/src/components/structure/Carousel.astro +55 -0
  43. package/src/components/structure/Column.astro +46 -0
  44. package/src/components/structure/Grid.astro +33 -0
  45. package/src/components/structure/Masonry.astro +42 -0
  46. package/src/components/structure/Row.astro +44 -0
  47. package/src/components/structure/Split.astro +54 -0
  48. package/src/components/structure/Spread.astro +45 -0
  49. package/src/components/structure/Wrap.astro +44 -0
  50. package/src/components/typography/Heading.astro +37 -28
  51. package/src/components/typography/Label.astro +4 -8
  52. package/src/components/typography/Link.astro +40 -12
  53. package/src/components/typography/List.astro +12 -13
  54. package/src/components/typography/ListItem.astro +11 -10
  55. package/src/components/typography/Paragraph.astro +4 -9
  56. package/src/components/typography/Tagline.astro +11 -10
  57. package/src/components/typography/Text.astro +5 -9
  58. package/src/content/config.ts +1 -1
  59. package/src/css/color.scss +289 -0
  60. package/src/css/size.scss +293 -0
  61. package/src/css/space.scss +94 -0
  62. package/src/css/styles.css +1 -2
  63. package/src/index.ts +30 -12
  64. package/src/integration/tailwind.ts +34 -0
  65. package/src/integration/unocss.ts +38 -0
  66. package/src/schemas/schemas.ts +45 -0
  67. package/src/components/_archive/Row.astro +0 -26
  68. package/src/components/_todo/Footer.astro +0 -66
  69. package/src/components/_todo/todo.md +0 -10
  70. package/src/components/base/Checkbox.astro +0 -41
  71. package/src/components/base/Input.astro +0 -59
  72. package/src/components/base/Radio.astro +0 -39
  73. package/src/components/base/Select.astro +0 -69
  74. package/src/components/base/SelectOption.astro +0 -27
  75. package/src/components/base/Textarea.astro +0 -34
  76. package/src/components/base/todo.md +0 -7
  77. package/src/components/segment/Box.astro +0 -41
  78. package/src/components/segment/Deck.astro +0 -40
  79. package/src/components/segment/Group.astro +0 -29
  80. package/src/components/typography/todo.md +0 -3
  81. package/src/css/color.css +0 -88
  82. package/src/css/props/align.scss +0 -20
  83. package/src/css/props/frame.scss +0 -153
  84. package/src/css/props/mask +0 -1
  85. package/src/css/props/position.scss +0 -33
  86. package/src/css/props/ratio +0 -1
  87. package/src/css/props/structure.scss +0 -228
  88. package/src/css/props/variant.scss +0 -130
  89. package/src/css/radix.css +0 -281
  90. package/src/css/size.css +0 -334
  91. /package/src/schemas/{collection.ts → collection-old-schemas.ts} +0 -0
@@ -0,0 +1,289 @@
1
+ :root,
2
+ .theme-light,
3
+ [data-theme='light'] {
4
+ --brand-1: #fbf9f8;
5
+ --brand-2: #fff1ec;
6
+ --brand-3: #ffe6db;
7
+ --brand-4: #ffd3c2;
8
+ --brand-5: #ffc4ad;
9
+ --brand-6: #ffb397;
10
+ --brand-7: #ff9e7e;
11
+ --brand-8: #f5845f;
12
+ --brand-9: #f50;
13
+ --brand-10: #ed4d00;
14
+ --brand-11: #ca4900;
15
+ --brand-12: #5b2a1a;
16
+ --brand-contrast: #fff;
17
+
18
+ --base-1: #f9f9fa;
19
+ --base-2: #f5f6f8;
20
+ --base-3: #ececf0;
21
+ --base-4: #e3e4e9;
22
+ --base-5: #dcdde2;
23
+ --base-6: #d4d5dc;
24
+ --base-7: #c8cad2;
25
+ --base-8: #b5b7c2;
26
+ --base-9: #878994;
27
+ --base-10: #7c7e89;
28
+ --base-11: #5e6068;
29
+ --base-12: #1e1f24;
30
+ --base-contrast: #ffffff;
31
+
32
+ color-scheme: light;
33
+ }
34
+
35
+ .theme-dark,
36
+ [data-theme='dark'] {
37
+ --brand-1: #160f0d;
38
+ --brand-2: #201511;
39
+ --brand-3: #38190f;
40
+ --brand-4: #4f1602;
41
+ --brand-5: #5e1e07;
42
+ --brand-6: #6f2c15;
43
+ --brand-7: #873c23;
44
+ --brand-8: #ae4d2c;
45
+ --brand-9: #f50;
46
+ --brand-10: #ed4d00;
47
+ --brand-11: #ff976f;
48
+ --brand-12: #ffd8c9;
49
+ --brand-contrast: #fff;
50
+
51
+ --base-1: #101113;
52
+ --base-2: #18191b;
53
+ --base-3: #212225;
54
+ --base-4: #282a2d;
55
+ --base-5: #2e3135;
56
+ --base-6: #373a3f;
57
+ --base-7: #44474e;
58
+ --base-8: #5c616a;
59
+ --base-9: #696e77;
60
+ --base-10: #777b84;
61
+ --base-11: #b0b4ba;
62
+ --base-12: #edeef0;
63
+ --base-contrast: #ffffff;
64
+
65
+ color-scheme: dark;
66
+ }
67
+
68
+ /* --------------------------- */
69
+ /* Generate colors */
70
+ /* --------------------------- */
71
+
72
+ @mixin selector($selector,
73
+ $selectors: $selector) {
74
+ #{$selectors},
75
+ #{$selector},
76
+ #{$selector}
77
+ :is(
78
+ [class*='theme-'],
79
+ [class*='color-'],
80
+ [class*='variant-'],
81
+ .contrast
82
+ ):not(
83
+ #{$selector}
84
+ [class*='color-']
85
+ :is([class*='theme-'], [class*='variant-'], .contrast)
86
+ )
87
+ :not(
88
+ #{$selector}
89
+ [class*='color-']:is([class*='theme-'], [class*='variant-'], .contrast)
90
+ ) {
91
+ @content;
92
+ }
93
+ }
94
+
95
+ :where(:root),
96
+ :where(.theme-light),
97
+ :where(.theme-dark),
98
+ .color-base,
99
+ .color-base
100
+ .full:not(.color-base [class*='color-']):not(
101
+ .color-base [class*='color-'] .full
102
+ ) {
103
+ --color-1: var(--base-1);
104
+ --color-2: var(--base-2);
105
+ --color-3: var(--base-3);
106
+ --color-4: var(--base-4);
107
+ --color-5: var(--base-5);
108
+ --color-6: var(--base-6);
109
+ --color-7: var(--base-7);
110
+ --color-8: var(--base-8);
111
+ --color-9: var(--base-9);
112
+ --color-10: var(--base-10);
113
+ --color-11: var(--base-11);
114
+ --color-12: var(--base-12);
115
+ --color-contrast: var(--base-contrast);
116
+ }
117
+
118
+ .color-brand,
119
+ .color-brand
120
+ .full:not(.color-brand [class*='color-']):not(
121
+ .color-brand [class*='color-'] .full
122
+ ) {
123
+ --color-1: var(--brand-1);
124
+ --color-2: var(--brand-2);
125
+ --color-3: var(--brand-3);
126
+ --color-4: var(--brand-4);
127
+ --color-5: var(--brand-5);
128
+ --color-6: var(--brand-6);
129
+ --color-7: var(--brand-7);
130
+ --color-8: var(--brand-8);
131
+ --color-9: var(--brand-9);
132
+ --color-10: var(--brand-10);
133
+ --color-11: var(--brand-11);
134
+ --color-12: var(--brand-12);
135
+ --color-contrast: var(--brand-contrast);
136
+ }
137
+
138
+ * {
139
+ --background: var(--color-1);
140
+ --border: var(--color-6);
141
+ --text: var(--color-11);
142
+
143
+ &:where(.contrast &, .contrast) {
144
+ --text: var(--color-12);
145
+ }
146
+ }
147
+
148
+ .variant-solid,
149
+ .variant-solid
150
+ .full:not(.variant-solid [class*='variant-']):not(
151
+ .variant-solid [class*='variant-'] .full
152
+ ) {
153
+ --background: var(--color-9);
154
+ --border: transparent;
155
+ --text: var(--color-contrast);
156
+
157
+ &:is(.contrast &, .contrast) {
158
+ --text: var(--color-1);
159
+ --background: var(--color-12);
160
+ }
161
+
162
+ &:is(a, button, [href]) {
163
+ &:hover {
164
+ --background: var(--color-10);
165
+
166
+ &:is(.contrast &, .contrast) {
167
+ --background: var(--color-12);
168
+ }
169
+ }
170
+ }
171
+ }
172
+
173
+ .variant-surface,
174
+ .variant-surface
175
+ .full:not(.variant-surface [class*='variant-']):not(
176
+ .variant-surface [class*='variant-'] .full
177
+ ) {
178
+ --background: var(--color-3);
179
+ --border: var(--color-7);
180
+ --text: var(--color-11);
181
+
182
+ &:is(.contrast &, .contrast) {
183
+ --text: var(--color-12);
184
+ }
185
+
186
+ &:is(a, button, [href]) {
187
+ &:hover {
188
+ --background: var(--color-4);
189
+ --border: var(--color-8);
190
+ }
191
+
192
+ &:active {
193
+ --background: var(--color-5);
194
+ }
195
+ }
196
+ }
197
+
198
+ .variant-soft,
199
+ .variant-soft
200
+ .full:not(.variant-soft [class*='variant-']):not(
201
+ .variant-soft [class*='variant-'] .full
202
+ ) {
203
+ --background: var(--color-3);
204
+ --border: transparent;
205
+ --text: var(--color-11);
206
+
207
+ &:is(.contrast &, .contrast) {
208
+ --text: var(--color-12);
209
+ }
210
+
211
+ &:is(a, button, [href]) {
212
+ &:hover {
213
+ --background: var(--color-4);
214
+ }
215
+
216
+ &:active {
217
+ --background: var(--color-5);
218
+ }
219
+ }
220
+ }
221
+
222
+ .variant-outline,
223
+ .variant-outline
224
+ .full:not(.variant-outline [class*='variant-']):not(
225
+ .variant-outline [class*='variant-'] .full
226
+ ) {
227
+ --background: transparent;
228
+ --border: var(--color-7);
229
+ --text: var(--color-11);
230
+
231
+ &:is(.contrast &, .contrast) {
232
+ --text: var(--color-12);
233
+ }
234
+
235
+ &:is(a, button, [href]) {
236
+ &:hover {
237
+ --background: var(--color-3);
238
+ --border: var(--color-8);
239
+ }
240
+
241
+ &:active {
242
+ --background: var(--color-5);
243
+ }
244
+ }
245
+ }
246
+
247
+ .variant-ghost,
248
+ .variant-ghost
249
+ .full:not(.variant-ghost [class*='variant-']):not(
250
+ .variant-ghost [class*='variant-'] .full
251
+ ) {
252
+ --background: transparent;
253
+ --border: transparent;
254
+ --text: var(--color-11);
255
+
256
+ &:is(.contrast &, .contrast) {
257
+ --text: var(--color-12);
258
+ }
259
+
260
+ &:is(a, button, [href]) {
261
+ &:hover {
262
+ --background: var(--color-3);
263
+ }
264
+
265
+ &:active {
266
+ --background: var(--color-4);
267
+ }
268
+ }
269
+ }
270
+
271
+ .variant-subtle,
272
+ .variant-subtle
273
+ .full:not(.variant-subtle [class*='variant-']):not(
274
+ .variant-subtle [class*='variant-'] .full
275
+ ) {
276
+ --background: var(--color-2);
277
+ --border: var(--color-6);
278
+ --text: var(--color-11);
279
+
280
+ &:is(.contrast &, .contrast) {
281
+ --text: var(--color-12);
282
+ }
283
+
284
+ &:is(a, button, [href]) {
285
+ &:hover {
286
+ --border: var(--color-8);
287
+ }
288
+ }
289
+ }
@@ -0,0 +1,293 @@
1
+ :root {
2
+ --space-sm-1: 3px;
3
+ --space-sm-2: 6px;
4
+ --space-sm-3: 9px;
5
+ --space-sm-4: 12px;
6
+ --space-sm-5: 24px;
7
+ --space-sm-6: 48px;
8
+ --space-sm-7: 72px;
9
+
10
+ --space-md-1: 4px;
11
+ --space-md-2: 8px;
12
+ --space-md-3: 12px;
13
+ --space-md-4: 16px;
14
+ --space-md-5: 32px;
15
+ --space-md-6: 64px;
16
+ --space-md-7: 96px;
17
+
18
+ --space-lg-1: 5px;
19
+ --space-lg-2: 10px;
20
+ --space-lg-3: 15px;
21
+ --space-lg-4: 20px;
22
+ --space-lg-5: 40px;
23
+ --space-lg-6: 80px;
24
+ --space-lg-7: 120px;
25
+
26
+ --text-xs-1: 12px;
27
+ --text-xs-2: 12px;
28
+ --text-xs-3: 12px;
29
+ --text-xs-4: 14px;
30
+ --text-xs-5: 16px;
31
+ --text-xs-6: 18px;
32
+ --text-xs-7: 20px;
33
+
34
+ --text-sm-1: 12px;
35
+ --text-sm-2: 14px;
36
+ --text-sm-3: 14px;
37
+ --text-sm-4: 16px;
38
+ --text-sm-5: 18px;
39
+ --text-sm-6: 20px;
40
+ --text-sm-7: 24px;
41
+
42
+ --text-md-1: 14px;
43
+ --text-md-2: 16px;
44
+ --text-md-3: 16px;
45
+ --text-md-4: 18px;
46
+ --text-md-5: 20px;
47
+ --text-md-6: 24px;
48
+ --text-md-7: 30px;
49
+
50
+ --text-lg-1: 16px;
51
+ --text-lg-2: 18px;
52
+ --text-lg-3: 18px;
53
+ --text-lg-4: 20px;
54
+ --text-lg-5: 24px;
55
+ --text-lg-6: 30px;
56
+ --text-lg-7: 36px;
57
+
58
+ --text-xl-1: 16px;
59
+ --text-xl-2: 18px;
60
+ --text-xl-3: 20px;
61
+ --text-xl-4: 24px;
62
+ --text-xl-5: 30px;
63
+ --text-xl-6: 36px;
64
+ --text-xl-7: 48px;
65
+
66
+ @media (min-width: 768px) {
67
+ --text-xs-3: 14px;
68
+ --text-xs-4: 16px;
69
+ --text-xs-5: 18px;
70
+ --text-xs-6: 20px;
71
+ --text-xs-7: 24px;
72
+
73
+ --text-sm-3: 16px;
74
+ --text-sm-4: 18px;
75
+ --text-sm-5: 20px;
76
+ --text-sm-6: 24px;
77
+ --text-sm-7: 30px;
78
+
79
+ --text-md-3: 18px;
80
+ --text-md-4: 20px;
81
+ --text-md-5: 24px;
82
+ --text-md-6: 30px;
83
+ --text-md-7: 36px;
84
+
85
+ --text-lg-3: 20px;
86
+ --text-lg-4: 24px;
87
+ --text-lg-5: 30px;
88
+ --text-lg-6: 36px;
89
+ --text-lg-7: 48px;
90
+
91
+ --text-xl-2: 20px;
92
+ --text-xl-3: 24px;
93
+ --text-xl-4: 30px;
94
+ --text-xl-5: 36px;
95
+ --text-xl-6: 48px;
96
+ --text-xl-7: 60px;
97
+ }
98
+ }
99
+
100
+ .compact {
101
+ --space-sm-1: 3px;
102
+ --space-sm-2: 6px;
103
+ --space-sm-3: 7.5px;
104
+ --space-sm-4: 9px;
105
+ --space-sm-5: 12px;
106
+ --space-sm-6: 15px;
107
+ --space-sm-7: 18px;
108
+
109
+ --space-md-1: 4px;
110
+ --space-md-2: 8px;
111
+ --space-md-3: 10px;
112
+ --space-md-4: 12px;
113
+ --space-md-5: 16px;
114
+ --space-md-6: 20px;
115
+ --space-md-7: 24px;
116
+
117
+ --space-lg-1: 5px;
118
+ --space-lg-2: 10px;
119
+ --space-lg-3: 12.5px;
120
+ --space-lg-4: 15px;
121
+ --space-lg-5: 20px;
122
+ --space-lg-6: 25px;
123
+ --space-lg-7: 30px;
124
+
125
+ --text-xs-1: 12px;
126
+ --text-xs-2: 12px;
127
+ --text-xs-3: 12px;
128
+ --text-xs-4: 14px;
129
+ --text-xs-5: 16px;
130
+ --text-xs-6: 18px;
131
+ --text-xs-7: 20px;
132
+
133
+ --text-sm-1: 12px;
134
+ --text-sm-2: 14px;
135
+ --text-sm-3: 14px;
136
+ --text-sm-4: 16px;
137
+ --text-sm-5: 18px;
138
+ --text-sm-6: 20px;
139
+ --text-sm-7: 24px;
140
+
141
+ --text-md-1: 14px;
142
+ --text-md-2: 16px;
143
+ --text-md-3: 16px;
144
+ --text-md-4: 18px;
145
+ --text-md-5: 20px;
146
+ --text-md-6: 24px;
147
+ --text-md-7: 30px;
148
+
149
+ --text-lg-1: 16px;
150
+ --text-lg-2: 18px;
151
+ --text-lg-3: 18px;
152
+ --text-lg-4: 20px;
153
+ --text-lg-5: 24px;
154
+ --text-lg-6: 30px;
155
+ --text-lg-7: 30px;
156
+
157
+ --text-xl-1: 16px;
158
+ --text-xl-2: 18px;
159
+ --text-xl-3: 20px;
160
+ --text-xl-4: 24px;
161
+ --text-xl-5: 30px;
162
+ --text-xl-6: 30px;
163
+ --text-xl-7: 30px;
164
+ }
165
+
166
+ /* --------------------------- */
167
+ /* Generate sizes */
168
+ /* --------------------------- */
169
+
170
+ @mixin selector($selector,
171
+ $selectors: $selector) {
172
+ #{$selectors},
173
+ #{$selector},
174
+ #{$selector}
175
+ .compact:not(#{$selector} [class*='size-'] .compact):not(
176
+ #{$selector} [class*='size-'].compact
177
+ ) {
178
+ @content;
179
+ }
180
+ }
181
+
182
+ @include selector('.size-xs') {
183
+ --space-1: var(--space-sm-1);
184
+ --space-2: var(--space-sm-2);
185
+ --space-3: var(--space-sm-3);
186
+ --space-4: var(--space-sm-4);
187
+ --space-5: var(--space-sm-5);
188
+ --space-6: var(--space-sm-6);
189
+ --space-7: var(--space-sm-7);
190
+
191
+ --radius-1: calc(var(--border-radius, 1) * var(--space-sm-1));
192
+ --radius-2: calc(var(--border-radius, 1) * var(--space-sm-2));
193
+ --radius-3: calc(var(--border-radius, 1) * var(--space-sm-3));
194
+
195
+ --text-1: var(--text-xs-1);
196
+ --text-2: var(--text-xs-2);
197
+ --text-3: var(--text-xs-3);
198
+ --text-4: var(--text-xs-4);
199
+ --text-5: var(--text-xs-5);
200
+ --text-6: var(--text-xs-6);
201
+ --text-7: var(--text-xs-7);
202
+ }
203
+
204
+ @include selector('.size-sm') {
205
+ --space-1: var(--space-sm-1);
206
+ --space-2: var(--space-sm-2);
207
+ --space-3: var(--space-sm-3);
208
+ --space-4: var(--space-sm-4);
209
+ --space-5: var(--space-sm-5);
210
+ --space-6: var(--space-sm-6);
211
+ --space-7: var(--space-sm-7);
212
+
213
+ --radius-1: calc(var(--border-radius, 1) * var(--space-sm-1));
214
+ --radius-2: calc(var(--border-radius, 1) * var(--space-sm-2));
215
+ --radius-3: calc(var(--border-radius, 1) * var(--space-sm-3));
216
+
217
+ --text-1: var(--text-sm-1);
218
+ --text-2: var(--text-sm-2);
219
+ --text-3: var(--text-sm-3);
220
+ --text-4: var(--text-sm-4);
221
+ --text-5: var(--text-sm-5);
222
+ --text-6: var(--text-sm-6);
223
+ --text-7: var(--text-sm-7);
224
+ }
225
+
226
+ @include selector(
227
+ '.size-md',
228
+ ':where(:root), :where(.compact)'
229
+ ) {
230
+ --space-1: var(--space-md-1);
231
+ --space-2: var(--space-md-2);
232
+ --space-3: var(--space-md-3);
233
+ --space-4: var(--space-md-4);
234
+ --space-5: var(--space-md-5);
235
+ --space-6: var(--space-md-6);
236
+ --space-7: var(--space-md-7);
237
+
238
+ --radius-1: calc(var(--border-radius, 1) * var(--space-md-1));
239
+ --radius-2: calc(var(--border-radius, 1) * var(--space-md-2));
240
+ --radius-3: calc(var(--border-radius, 1) * var(--space-md-3));
241
+
242
+ --text-1: var(--text-md-1);
243
+ --text-2: var(--text-md-2);
244
+ --text-3: var(--text-md-3);
245
+ --text-4: var(--text-md-4);
246
+ --text-5: var(--text-md-5);
247
+ --text-6: var(--text-md-6);
248
+ --text-7: var(--text-md-7);
249
+ }
250
+
251
+ @include selector('.size-lg') {
252
+ --space-1: var(--space-lg-1);
253
+ --space-2: var(--space-lg-2);
254
+ --space-3: var(--space-lg-3);
255
+ --space-4: var(--space-lg-4);
256
+ --space-5: var(--space-lg-5);
257
+ --space-6: var(--space-lg-6);
258
+ --space-7: var(--space-lg-7);
259
+
260
+ --radius-1: calc(var(--border-radius, 1) * var(--space-lg-1));
261
+ --radius-2: calc(var(--border-radius, 1) * var(--space-lg-2));
262
+ --radius-3: calc(var(--border-radius, 1) * var(--space-lg-3));
263
+
264
+ --text-1: var(--text-lg-1);
265
+ --text-2: var(--text-lg-2);
266
+ --text-3: var(--text-lg-3);
267
+ --text-4: var(--text-lg-4);
268
+ --text-5: var(--text-lg-5);
269
+ --text-6: var(--text-lg-6);
270
+ --text-7: var(--text-lg-7);
271
+ }
272
+
273
+ @include selector('.size-xl') {
274
+ --space-1: var(--space-lg-1);
275
+ --space-2: var(--space-lg-2);
276
+ --space-3: var(--space-lg-3);
277
+ --space-4: var(--space-lg-4);
278
+ --space-5: var(--space-lg-5);
279
+ --space-6: var(--space-lg-6);
280
+ --space-7: var(--space-lg-7);
281
+
282
+ --radius-1: calc(var(--border-radius, 1) * var(--space-lg-1));
283
+ --radius-2: calc(var(--border-radius, 1) * var(--space-lg-2));
284
+ --radius-3: calc(var(--border-radius, 1) * var(--space-lg-3));
285
+
286
+ --text-1: var(--text-xl-1);
287
+ --text-2: var(--text-xl-2);
288
+ --text-3: var(--text-xl-3);
289
+ --text-4: var(--text-xl-4);
290
+ --text-5: var(--text-xl-5);
291
+ --text-6: var(--text-xl-6);
292
+ --text-7: var(--text-xl-7);
293
+ }
@@ -0,0 +1,94 @@
1
+ @mixin space-x {
2
+ > {
3
+ .full + .full {
4
+ margin-left: var(--space-6);
5
+ }
6
+
7
+ .full + .group,
8
+ .full + .row,
9
+ .full + .wrap,
10
+ .full + .button,
11
+ .full + .switch {
12
+ margin-left: var(--space-5);
13
+ }
14
+
15
+ .full + .heading,
16
+ .full + .link,
17
+ .full + .list,
18
+ .full + .paragraph,
19
+ .full + .text,
20
+ .full + .tagline,
21
+ .full + .input,
22
+ .full + .badge,
23
+ .full + .rating {
24
+ margin-left: var(--space-4);
25
+ }
26
+
27
+ .paragraph + .paragraph,
28
+ .text + .text,
29
+ .button + .button,
30
+ .input + .button {
31
+ margin-left: var(--space-3);
32
+ }
33
+
34
+ .full + .label,
35
+ .label + .full {
36
+ margin-left: var(--space-2);
37
+ }
38
+
39
+ .image + .full,
40
+ .icon + .full {
41
+ margin-left: var(--space-6);
42
+ }
43
+ }
44
+ }
45
+
46
+ @mixin space-y {
47
+ > {
48
+ .full + .full {
49
+ margin-top: var(--space-6);
50
+ }
51
+
52
+ .full + .group,
53
+ .full + .row,
54
+ .full + .wrap,
55
+ .full + .button,
56
+ .full + .switch {
57
+ margin-top: var(--space-5);
58
+ }
59
+
60
+ .full + .heading,
61
+ .full + .label,
62
+ .full + .link,
63
+ .full + .list,
64
+ .full + .paragraph,
65
+ .full + .text,
66
+ .full + .tagline,
67
+ .full + .input,
68
+ .full + .textarea,
69
+ .full + .select,
70
+ .full + .badge,
71
+ .full + .rating {
72
+ margin-top: var(--space-4);
73
+ }
74
+
75
+ .paragraph + .paragraph,
76
+ .text + .text,
77
+ .button:not(.variant-link) + .button:not(.variant-link),
78
+ .input + .button {
79
+ margin-top: var(--space-3);
80
+ }
81
+
82
+ .label + .input,
83
+ .variant-link + .variant-link,
84
+ .label + .textarea,
85
+ .label + .select {
86
+ margin-top: var(--space-2);
87
+ }
88
+
89
+ .image + .full,
90
+ .icon + .full {
91
+ margin-top: var(--space-6);
92
+ }
93
+ }
94
+ }
@@ -1,9 +1,8 @@
1
1
  :root,
2
2
  .full {
3
3
  --transition: cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
4
- --border-width: 1px;
5
4
 
6
- --font-family: 'IBM Plex Sans', sans-serif;
5
+ --font-family: 'Raleway', sans-serif;
7
6
  --font-weight: 400;
8
7
 
9
8
  --text-heading-font-family: var(--font-family);