@birdycom/omniacss 0.0.0-stage → 0.11.1

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 +44 -3
  3. package/dist/oc-colors.css +4429 -0
  4. package/dist/oc-theme.css +69 -0
  5. package/dist/omnia.css +465436 -0
  6. package/dist/omnia.min.css +2 -0
  7. package/dist/omnia.starter.css +13461 -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 +63 -6
  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 +50 -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,189 @@
1
+ # omnia_tokens.py — OmniaCSS 0.11.1 semantic tokens for non-web apps (Tkinter, Qt, ...).
2
+ # Generated by: npx omniacss tokens --format python (do not edit; regenerate after an OmniaCSS update)
3
+ # Map: OMNIACSS_VERSION -> PALETTES (hex per mode) -> ALPHA -> OKLCH -> SIZES/TEXT -> FONTS -> SHADOWS -> font()
4
+ #
5
+ # Colors are resolved from light-dark(var(--color-...)) and gamut mapped to sRGB the CSS Color 4 way.
6
+ # Tokens with transparency (see ALPHA) are pre-blended over "background" in PALETTES.
7
+
8
+ OMNIACSS_VERSION = "0.11.1"
9
+
10
+ PALETTES = {
11
+ "light": {
12
+ "brand_1": "#006464",
13
+ "brand_2": "#0949ff",
14
+ "brand_3": "#973096",
15
+ "background": "#f2f6ff",
16
+ "foreground": "#0d1633",
17
+ "muted": "#d3d9f1",
18
+ "muted_foreground": "#42537e",
19
+ "card": "#ffffff",
20
+ "popover": "#ffffff",
21
+ "popover_foreground": "#0d1633",
22
+ "surface": "#ebeff9",
23
+ "surface_strong": "#e3e8f4",
24
+ "primary": "#175dbe",
25
+ "primary_foreground": "#ffffff",
26
+ "secondary": "#d3d9f1",
27
+ "secondary_foreground": "#0d1633",
28
+ "accent": "#d3d9f1",
29
+ "accent_foreground": "#0d1633",
30
+ "destructive": "#df0000",
31
+ "destructive_foreground": "#ffffff",
32
+ "success": "#007700",
33
+ "success_foreground": "#ffffff",
34
+ "warning": "#9f5d00",
35
+ "warning_foreground": "#ffffff",
36
+ "border": "#acb4d6",
37
+ "border_strong": "#7b8abe",
38
+ "input": "#acb4d6",
39
+ "ring": "#175dbe",
40
+ "row_alt": "#f2f6ff",
41
+ "hover": "#e7ecff",
42
+ "pressed": "#d3d9f1",
43
+ "selected": "#d3dfff",
44
+ "selected_foreground": "#0d1633",
45
+ "disabled_foreground": "#8692ac",
46
+ },
47
+ "dark": {
48
+ "brand_1": "#67c3ee",
49
+ "brand_2": "#5089ff",
50
+ "brand_3": "#c261bf",
51
+ "background": "#010121",
52
+ "foreground": "#eff3ff",
53
+ "muted": "#161b2c",
54
+ "muted_foreground": "#8a99c9",
55
+ "card": "#050a21",
56
+ "popover": "#080d20",
57
+ "popover_foreground": "#eff3ff",
58
+ "surface": "#0c0b29",
59
+ "surface_strong": "#131330",
60
+ "primary": "#6ea8ff",
61
+ "primary_foreground": "#010121",
62
+ "secondary": "#161b2c",
63
+ "secondary_foreground": "#eff3ff",
64
+ "accent": "#161b2c",
65
+ "accent_foreground": "#eff3ff",
66
+ "destructive": "#ff2b1f",
67
+ "destructive_foreground": "#ffffff",
68
+ "success": "#80d27a",
69
+ "success_foreground": "#010121",
70
+ "warning": "#ffaa27",
71
+ "warning_foreground": "#010121",
72
+ "border": "#3b4660",
73
+ "border_strong": "#50628d",
74
+ "input": "#3b4660",
75
+ "ring": "#6ea8ff",
76
+ "row_alt": "#0b1020",
77
+ "hover": "#1c253e",
78
+ "pressed": "#2b354f",
79
+ "selected": "#233463",
80
+ "selected_foreground": "#eff3ff",
81
+ "disabled_foreground": "#5d6883",
82
+ },
83
+ }
84
+
85
+ # Transparent tokens: (hex of the color itself, alpha). PALETTES holds the blended result.
86
+ ALPHA = {
87
+ "light": {"surface": ("#344570", 0.04), "surface_strong": ("#344570", 0.08)},
88
+ "dark": {"surface": ("#ffffff", 0.04), "surface_strong": ("#ffffff", 0.07)},
89
+ }
90
+
91
+ # Source colors (for wide-gamut renderers).
92
+ OKLCH = {
93
+ "light": {
94
+ "brand_1": "oklch(44.54% 0.1111 194.77)",
95
+ "brand_2": "oklch(52.87% 0.2944 264.05)",
96
+ "brand_3": "oklch(50.2% 0.1818 328.36)",
97
+ "background": "oklch(97.58% 0.0215 274.11)",
98
+ "foreground": "oklch(21.06% 0.0576 267.34)",
99
+ "muted": "oklch(88.82% 0.0336 274.11)",
100
+ "muted_foreground": "oklch(44.78% 0.0745 267.28)",
101
+ "card": "oklch(100% 0 0)",
102
+ "popover": "oklch(100% 0 0)",
103
+ "popover_foreground": "oklch(21.06% 0.0576 267.34)",
104
+ "surface": "oklch(39.64% 0.0761 267.28)",
105
+ "surface_strong": "oklch(39.64% 0.0761 267.28)",
106
+ "primary": "oklch(49.59% 0.167 258.28)",
107
+ "primary_foreground": "oklch(100% 0 0)",
108
+ "secondary": "oklch(88.82% 0.0336 274.11)",
109
+ "secondary_foreground": "oklch(21.06% 0.0576 267.34)",
110
+ "accent": "oklch(88.82% 0.0336 274.11)",
111
+ "accent_foreground": "oklch(21.06% 0.0576 267.34)",
112
+ "destructive": "oklch(55.26% 0.2634 29.23)",
113
+ "destructive_foreground": "oklch(100% 0 0)",
114
+ "success": "oklch(48.86% 0.1813 142.5)",
115
+ "success_foreground": "oklch(100% 0 0)",
116
+ "warning": "oklch(53.9% 0.1939 70.67)",
117
+ "warning_foreground": "oklch(100% 0 0)",
118
+ "border": "oklch(77.49% 0.0486 274.11)",
119
+ "border_strong": "oklch(64.2% 0.0794 270.89)",
120
+ "input": "oklch(77.49% 0.0486 274.11)",
121
+ "ring": "oklch(49.59% 0.167 258.28)",
122
+ "row_alt": "oklch(97.58% 0.0215 274.11)",
123
+ "hover": "oklch(94.49% 0.0262 274.11)",
124
+ "pressed": "oklch(88.82% 0.0336 274.11)",
125
+ "selected": "oklch(90.45% 0.0483 270.89)",
126
+ "selected_foreground": "oklch(21.06% 0.0576 267.34)",
127
+ "disabled_foreground": "oklch(65.86% 0.0415 267.34)",
128
+ },
129
+ "dark": {
130
+ "brand_1": "oklch(77.79% 0.1073 230.32)",
131
+ "brand_2": "oklch(66.02% 0.2756 264.05)",
132
+ "brand_3": "oklch(64.1% 0.1702 328.36)",
133
+ "background": "oklch(12.06% 0.0707 269.56)",
134
+ "foreground": "oklch(96.59% 0.023 274.11)",
135
+ "muted": "oklch(22.67% 0.0327 269.56)",
136
+ "muted_foreground": "oklch(68.9% 0.0726 270.89)",
137
+ "card": "oklch(15.61% 0.0487 269.56)",
138
+ "popover": "oklch(16.67% 0.0414 269.56)",
139
+ "popover_foreground": "oklch(96.59% 0.023 274.11)",
140
+ "surface": "oklch(100% 0 0)",
141
+ "surface_strong": "oklch(100% 0 0)",
142
+ "primary": "oklch(72.92% 0.1411 258.28)",
143
+ "primary_foreground": "oklch(12.06% 0.0707 269.56)",
144
+ "secondary": "oklch(22.67% 0.0327 269.56)",
145
+ "secondary_foreground": "oklch(96.59% 0.023 274.11)",
146
+ "accent": "oklch(22.67% 0.0327 269.56)",
147
+ "accent_foreground": "oklch(96.59% 0.023 274.11)",
148
+ "destructive": "oklch(65.03% 0.2474 29.23)",
149
+ "destructive_foreground": "oklch(100% 0 0)",
150
+ "success": "oklch(78.87% 0.145 142.5)",
151
+ "success_foreground": "oklch(12.06% 0.0707 269.56)",
152
+ "warning": "oklch(80.51% 0.1642 70.67)",
153
+ "warning_foreground": "oklch(12.06% 0.0707 269.56)",
154
+ "border": "oklch(39.47% 0.0465 267.34)",
155
+ "border_strong": "oklch(49.92% 0.0729 267.28)",
156
+ "input": "oklch(39.47% 0.0465 267.34)",
157
+ "ring": "oklch(72.92% 0.1411 258.28)",
158
+ "row_alt": "oklch(17.73% 0.0341 269.56)",
159
+ "hover": "oklch(27.06% 0.0486 267.34)",
160
+ "pressed": "oklch(33.27% 0.0475 267.34)",
161
+ "selected": "oklch(33.64% 0.0857 267.28)",
162
+ "selected_foreground": "oklch(96.59% 0.023 274.11)",
163
+ "disabled_foreground": "oklch(51.89% 0.0445 267.34)",
164
+ },
165
+ }
166
+
167
+ # Sizes in px (rem base 16 px); pt = px * 0.75.
168
+ SIZES = {"radius": 8, "focus_width": 2}
169
+ TEXT = {"xs": 12, "sm": 13, "base": 15, "lg": 18, "xl": 24}
170
+ TEXT_PT = {"xs": 9, "sm": 9.75, "base": 11.25, "lg": 13.5, "xl": 18}
171
+
172
+ FONTS = {
173
+ "sans": {"windows": "Segoe UI", "macos": ".AppleSystemUIFont", "linux": "Cantarell"},
174
+ "mono": {"windows": "Consolas", "macos": "Menlo", "linux": "DejaVu Sans Mono"},
175
+ }
176
+
177
+ # Shadows: x, y, blur, spread in px; color hex + alpha per mode.
178
+ SHADOWS = {
179
+ "sm": {"x": 0, "y": 1, "blur": 2, "spread": 0, "light": ("#344570", 0.08), "dark": ("#010101", 0.4)},
180
+ "md": {"x": 0, "y": 4, "blur": 12, "spread": -2, "light": ("#344570", 0.12), "dark": ("#010101", 0.5)},
181
+ "lg": {"x": 0, "y": 12, "blur": 32, "spread": -6, "light": ("#344570", 0.16), "dark": ("#010101", 0.6)},
182
+ }
183
+
184
+
185
+ def font(name="sans", platform=None):
186
+ """Font family for this platform (sys.platform: win32 / darwin / linux)."""
187
+ import sys
188
+ key = {"win32": "windows", "darwin": "macos"}.get(platform or sys.platform, "linux")
189
+ return FONTS[name][key]
package/package.json CHANGED
@@ -1,6 +1,63 @@
1
- {
2
- "name": "@birdycom/omniacss",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
1
+ {
2
+ "name": "@birdycom/omniacss",
3
+ "version": "0.11.1",
4
+ "description": "OmniaCSS utilities: modern CSS (anchor positioning, container queries, view transitions, light-dark()) as utility classes, generated on demand.",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "author": "Serge Cools (Birdycom)",
8
+ "homepage": "https://omniacss.eu",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/Birdycom/OmniaCSS.git",
12
+ "directory": "packages/core"
13
+ },
14
+ "bugs": {
15
+ "url": "https://github.com/Birdycom/OmniaCSS/issues"
16
+ },
17
+ "keywords": [
18
+ "css",
19
+ "utility-first",
20
+ "design-system",
21
+ "light-dark",
22
+ "container-queries",
23
+ "anchor-positioning",
24
+ "omniacss"
25
+ ],
26
+ "engines": {
27
+ "node": ">=22"
28
+ },
29
+ "exports": {
30
+ ".": "./dist/omnia.css",
31
+ "./min": "./dist/omnia.min.css",
32
+ "./starter": "./dist/omnia.starter.min.css",
33
+ "./tokens": "./dist/oc-colors.css",
34
+ "./theme": "./dist/oc-theme.css",
35
+ "./tokens/semantic.json": "./tokens/semantic.json",
36
+ "./tokens/export": "./src/tokens.mjs",
37
+ "./engine": "./src/engine.mjs",
38
+ "./postcss": "./src/postcss.mjs",
39
+ "./scss/*": "./scss/*",
40
+ "./dist/*": "./dist/*",
41
+ "./package.json": "./package.json"
42
+ },
43
+ "style": "./dist/omnia.css",
44
+ "files": [
45
+ "dist",
46
+ "scss",
47
+ "src",
48
+ "tokens",
49
+ "README.md",
50
+ "LICENSE"
51
+ ],
52
+ "dependencies": {
53
+ "postcss": "^8.5.3"
54
+ },
55
+ "unpkg": "./dist/omnia.starter.min.css",
56
+ "jsdelivr": "./dist/omnia.starter.min.css",
57
+ "sideEffects": [
58
+ "*.css"
59
+ ],
60
+ "publishConfig": {
61
+ "access": "public"
62
+ }
63
+ }
@@ -0,0 +1,88 @@
1
+ /* CSS Document
2
+ * file: css/omnia_reset.css
3
+ * Reset the default browser settings
4
+ * Copyright 2021-2022 birdycom.be
5
+ * Autor: Serge Cools
6
+ */
7
+
8
+ /* info: https://piccalil.li/blog/a-modern-css-reset/ */
9
+
10
+
11
+ /* Box sizing rules */
12
+ *,
13
+ *::before,
14
+ *::after {
15
+ box-sizing: border-box;
16
+ }
17
+
18
+ /* Remove default margin */
19
+ body,
20
+ h1,
21
+ h2,
22
+ h3,
23
+ h4,
24
+ h5,
25
+ h6,
26
+ p,
27
+ figure,
28
+ picture,
29
+ blockquote,
30
+ dl,
31
+ dd {
32
+ margin: 0;
33
+ }
34
+
35
+ /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
36
+ ul[role='list'],
37
+ ol[role='list'] {
38
+ list-style: none;
39
+ }
40
+
41
+ /* Set core root defaults */
42
+ html:focus-within {
43
+ scroll-behavior: smooth;
44
+ }
45
+
46
+ /* Set core body defaults */
47
+ body {
48
+ min-height: 100vh;
49
+ text-rendering: optimizeSpeed;
50
+ line-height: 1.5;
51
+ }
52
+
53
+ /* A elements that don't have a class get default styles */
54
+ a:not([class]) {
55
+ text-decoration-skip-ink: auto;
56
+ }
57
+
58
+ /* Make images easier to work with */
59
+ img,
60
+ picture {
61
+ max-width: 100%;
62
+ /* display: block;*/
63
+ }
64
+
65
+ /* Inherit fonts for inputs and buttons
66
+ Make form elements easier to work with */
67
+ input,
68
+ button,
69
+ textarea,
70
+ select {
71
+ font: inherit;
72
+ }
73
+
74
+ /* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
75
+ @media (prefers-reduced-motion: reduce) {
76
+ html:focus-within {
77
+ scroll-behavior: auto;
78
+ }
79
+
80
+ *,
81
+ *::before,
82
+ *::after {
83
+ animation-duration: 0.01ms !important;
84
+ animation-iteration-count: 1 !important;
85
+ transition-duration: 0.01ms !important;
86
+ scroll-behavior: auto !important;
87
+ }
88
+ }
@@ -0,0 +1,114 @@
1
+ // SCSS Document
2
+ // File: src/scss/config/omniacss.config.scss
3
+ // Description: Loading file for all configuration settings in this Framework
4
+ // Copyright: 2021-2023 Birdycom
5
+ // Autor: Serge Cools
6
+ // Version: 0.2.0
7
+ // Framework: OmniaCSS
8
+
9
+ // master settings to use for the creation of the CSS file
10
+
11
+ // Color: type of value
12
+ // Properties for value: rgb, hsl, oklch, oklab, Hex, Websafe
13
+ // Properties for name: name_nl, name_en
14
+
15
+ /// Color methods (`hex`, `hsl`, `rgb`, `oklch`, `oklab`).
16
+ /// @group colorsettings
17
+ /// @name defaultcolortypevalue
18
+ /// @type string
19
+ $DEFAULT-COLOR-TYPE-VALUE: oklch !default;
20
+
21
+ /// @group colorsettings
22
+ /// @name colorset
23
+ /// @type string
24
+ $COLORSET: true;
25
+
26
+
27
+
28
+ /// Default base font unit (`px`, `em`, `rem`).
29
+ /// @group fontsettings
30
+ /// @name defaultbasefontunit
31
+ /// @type string
32
+ $DEFAULT-BASE-FONT-UNIT: "em" !default;
33
+
34
+ /// Default font size ( The default font size for html is 16px )
35
+ /// @group fontsettings
36
+ /// @name defaultbasefontsize
37
+ /// @type number
38
+ $DEFAULT-BASE-FONT-SIZE: 16 !default;
39
+
40
+
41
+ /// Defaut base unit (`px`, `em`, `rem`).
42
+ /// @group basesettings
43
+ /// @name defaultbaseunit
44
+ /// @type string
45
+ $DEFAULT-BASE-UNIT: "rem" !default;
46
+
47
+ // SETTINGS FOR the two groups of padding, margin, width and height
48
+
49
+ /// Default base min pixels
50
+ /// This setting is for the min of pixels we will use, the pixels wil convert to rem or em
51
+ /// The min lengths we will use to create our padding, margin, width, height
52
+ /// @group basesettings
53
+ /// @name defaultbasefirstmingroup
54
+ /// @type number
55
+ $DEFAULT-BASE-FIRST-MIN-GROUP: 0 !default;
56
+
57
+ /// Default base first max pixels
58
+ /// This setting is for the first group max of pixels we will use, the pixels wil convert to rem or em
59
+ /// The max lengths we will use to create our padding, margin, width, height
60
+ /// @group basesettings
61
+ /// @name defaultbasefirstmaxgroup
62
+ /// @type number
63
+ $DEFAULT-BASE-FIRST-MAX-GROUP: 16 !default;
64
+
65
+ /// Default base first group step size .
66
+ /// This is the first step size we will use to create the padding, margin, width, height
67
+ /// For the first group the pixels wil g from 2px to 4px and then 6px until the max of the first group.
68
+ /// @group basesettings
69
+ /// @name defaultbasefirststep
70
+ /// @type number
71
+ $DEFAULT-BASE-FIRST-STEP: 2 !default;
72
+
73
+ /// Default base min pixels
74
+ /// This setting is for the min of pixels we will use, the pixels wil convert to rem or em
75
+ /// The min lengths we will use to create our padding, margin, width, height
76
+ /// This setting is the som of DEFAULT-BASE-FIRST-MAX-GROUP and DEFAULT-BASE-FIRST-STEP
77
+ /// @group basesettings
78
+ /// @name defaultbasesecondmingroup
79
+ /// @type number
80
+ $DEFAULT-BASE-SECOND-MIN-GROUP: 20 !default;
81
+
82
+ /// Default base max pixels
83
+ /// This setting is for the max of pixels we will use, the pixels wil convert to rem or em
84
+ /// The max lengths we will use to create our padding, margin, width, height
85
+ /// @group basesettings
86
+ /// @name defaultbasesecondmaxgroup
87
+ /// @type number
88
+ $DEFAULT-BASE-SECOND-MAX-GROUP: 400 !default;
89
+
90
+ /// Default base first group step size .
91
+ /// This is the first step size we will use to create the padding, margin, width, height
92
+ /// For the first group the pixels wil g from 2px to 4px and then 6px until the max of the first group.
93
+ /// @group basesettings
94
+ /// @name defaultbasesecondstep
95
+ /// @type number
96
+ $DEFAULT-BASE-SECOND-STEP: 4 !default;
97
+
98
+ /// Spacing (padding, margin) max in px — 10rem at 16px base. Other sizing (width, height, gap) still use DEFAULT-BASE-SECOND-MAX-GROUP.
99
+ /// @group basesettings
100
+ $SPACING-SECOND-MAX-GROUP: 160 !default;
101
+
102
+
103
+ /// basesize in px
104
+ /// @group basesettings
105
+ /// @name defaultbasesizepercent
106
+ /// @type string
107
+ $DEFAULT-BASE-SIZE-PERCENT: 100% !default;
108
+
109
+
110
+ /// string variable
111
+ /// @group variables
112
+ /// @name run
113
+ /// @type string
114
+ $run: null !default;
@@ -0,0 +1,34 @@
1
+ // SCSS Document
2
+ // File: src/scss/config/omniacss.fonts.scss
3
+ // Description: Loading file for all the fonts in this Framework
4
+ // Copyright: 2021-2022 Birdycom
5
+ // Autor: Serge Cools
6
+ // Version: 0.2.0
7
+ // Framework: OmniaCSS
8
+
9
+ @import url('https://fonts.googleapis.com/css2?family=Cedarville+Cursive&family=Cormorant+Infant:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Noto+Emoji:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@100;300;400;500;700;900&family=Noto+Sans+Math&family=Noto+Serif+JP:wght@200;300;400;500;600;700;900&family=Roboto+Flex:opsz,wght@8..144,100;8..144,200;8..144,300;8..144,400;8..144,500;8..144,600;8..144,700;8..144,800;8..144,900;8..144,1000&family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');
10
+
11
+ /* Local font files served from public/fonts/ */
12
+ @font-face {
13
+ font-family: 'Noto Color Emoji';
14
+ src: url('/fonts/noto/NotoColorEmoji.ttf') format('truetype');
15
+ font-display: swap;
16
+ }
17
+
18
+ @font-face {
19
+ font-family: 'Lucida Console';
20
+ src: url('/fonts/lucida_console/LucidaConsoleRegular.ttf') format('truetype');
21
+ font-display: swap;
22
+ }
23
+
24
+ /* Fixed: name must match CSS class "Noto Sans Egyptian Hieroglyphs" */
25
+ /* Fixed: format must be "truetype" not "ttf" */
26
+ /* Fixed: path must start from /fonts/ not /public/fonts/ */
27
+ @font-face {
28
+ font-family: 'Noto Sans Egyptian Hieroglyphs';
29
+ font-style: normal;
30
+ font-weight: 400;
31
+ font-display: block;
32
+ src: url('/fonts/noto/NotoSansEgyptianHieroglyphs-Regular.ttf') format('truetype');
33
+ unicode-range: U+13000-1342E, U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
34
+ }