@birdycom/omniacss 0.0.0-stage → 0.11.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 (106) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +43 -2
  3. package/dist/oc-colors.css +4429 -0
  4. package/dist/oc-theme.css +69 -0
  5. package/dist/omnia.css +465435 -0
  6. package/dist/omnia.min.css +2 -0
  7. package/dist/omnia.starter.css +13459 -0
  8. package/dist/omnia.starter.min.css +1 -0
  9. package/dist/tokens/omnia.dtcg.json +1496 -0
  10. package/dist/tokens/omnia.tokens.json +580 -0
  11. package/dist/tokens/omnia_tokens.py +189 -0
  12. package/package.json +61 -4
  13. package/scss/base/_reset.scss +88 -0
  14. package/scss/config/omniacss.config.scss +114 -0
  15. package/scss/config/omniacss.fonts.scss +34 -0
  16. package/scss/functions/_functions.scss +407 -0
  17. package/scss/json/html-colors.json +1998 -0
  18. package/scss/json/omnia-colors.json +500 -0
  19. package/scss/json/ral-colors.json +3430 -0
  20. package/scss/layout/_media_query.scss +18 -0
  21. package/scss/omnia_colors.scss +7 -0
  22. package/scss/omnia_main.scss +143 -0
  23. package/scss/profiles/omnia_main.hsl.scss +12 -0
  24. package/scss/profiles/omnia_main.oklab.scss +12 -0
  25. package/scss/profiles/omnia_main.oklch.scss +12 -0
  26. package/scss/utilities/_accessibility.scss +42 -0
  27. package/scss/utilities/_alignment.scss +861 -0
  28. package/scss/utilities/_anchor_positioning.scss +65 -0
  29. package/scss/utilities/_animation_properties.scss +143 -0
  30. package/scss/utilities/_aspect.scss +73 -0
  31. package/scss/utilities/_backgrounds.scss +49 -0
  32. package/scss/utilities/_borders_extended.scss +97 -0
  33. package/scss/utilities/_borders_outlines.scss +161 -0
  34. package/scss/utilities/_clamp.scss +111 -0
  35. package/scss/utilities/_colors_html.scss +341 -0
  36. package/scss/utilities/_colors_mix.scss +84 -0
  37. package/scss/utilities/_colors_omnia.scss +315 -0
  38. package/scss/utilities/_colors_ral.scss +151 -0
  39. package/scss/utilities/_colors_tokens.scss +87 -0
  40. package/scss/utilities/_container.scss +58 -0
  41. package/scss/utilities/_containment.scss +82 -0
  42. package/scss/utilities/_corner_shape.scss +30 -0
  43. package/scss/utilities/_css_functions.scss +34 -0
  44. package/scss/utilities/_dark_mode.scss +117 -0
  45. package/scss/utilities/_display.scss +58 -0
  46. package/scss/utilities/_drop_shadow_colors.scss +26 -0
  47. package/scss/utilities/_effects.scss +50 -0
  48. package/scss/utilities/_effects_advanced.scss +102 -0
  49. package/scss/utilities/_experimental_css.scss +149 -0
  50. package/scss/utilities/_filters.scss +89 -0
  51. package/scss/utilities/_flexbox.scss +318 -0
  52. package/scss/utilities/_font_variants.scss +139 -0
  53. package/scss/utilities/_fonts.scss +276 -0
  54. package/scss/utilities/_gap.scss +104 -0
  55. package/scss/utilities/_gradient_stops.scss +48 -0
  56. package/scss/utilities/_gradients.scss +99 -0
  57. package/scss/utilities/_grid.scss +673 -0
  58. package/scss/utilities/_index.scss +22 -0
  59. package/scss/utilities/_interactivity.scss +198 -0
  60. package/scss/utilities/_layering.scss +24 -0
  61. package/scss/utilities/_layout_extras.scss +171 -0
  62. package/scss/utilities/_layout_flow.scss +210 -0
  63. package/scss/utilities/_mask_extras.scss +62 -0
  64. package/scss/utilities/_motion_transforms.scss +167 -0
  65. package/scss/utilities/_overflow.scss +41 -0
  66. package/scss/utilities/_position.scss +49 -0
  67. package/scss/utilities/_responsive.scss +272 -0
  68. package/scss/utilities/_scroll_animations.scss +80 -0
  69. package/scss/utilities/_scroll_spacing.scss +33 -0
  70. package/scss/utilities/_scrollbar.scss +49 -0
  71. package/scss/utilities/_shadow_tokens.scss +21 -0
  72. package/scss/utilities/_shapes.scss +72 -0
  73. package/scss/utilities/_sizing.scss +458 -0
  74. package/scss/utilities/_sizing_logical.scss +99 -0
  75. package/scss/utilities/_space_divide.scss +85 -0
  76. package/scss/utilities/_spacing_margin.scss +199 -0
  77. package/scss/utilities/_spacing_padding.scss +195 -0
  78. package/scss/utilities/_starting_style.scss +53 -0
  79. package/scss/utilities/_state_variants.scss +196 -0
  80. package/scss/utilities/_svg.scss +100 -0
  81. package/scss/utilities/_table.scss +46 -0
  82. package/scss/utilities/_table_advanced.scss +19 -0
  83. package/scss/utilities/_text.scss +1331 -0
  84. package/scss/utilities/_transforms_3d.scss +76 -0
  85. package/scss/utilities/_typography_advanced.scss +124 -0
  86. package/scss/utilities/_typography_modern.scss +83 -0
  87. package/scss/utilities/_view_transitions.scss +64 -0
  88. package/scss/utilities/_writing_modes.scss +72 -0
  89. package/scss/variables/_color_tone.scss +39 -0
  90. package/scss/variables/_hulp.scss +108 -0
  91. package/scss/variables/_mixins.scss +40 -0
  92. package/scss/variables/_modifiers.scss +32 -0
  93. package/scss/variables/_variables.scss +302 -0
  94. package/scss/variables/_variables_colors_html.scss +2019 -0
  95. package/scss/variables/_variables_colors_omnia.scss +465 -0
  96. package/scss/variables/_variables_colors_ral.scss +3472 -0
  97. package/scss/variables/_variables_effects.scss +109 -0
  98. package/scss/variables/_variables_flex_grid.scss +427 -0
  99. package/scss/variables/_variables_layout.scss +591 -0
  100. package/scss/variables/_variables_typography.scss +550 -0
  101. package/src/engine.mjs +258 -0
  102. package/src/postcss.mjs +43 -0
  103. package/src/starter-classes.mjs +124 -0
  104. package/src/tokens.mjs +377 -0
  105. package/src/variants.mjs +278 -0
  106. package/tokens/semantic.json +80 -0
@@ -0,0 +1,109 @@
1
+ // SCSS Document
2
+ // File: src/scss/variables/_variables_effects.scss
3
+ // Description: Default string items for using in the CSS properties
4
+ // Copyright: 2021-2023 Birdycom
5
+ // Autor: Serge Cools
6
+ // Version: 0.2.0
7
+ // Framework: OmniaCSS
8
+ // Variables and strings:
9
+
10
+ ///
11
+ /// Below you will find the list of all strings and arrays that we will use within our framework - file variables_effects.
12
+ /// @group variableseffects
13
+ ///
14
+
15
+ // Default Pseudo-classes
16
+ ///
17
+ /// The different variableseffects: none, underline, overline & line-through
18
+ /// @group variableseffects
19
+ ///
20
+ /// @name opacity
21
+ ///
22
+ /// @since 1.0.0
23
+ /// @author Serge Cools
24
+ ///
25
+ ///
26
+ $opacity: (
27
+ "opacity-0": (0), // 0
28
+ "opacity-5": (0.05), // 5%
29
+ "opacity-10": (0.1), // 10%
30
+ "opacity-20": (0.2), // 20%
31
+ "opacity-25": (0.25), // 25%
32
+ "opacity-30": (0.3), // 30%
33
+ "opacity-40": (0.4), // 40%
34
+ "opacity-50": (0.5), // 50%
35
+ "opacity-60": (0.6), // 60%
36
+ "opacity-70": (0.7), // 70%
37
+ "opacity-75": (0.75), // 75%
38
+ "opacity-80": (0.8), // 80%
39
+ "opacity-90": (0.9), // 90%
40
+ "opacity-100": (1),// 100%
41
+ );
42
+ // end default opacity
43
+
44
+ // Default OpacityColor
45
+ ///
46
+ /// The different variableseffects: color opacity
47
+ /// @group variableseffects
48
+ ///
49
+ /// @name opacitycolor
50
+ ///
51
+ /// @since 1.0.0
52
+ /// @author Serge Cools
53
+ ///
54
+ ///
55
+ $opacitycolor: (
56
+ "-2": (2), // 2%
57
+ "-10": (10), // 10%
58
+ "-20": (20), // 20%
59
+ "-30": (30), // 30%
60
+ "-40": (40), // 40%
61
+ "-50": (50), // 50%
62
+ "-60": (60), // 60%
63
+ "-70": (70), // 70%
64
+ "-80": (80), // 80%
65
+ "-90": (90), // 90%
66
+ "-95": (95), // 95%
67
+ "-100": (100),
68
+ );
69
+ // end default opacitycolor
70
+
71
+ /// Color-mix steps (percent of color, rest transparent). Used by _colors_mix.scss.
72
+ /// @name color-mix-steps
73
+ $color-mix-steps: (0, 5, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100);
74
+
75
+ // Default percent
76
+ ///
77
+ /// The different variableseffects:
78
+ /// @group variableseffects
79
+ ///
80
+ /// @name percent
81
+ ///
82
+ /// @since 1.0.0
83
+ /// @author Serge Cools
84
+ ///
85
+ ///
86
+ $percent: (
87
+ // "-5": (005), // 5%
88
+ "-10": (10%), // 10%
89
+ "-20": (20%), // 20%
90
+ "-30": (30%), // 30%
91
+ "-40": (40%), // 40%
92
+ "-50": (50%), // 50%
93
+ "-60": (60%), // 60%
94
+ "-70": (70%), // 70%
95
+ "-80": (80%), // 80%
96
+ "-90": (90%), // 90%
97
+ "-100": (100%), // 100%
98
+ "-n10": (-10%), // 10%
99
+ "-n20": (-20%), // 20%
100
+ "-n30": (-30%), // 30%
101
+ "-n40": (-40%), // 40%
102
+ "-n50": (-50%), // 50%
103
+ "-n60": (-60%), // 60%
104
+ "-n70": (-70%), // 70%
105
+ "-n80": (-80%), // 80%
106
+ "-n90": (-90%), // 90%
107
+ "-n100": (-100%), // 100%
108
+ );
109
+ // end default percent
@@ -0,0 +1,427 @@
1
+ // SCSS Document
2
+ // File: src/scss/variables/__variables_flex_grid.scss
3
+ // Description: Default string items for using in the CSS properties
4
+ // Copyright: 2021-2022 Birdycom
5
+ // Autor: Serge Cools
6
+ // Version: 0.2.0
7
+ // Framework: OmniaCSS
8
+ // Variables and strings:
9
+
10
+ // The Flex properties.
11
+ ///
12
+ /// The display flex property values.
13
+ /// @group variablesflexgrid
14
+ ///
15
+ /// @name displayflex
16
+ ///
17
+ /// @link src/scss/variables/_variables_flex_grid.scss
18
+ /// @since 1.0.0
19
+ /// @author Serge Cools
20
+ ///
21
+ $displayflex: flex, inline-flex;
22
+ // End Flex properties.
23
+
24
+ // The flex-direction property.
25
+ ///
26
+ /// The flex-direction property values.
27
+ /// @group variablesflexgrid
28
+ ///
29
+ /// @name flexdirection
30
+ ///
31
+ /// @link src/scss/variables/_variables_flex_grid.scss
32
+ /// @since 1.0.0
33
+ /// @author Serge Cools
34
+ ///
35
+ $flexdirection:(
36
+ "row": row,
37
+ "row-reverse": row-reverse,
38
+ "column": column,
39
+ "column-reverse": column-reverse
40
+ );
41
+ // End flex-direction property.
42
+
43
+ // The flex-wrap property.
44
+ ///
45
+ /// The flex-wrap property values.
46
+ /// @group variablesflexgrid
47
+ ///
48
+ /// @name flexwrap
49
+ ///
50
+ /// @link src/scss/variables/_variables_flex_grid.scss
51
+ /// @since 1.0.0
52
+ /// @author Serge Cools
53
+ ///
54
+ $flexwrap:(
55
+ "nowrap": nowrap,
56
+ "wrap": wrap,
57
+ "wrap-reverse": wrap-reverse
58
+ );
59
+ // End flex-wrap property.
60
+
61
+ // The flex-grow property.
62
+ ///
63
+ /// The flex-grow property values.
64
+ /// @group variablesflexgrid
65
+ ///
66
+ /// @name flexgrow
67
+ ///
68
+ /// @link src/scss/variables/_variables_flex_grid.scss
69
+ /// @since 1.0.0
70
+ /// @author Serge Cools
71
+ ///
72
+ $flexgrow:(
73
+ "grow":1,
74
+ "nogrow": 0,
75
+ );
76
+ // End flex-grow property.
77
+
78
+ // The Flex shrink property.
79
+ ///
80
+ /// The flex-shrink property values.
81
+ /// @group variablesflexgrid
82
+ ///
83
+ /// @name flexshrink
84
+ ///
85
+ /// @link src/scss/variables/_variables_flex_grid.scss
86
+ /// @since 1.0.0
87
+ /// @author Serge Cools
88
+ ///
89
+ $flexshrink:(
90
+ "shrink": 1,
91
+ "noshrink": 0
92
+ );
93
+ // End Flex shrink property
94
+
95
+ // The justify-content properties.
96
+ ///
97
+ /// The justify-content property values.
98
+ /// @group variablesflexgrid
99
+ ///
100
+ /// @name justifycontent
101
+ ///
102
+ /// @link src/scss/variables/_variables_flex_grid.scss
103
+ /// @since 1.0.0
104
+ /// @author Serge Cools
105
+ ///
106
+ $justifycontent: (
107
+ "center": center,
108
+ "start": start,
109
+ "end": end,
110
+ "flex-start": flex-start,
111
+ "flex-end": flex-end,
112
+ "left": left,
113
+ "right": right,
114
+ "normal": normal,
115
+ "between": space-between,
116
+ "around": space-around,
117
+ "evenly": space-evenly,
118
+ "stretch": stretch,
119
+ "center-safe": safe center,
120
+ "center-unsafe": unsafe center,
121
+ );
122
+ // End justify-content properties.
123
+
124
+ // The justify-items properties.
125
+ ///
126
+ /// The justify-items property values.
127
+ /// @group variablesflexgrid
128
+ ///
129
+ /// @name justifyitems
130
+ ///
131
+ /// @link src/scss/variables/_variables_flex_grid.scss
132
+ /// @since 1.0.0
133
+ /// @author Serge Cools
134
+ ///
135
+ $justifyitems: (
136
+ "normal": normal,
137
+ "stretch": stretch,
138
+ "center": center,
139
+ "start": start,
140
+ "end": end,
141
+ "self-start": self-start,
142
+ "self-end": self-end,
143
+ "left": left,
144
+ "right": right,
145
+ "baseline": baseline,
146
+ "baseline-first": first baseline,
147
+ "baseline-last": last baseline,
148
+ "center-safe": safe center,
149
+ "center-unsafe": unsafe center,
150
+ "legacy-left": legacy left,
151
+ "legacy-right": legacy right,
152
+ "legacy-center": legacy center,
153
+ );
154
+ // End justify-items properties.
155
+
156
+ // The justify-self properties.
157
+ ///
158
+ /// The justify-self property values.
159
+ /// @group variablesflexgrid
160
+ ///
161
+ /// @name justifyself
162
+ ///
163
+ /// @link src/scss/variables/_variables_flex_grid.scss
164
+ /// @since 1.0.0
165
+ /// @author Serge Cools
166
+ ///
167
+ $justifyself: (
168
+ "auto": auto,
169
+ "normal": normal,
170
+ "stretch": stretch,
171
+ "center": center,
172
+ "start": start,
173
+ "end": end,
174
+ "self-start": self-start,
175
+ "self-end": self-end,
176
+ "left": left,
177
+ "right": right,
178
+ "baseline": baseline,
179
+ "baseline-first": first baseline,
180
+ "baseline-last": last baseline,
181
+ "center-safe": safe center,
182
+ "center-unsafe": unsafe center,
183
+ );
184
+ // End justify-self properties.
185
+
186
+ // The Align-content properties.
187
+ ///
188
+ /// The align-content property values.
189
+ /// @group variablesflexgrid
190
+ ///
191
+ /// @name aligncontent
192
+ ///
193
+ /// @link src/scss/variables/_variables_flex_grid.scss
194
+ /// @since 1.0.0
195
+ /// @author Serge Cools
196
+ ///
197
+ $aligncontent: (
198
+ "center": center,
199
+ "start": start,
200
+ "end": end,
201
+ "flex-start": flex-start,
202
+ "flex-end": flex-end,
203
+ "normal": normal,
204
+ "baseline": baseline,
205
+ "between": space-between,
206
+ "around": space-around,
207
+ "evenly": space-evenly,
208
+ "stretch": stretch,
209
+ "center-safe": safe center,
210
+ "center-unsafe": unsafe center,
211
+ );
212
+ // End Align-content properties.
213
+
214
+ // The Align-items properties.
215
+ ///
216
+ /// The align-items property values.
217
+ /// @group variablesflexgrid
218
+ ///
219
+ /// @name alignitems
220
+ ///
221
+ /// @link src/scss/variables/_variables_flex_grid.scss
222
+ /// @since 1.0.0
223
+ /// @author Serge Cools
224
+ ///
225
+ $alignitems: (
226
+ "normal": normal,
227
+ "stretch": stretch,
228
+ "center": center,
229
+ "start": start,
230
+ "end": end,
231
+ "flex-start": flex-start,
232
+ "flex-end": flex-end,
233
+ "baseline": baseline,
234
+ "baseline-first": first baseline,
235
+ "baseline-last": last baseline,
236
+ "self-start": self-start,
237
+ "self-end": self-end,
238
+ "center-safe": safe center,
239
+ "center-unsafe": unsafe center,
240
+ );
241
+ // End Align-items properties.
242
+
243
+ // The Align-self properties.
244
+ ///
245
+ /// The align-self property values.
246
+ /// @group variablesflexgrid
247
+ ///
248
+ /// @link src/scss/variables/_variables_flex_grid.scss
249
+ /// @name alignself
250
+ ///
251
+ /// @since 1.0.0
252
+ /// @author Serge Cools
253
+ ///
254
+ $alignself: (
255
+ "auto": auto,
256
+ "normal": normal,
257
+ "center": center,
258
+ "start": start,
259
+ "end": end,
260
+ "self-start": self-start,
261
+ "self-end": self-end,
262
+ "flex-start": flex-start,
263
+ "flex-end": flex-end,
264
+ "baseline": baseline,
265
+ "baseline-first": first baseline,
266
+ "baseline-last": last baseline,
267
+ "stretch": stretch,
268
+ "center-safe": safe center,
269
+ "center-unsafe": unsafe center,
270
+ );
271
+ // End Align-self properties.
272
+
273
+ // The Display Grid properties.
274
+ ///
275
+ /// the display grid property values.
276
+ /// @group variablesflexgrid
277
+ ///
278
+ /// @name displaygrid
279
+ ///
280
+ /// @link src/scss/variables/_variables_flex_grid.scss
281
+ /// @since 1.0.0
282
+ /// @author Serge Cools
283
+ ///
284
+ $displaygrid: grid, inline-grid;
285
+ // End display Grid properties.
286
+
287
+
288
+ // The Place-content properties.
289
+ ///
290
+ /// The place-content property values.
291
+ /// @group variablesflexgrid
292
+ ///
293
+ /// @name placecontent
294
+ ///
295
+ /// @link src/scss/variables/_variables_flex_grid.scss
296
+ /// @since 1.0.0
297
+ /// @author Serge Cools
298
+ ///
299
+ $placecontent: (
300
+ "center": center,
301
+ "start": start,
302
+ "end": end,
303
+ "baseline": baseline,
304
+ "between": space-between,
305
+ "around": space-around,
306
+ "evenly": space-evenly,
307
+ "stretch": stretch,
308
+ "center-start": center start,
309
+ "start-center": start center,
310
+ "end-left": end left,
311
+ "flex-start-center": flex-start center,
312
+ "flex-end-center": flex-end center,
313
+ "baseline-center": baseline center,
314
+ "baseline-right": baseline right,
315
+ "between-evenly": space-between space-evenly,
316
+ "around-evenly": space-around space-evenly,
317
+ "evenly-stretch": space-evenly stretch,
318
+ "stretch-evenly": stretch space-evenly,
319
+ );
320
+ // End Place-content properties.
321
+
322
+ // The Place-items properties.
323
+ ///
324
+ /// The place-items property values.
325
+ /// @group variablesflexgrid
326
+ ///
327
+ /// @name placeitems
328
+ ///
329
+ /// @link src/scss/variables/_variables_flex_grid.scss
330
+ /// @since 1.0.0
331
+ /// @author Serge Cools
332
+ ///
333
+ $placeitems: (
334
+ /* Keyword values */
335
+ "center": center,
336
+ "start": start,
337
+ "end": end,
338
+ "baseline": baseline,
339
+ "stretch": stretch,
340
+ /* Positional alignment */
341
+ /* "center-normal": center normal,
342
+ "start-legarcy": start-legacy,
343
+ "end-normal": end-normal,
344
+ "self-start-legarcy": self-start legacy,
345
+ "self-end-normal": self-end normal,
346
+ "flex-start-legarcy": flex-start legacy,
347
+ "flex-end-normal": flex-end normal,
348
+ /* Baseline alignment */
349
+ /* "baseline-normal": baseline normal,
350
+ "first-baseline-legarcy": first-baseline legacy,
351
+ "last-baseline-normal": last baseline normal,
352
+ "stretch-legarcy": stretch legacy,*/
353
+ );
354
+ // End Place-items properties.
355
+
356
+ // The Place-self properties.
357
+ ///
358
+ /// The place-content property values.
359
+ /// @group variablesflexgrid
360
+ ///
361
+ /// @name placeself
362
+ ///
363
+ /// @link src/scss/variables/_variables_flex_grid.scss
364
+ /// @since 1.0.0
365
+ /// @author Serge Cools
366
+ ///
367
+ $placeself: (
368
+ /* Keyword values */
369
+ "auto": auto,
370
+ "start": start,
371
+ "end": end,
372
+ "center": center,
373
+ "stretch": stretch,
374
+ /* "auto-center": auto center,
375
+ "normal-start": normal start,
376
+ /* Positional alignment */
377
+ /* "center-normal": center normal,
378
+ "start-auto": start auto,
379
+ "end-normal": end normal,
380
+ "flex-start-auto": flex-start auto,
381
+ "flex-end-normal": flex-end normal,
382
+ /* Baseline alignment */
383
+ /* "baseline-normal": baseline normal,
384
+ "baseline-auto": baseline auto,
385
+ "last-baseline-normal": last baseline normal,
386
+ "stretch-auto": stretch auto,*/
387
+ );
388
+ // End Place-self properties.
389
+
390
+ // The Grid Auto Flow properties.
391
+ ///
392
+ /// The grid auto flow property values.
393
+ /// @group variablesflexgrid
394
+ ///
395
+ /// @name gridautoflow
396
+ ///
397
+ /// @link src/scss/variables/_variables_flex_grid.scss
398
+ /// @since 1.0.0
399
+ /// @author Serge Cools
400
+ ///
401
+ $autoflow: (
402
+ "row": row,
403
+ "col": column,
404
+ "dense": dense,
405
+ "row-dense": row dense,
406
+ "col-dense": column dense,
407
+ );
408
+ // End Grid Auto Flow properties.
409
+
410
+ // The Grid Auto Column properties.
411
+ ///
412
+ /// The grid auto columns property values.
413
+ /// @group variablesflexgrid
414
+ ///
415
+ /// @name gridautocolumnsrows
416
+ ///
417
+ /// @link src/scss/variables/_variables_flex_grid.scss
418
+ /// @since 1.0.0
419
+ /// @author Serge Cools
420
+ ///
421
+ $autocolumnsrows: (
422
+ "auto": auto,
423
+ "min": min-content,
424
+ "max": max-content,
425
+ "fr": minmax(0, 1fr),
426
+ );
427
+ // End Grid Auto Columns properties.