@janga/norna 0.7.7 → 0.7.9

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 (86) hide show
  1. package/README.md +6 -5
  2. package/docs/README.md +5 -1
  3. package/docs/commands.md +4 -3
  4. package/docs/configuration.md +1 -1
  5. package/docs/content.md +64 -14
  6. package/docs/design/norna-diagram-design.md +156 -0
  7. package/docs/getting-started.md +48 -7
  8. package/docs/images-and-metadata.md +11 -6
  9. package/docs/routes.md +14 -3
  10. package/docs/site-structure.md +6 -3
  11. package/docs/theme.md +7 -4
  12. package/docs/typography.md +4 -5
  13. package/examples/dog-gallery/site/content.md +1 -36
  14. package/examples/dog-gallery/site/routes/010-dog-care/route-content.md +0 -8
  15. package/examples/typography-presets/.astro/collections/site.schema.json +776 -0
  16. package/examples/typography-presets/.astro/collections/theme.schema.json +668 -0
  17. package/examples/typography-presets/.astro/content-assets.mjs +4 -0
  18. package/examples/typography-presets/.astro/content-modules.mjs +1 -0
  19. package/examples/typography-presets/.astro/content.d.ts +175 -0
  20. package/examples/typography-presets/.astro/data-store.json +1 -0
  21. package/examples/typography-presets/.astro/dev-local.json +8 -0
  22. package/examples/typography-presets/.astro/dev.json +15 -0
  23. package/examples/typography-presets/.astro/dev.log +24 -0
  24. package/examples/typography-presets/.astro/settings.json +5 -0
  25. package/examples/typography-presets/.astro/types.d.ts +2 -0
  26. package/examples/typography-presets/node_modules/.vite/deps/_metadata.json +80 -0
  27. package/examples/typography-presets/node_modules/.vite/deps/astro-D_GIpJIE.js +434 -0
  28. package/examples/typography-presets/node_modules/.vite/deps/astro-D_GIpJIE.js.map +1 -0
  29. package/examples/typography-presets/node_modules/.vite/deps/astro_n_aria-query.js +6390 -0
  30. package/examples/typography-presets/node_modules/.vite/deps/astro_n_aria-query.js.map +1 -0
  31. package/examples/typography-presets/node_modules/.vite/deps/astro_n_axobject-query.js +2702 -0
  32. package/examples/typography-presets/node_modules/.vite/deps/astro_n_axobject-query.js.map +1 -0
  33. package/examples/typography-presets/node_modules/.vite/deps/astro_n_html-escaper.js +65 -0
  34. package/examples/typography-presets/node_modules/.vite/deps/astro_n_html-escaper.js.map +1 -0
  35. package/examples/typography-presets/node_modules/.vite/deps/astro_runtime_client_dev-toolbar_entrypoint__js.js +455 -0
  36. package/examples/typography-presets/node_modules/.vite/deps/astro_runtime_client_dev-toolbar_entrypoint__js.js.map +1 -0
  37. package/examples/typography-presets/node_modules/.vite/deps/audit-DM9Hkl5B.js +1534 -0
  38. package/examples/typography-presets/node_modules/.vite/deps/audit-DM9Hkl5B.js.map +1 -0
  39. package/examples/typography-presets/node_modules/.vite/deps/embla-carousel.js +1389 -0
  40. package/examples/typography-presets/node_modules/.vite/deps/embla-carousel.js.map +1 -0
  41. package/examples/typography-presets/node_modules/.vite/deps/highlight-DnZ1ULOL.js +48 -0
  42. package/examples/typography-presets/node_modules/.vite/deps/highlight-DnZ1ULOL.js.map +1 -0
  43. package/examples/typography-presets/node_modules/.vite/deps/icons-RyebKi45.js +42 -0
  44. package/examples/typography-presets/node_modules/.vite/deps/icons-RyebKi45.js.map +1 -0
  45. package/examples/typography-presets/node_modules/.vite/deps/package.json +3 -0
  46. package/examples/typography-presets/node_modules/.vite/deps/rolldown-runtime-BvCyGRYZ.js +4 -0
  47. package/examples/typography-presets/node_modules/.vite/deps/settings-DaU-gNnK.js +190 -0
  48. package/examples/typography-presets/node_modules/.vite/deps/settings-DaU-gNnK.js.map +1 -0
  49. package/examples/typography-presets/node_modules/.vite/deps/toolbar-63PA619H.js +458 -0
  50. package/examples/typography-presets/node_modules/.vite/deps/toolbar-63PA619H.js.map +1 -0
  51. package/examples/typography-presets/node_modules/.vite/deps/ui-library--bkcNSYz.js +1016 -0
  52. package/examples/typography-presets/node_modules/.vite/deps/ui-library--bkcNSYz.js.map +1 -0
  53. package/examples/typography-presets/node_modules/.vite/deps/window-jPkpKVcy.js +32 -0
  54. package/examples/typography-presets/node_modules/.vite/deps/window-jPkpKVcy.js.map +1 -0
  55. package/examples/typography-presets/node_modules/.vite/deps/xray-BXCHpEJP.js +111 -0
  56. package/examples/typography-presets/node_modules/.vite/deps/xray-BXCHpEJP.js.map +1 -0
  57. package/examples/typography-presets/site/.norna/generated-images.json +290 -0
  58. package/examples/typography-presets/site/config.mjs +42 -0
  59. package/examples/typography-presets/site/content.md +134 -0
  60. package/examples/typography-presets/site/images/compact-gallery/black-schnauzer.jpg +0 -0
  61. package/examples/typography-presets/site/images/compact-gallery/retriever-portrait.jpg +0 -0
  62. package/examples/typography-presets/site/images/compact-gallery/schnauzer-portrait.jpg +0 -0
  63. package/examples/typography-presets/site/images/quiet-gallery/puppy-portrait.jpg +0 -0
  64. package/examples/typography-presets/site/images/quiet-gallery/shepherd-portrait.jpg +0 -0
  65. package/examples/typography-presets/site/images/quiet-gallery/white-puppy.jpg +0 -0
  66. package/examples/typography-presets/site/images/statement/black-pedigree.jpg +0 -0
  67. package/examples/typography-presets/site/images/statement/sheepdog-grass.jpg +0 -0
  68. package/examples/typography-presets/site/images/statement/sheepdog-wide.jpg +0 -0
  69. package/examples/typography-presets/site/images/text-forward/boxer-portrait.jpg +0 -0
  70. package/examples/typography-presets/site/images/text-forward/grass-puppy.jpg +0 -0
  71. package/examples/typography-presets/site/images/text-forward/grey-street-dog.jpg +0 -0
  72. package/examples/typography-presets/site/public/robots.txt +2 -0
  73. package/examples/typography-presets/site/theme.md +43 -0
  74. package/package.json +1 -1
  75. package/scripts/lib/site-content.mjs +76 -0
  76. package/scripts/lib/theme-config.mjs +2 -0
  77. package/scripts/sync-content-sections.mjs +158 -22
  78. package/scripts/test-content-check.mjs +31 -1
  79. package/scripts/test-content-model-v2.mjs +238 -6
  80. package/scripts/test-package-check.mjs +17 -0
  81. package/src/components/SiteSection.astro +1 -1
  82. package/src/lib/sectionContent.ts +10 -2
  83. package/src/styles/global.css +1 -1
  84. package/starters/basic/README.md +4 -2
  85. package/starters/basic/site/content.md +2 -8
  86. package/starters/project/README.md +7 -3
@@ -0,0 +1,668 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "navigation": {
6
+ "type": "object",
7
+ "properties": {
8
+ "brand": {
9
+ "type": "string",
10
+ "minLength": 1
11
+ }
12
+ },
13
+ "additionalProperties": false
14
+ },
15
+ "layout": {
16
+ "type": "object",
17
+ "properties": {
18
+ "density": {
19
+ "type": "string",
20
+ "enum": [
21
+ "compact",
22
+ "normal",
23
+ "airy"
24
+ ]
25
+ },
26
+ "pageWidth": {
27
+ "type": "string",
28
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$"
29
+ },
30
+ "gutter": {
31
+ "anyOf": [
32
+ {
33
+ "type": "string",
34
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$"
35
+ },
36
+ {
37
+ "type": "object",
38
+ "properties": {
39
+ "desktop": {
40
+ "type": "string",
41
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$"
42
+ },
43
+ "mobile": {
44
+ "type": "string",
45
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$"
46
+ }
47
+ },
48
+ "required": [
49
+ "desktop",
50
+ "mobile"
51
+ ],
52
+ "additionalProperties": false
53
+ }
54
+ ]
55
+ },
56
+ "spacing": {
57
+ "type": "object",
58
+ "properties": {
59
+ "bodyToImages": {
60
+ "anyOf": [
61
+ {
62
+ "type": "string",
63
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$"
64
+ },
65
+ {
66
+ "type": "object",
67
+ "properties": {
68
+ "desktop": {
69
+ "type": "string",
70
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$"
71
+ },
72
+ "mobile": {
73
+ "type": "string",
74
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$"
75
+ }
76
+ },
77
+ "required": [
78
+ "desktop",
79
+ "mobile"
80
+ ],
81
+ "additionalProperties": false
82
+ }
83
+ ]
84
+ },
85
+ "finalSectionBottom": {
86
+ "anyOf": [
87
+ {
88
+ "type": "string",
89
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$"
90
+ },
91
+ {
92
+ "type": "object",
93
+ "properties": {
94
+ "desktop": {
95
+ "type": "string",
96
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$"
97
+ },
98
+ "mobile": {
99
+ "type": "string",
100
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$"
101
+ }
102
+ },
103
+ "required": [
104
+ "desktop",
105
+ "mobile"
106
+ ],
107
+ "additionalProperties": false
108
+ }
109
+ ]
110
+ },
111
+ "firstSectionTop": {
112
+ "anyOf": [
113
+ {
114
+ "type": "string",
115
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$"
116
+ },
117
+ {
118
+ "type": "object",
119
+ "properties": {
120
+ "desktop": {
121
+ "type": "string",
122
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$"
123
+ },
124
+ "mobile": {
125
+ "type": "string",
126
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$"
127
+ }
128
+ },
129
+ "required": [
130
+ "desktop",
131
+ "mobile"
132
+ ],
133
+ "additionalProperties": false
134
+ }
135
+ ]
136
+ },
137
+ "imageGap": {
138
+ "anyOf": [
139
+ {
140
+ "type": "string",
141
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$"
142
+ },
143
+ {
144
+ "type": "object",
145
+ "properties": {
146
+ "desktop": {
147
+ "type": "string",
148
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$"
149
+ },
150
+ "mobile": {
151
+ "type": "string",
152
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$"
153
+ }
154
+ },
155
+ "required": [
156
+ "desktop",
157
+ "mobile"
158
+ ],
159
+ "additionalProperties": false
160
+ }
161
+ ]
162
+ },
163
+ "sectionGap": {
164
+ "anyOf": [
165
+ {
166
+ "type": "string",
167
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$"
168
+ },
169
+ {
170
+ "type": "object",
171
+ "properties": {
172
+ "desktop": {
173
+ "type": "string",
174
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$"
175
+ },
176
+ "mobile": {
177
+ "type": "string",
178
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$"
179
+ }
180
+ },
181
+ "required": [
182
+ "desktop",
183
+ "mobile"
184
+ ],
185
+ "additionalProperties": false
186
+ }
187
+ ]
188
+ }
189
+ },
190
+ "additionalProperties": false
191
+ }
192
+ },
193
+ "additionalProperties": false
194
+ },
195
+ "gallery": {
196
+ "type": "object",
197
+ "properties": {
198
+ "width": {
199
+ "type": "string",
200
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$"
201
+ },
202
+ "maxAvailableWidthPercent": {
203
+ "anyOf": [
204
+ {
205
+ "type": "number",
206
+ "exclusiveMinimum": 0,
207
+ "maximum": 100
208
+ },
209
+ {
210
+ "type": "object",
211
+ "properties": {
212
+ "desktop": {
213
+ "type": "number",
214
+ "exclusiveMinimum": 0,
215
+ "maximum": 100
216
+ },
217
+ "mobile": {
218
+ "type": "number",
219
+ "exclusiveMinimum": 0,
220
+ "maximum": 100
221
+ }
222
+ },
223
+ "required": [
224
+ "desktop",
225
+ "mobile"
226
+ ],
227
+ "additionalProperties": false
228
+ }
229
+ ]
230
+ },
231
+ "maxAvailableHeightPercent": {
232
+ "anyOf": [
233
+ {
234
+ "type": "number",
235
+ "exclusiveMinimum": 0,
236
+ "maximum": 100
237
+ },
238
+ {
239
+ "type": "object",
240
+ "properties": {
241
+ "desktop": {
242
+ "type": "number",
243
+ "exclusiveMinimum": 0,
244
+ "maximum": 100
245
+ },
246
+ "mobile": {
247
+ "type": "number",
248
+ "exclusiveMinimum": 0,
249
+ "maximum": 100
250
+ }
251
+ },
252
+ "required": [
253
+ "desktop",
254
+ "mobile"
255
+ ],
256
+ "additionalProperties": false
257
+ }
258
+ ]
259
+ }
260
+ },
261
+ "additionalProperties": false
262
+ },
263
+ "typography": {
264
+ "type": "object",
265
+ "properties": {
266
+ "fontFamily": {
267
+ "type": "string",
268
+ "minLength": 1
269
+ },
270
+ "preset": {
271
+ "type": "string",
272
+ "enum": [
273
+ "quiet-gallery",
274
+ "compact-gallery",
275
+ "text-forward",
276
+ "statement"
277
+ ]
278
+ },
279
+ "rhythm": {
280
+ "type": "string",
281
+ "enum": [
282
+ "compact",
283
+ "normal",
284
+ "airy"
285
+ ]
286
+ },
287
+ "overrides": {
288
+ "type": "object",
289
+ "properties": {
290
+ "headings": {
291
+ "type": "object",
292
+ "properties": {
293
+ "h1": {
294
+ "type": "object",
295
+ "properties": {
296
+ "align": {
297
+ "type": "object",
298
+ "properties": {
299
+ "desktop": {
300
+ "type": "string",
301
+ "enum": [
302
+ "left",
303
+ "center",
304
+ "right"
305
+ ]
306
+ },
307
+ "mobile": {
308
+ "type": "string",
309
+ "enum": [
310
+ "left",
311
+ "center",
312
+ "right"
313
+ ]
314
+ }
315
+ },
316
+ "additionalProperties": false
317
+ },
318
+ "size": {
319
+ "type": "string",
320
+ "enum": [
321
+ "small",
322
+ "medium",
323
+ "large",
324
+ "xlarge"
325
+ ]
326
+ },
327
+ "lineHeight": {
328
+ "type": "number",
329
+ "minimum": 1,
330
+ "maximum": 3
331
+ },
332
+ "spacingBefore": {
333
+ "type": "string",
334
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$"
335
+ },
336
+ "spacingAfter": {
337
+ "type": "string",
338
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$"
339
+ }
340
+ },
341
+ "additionalProperties": false
342
+ },
343
+ "h2": {
344
+ "type": "object",
345
+ "properties": {
346
+ "align": {
347
+ "type": "object",
348
+ "properties": {
349
+ "desktop": {
350
+ "type": "string",
351
+ "enum": [
352
+ "left",
353
+ "center",
354
+ "right"
355
+ ]
356
+ },
357
+ "mobile": {
358
+ "type": "string",
359
+ "enum": [
360
+ "left",
361
+ "center",
362
+ "right"
363
+ ]
364
+ }
365
+ },
366
+ "additionalProperties": false
367
+ },
368
+ "size": {
369
+ "type": "string",
370
+ "enum": [
371
+ "small",
372
+ "medium",
373
+ "large",
374
+ "xlarge"
375
+ ]
376
+ },
377
+ "lineHeight": {
378
+ "type": "number",
379
+ "minimum": 1,
380
+ "maximum": 3
381
+ },
382
+ "spacingBefore": {
383
+ "type": "string",
384
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$"
385
+ },
386
+ "spacingAfter": {
387
+ "type": "string",
388
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$"
389
+ }
390
+ },
391
+ "additionalProperties": false
392
+ },
393
+ "h3": {
394
+ "type": "object",
395
+ "properties": {
396
+ "align": {
397
+ "type": "object",
398
+ "properties": {
399
+ "desktop": {
400
+ "type": "string",
401
+ "enum": [
402
+ "left",
403
+ "center",
404
+ "right"
405
+ ]
406
+ },
407
+ "mobile": {
408
+ "type": "string",
409
+ "enum": [
410
+ "left",
411
+ "center",
412
+ "right"
413
+ ]
414
+ }
415
+ },
416
+ "additionalProperties": false
417
+ },
418
+ "size": {
419
+ "type": "string",
420
+ "enum": [
421
+ "small",
422
+ "medium",
423
+ "large",
424
+ "xlarge"
425
+ ]
426
+ },
427
+ "lineHeight": {
428
+ "type": "number",
429
+ "minimum": 1,
430
+ "maximum": 3
431
+ },
432
+ "spacingBefore": {
433
+ "type": "string",
434
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$"
435
+ },
436
+ "spacingAfter": {
437
+ "type": "string",
438
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$"
439
+ }
440
+ },
441
+ "additionalProperties": false
442
+ },
443
+ "h4": {
444
+ "type": "object",
445
+ "properties": {
446
+ "align": {
447
+ "type": "object",
448
+ "properties": {
449
+ "desktop": {
450
+ "type": "string",
451
+ "enum": [
452
+ "left",
453
+ "center",
454
+ "right"
455
+ ]
456
+ },
457
+ "mobile": {
458
+ "type": "string",
459
+ "enum": [
460
+ "left",
461
+ "center",
462
+ "right"
463
+ ]
464
+ }
465
+ },
466
+ "additionalProperties": false
467
+ },
468
+ "size": {
469
+ "type": "string",
470
+ "enum": [
471
+ "small",
472
+ "medium",
473
+ "large",
474
+ "xlarge"
475
+ ]
476
+ },
477
+ "lineHeight": {
478
+ "type": "number",
479
+ "minimum": 1,
480
+ "maximum": 3
481
+ },
482
+ "spacingBefore": {
483
+ "type": "string",
484
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$"
485
+ },
486
+ "spacingAfter": {
487
+ "type": "string",
488
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$"
489
+ }
490
+ },
491
+ "additionalProperties": false
492
+ }
493
+ },
494
+ "additionalProperties": false
495
+ },
496
+ "body": {
497
+ "type": "object",
498
+ "properties": {
499
+ "align": {
500
+ "type": "object",
501
+ "properties": {
502
+ "desktop": {
503
+ "type": "string",
504
+ "enum": [
505
+ "left",
506
+ "center",
507
+ "right"
508
+ ]
509
+ },
510
+ "mobile": {
511
+ "type": "string",
512
+ "enum": [
513
+ "left",
514
+ "center",
515
+ "right"
516
+ ]
517
+ }
518
+ },
519
+ "additionalProperties": false
520
+ },
521
+ "size": {
522
+ "type": "string",
523
+ "enum": [
524
+ "small",
525
+ "medium",
526
+ "large",
527
+ "xlarge"
528
+ ]
529
+ },
530
+ "lineHeight": {
531
+ "type": "number",
532
+ "minimum": 1,
533
+ "maximum": 3
534
+ },
535
+ "paragraphSpacing": {
536
+ "type": "string",
537
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$"
538
+ }
539
+ },
540
+ "additionalProperties": false
541
+ },
542
+ "caption": {
543
+ "type": "object",
544
+ "properties": {
545
+ "align": {
546
+ "type": "object",
547
+ "properties": {
548
+ "desktop": {
549
+ "type": "string",
550
+ "enum": [
551
+ "left",
552
+ "center",
553
+ "right"
554
+ ]
555
+ },
556
+ "mobile": {
557
+ "type": "string",
558
+ "enum": [
559
+ "left",
560
+ "center",
561
+ "right"
562
+ ]
563
+ }
564
+ },
565
+ "additionalProperties": false
566
+ },
567
+ "size": {
568
+ "type": "string",
569
+ "enum": [
570
+ "small",
571
+ "medium",
572
+ "large",
573
+ "xlarge"
574
+ ]
575
+ },
576
+ "lineHeight": {
577
+ "type": "number",
578
+ "minimum": 1,
579
+ "maximum": 3
580
+ },
581
+ "spacingBefore": {
582
+ "type": "string",
583
+ "pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$"
584
+ }
585
+ },
586
+ "additionalProperties": false
587
+ }
588
+ },
589
+ "additionalProperties": false
590
+ }
591
+ },
592
+ "additionalProperties": false
593
+ },
594
+ "presentation": {
595
+ "type": "object",
596
+ "properties": {
597
+ "backgroundColor": {
598
+ "type": "string",
599
+ "pattern": "^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
600
+ },
601
+ "textColor": {
602
+ "type": "string",
603
+ "pattern": "^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
604
+ },
605
+ "inlineStyles": {
606
+ "type": "object",
607
+ "propertyNames": {
608
+ "type": "string",
609
+ "pattern": "^[a-z][a-z0-9-]*$"
610
+ },
611
+ "additionalProperties": {
612
+ "type": "object",
613
+ "properties": {
614
+ "color": {
615
+ "type": "string",
616
+ "pattern": "^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
617
+ }
618
+ },
619
+ "required": [
620
+ "color"
621
+ ],
622
+ "additionalProperties": false
623
+ }
624
+ }
625
+ },
626
+ "additionalProperties": false
627
+ },
628
+ "frame": {
629
+ "type": "object",
630
+ "properties": {
631
+ "colors": {
632
+ "anyOf": [
633
+ {
634
+ "type": "string",
635
+ "enum": [
636
+ "theme",
637
+ "presentation"
638
+ ]
639
+ },
640
+ {
641
+ "type": "object",
642
+ "properties": {
643
+ "backgroundColor": {
644
+ "type": "string",
645
+ "pattern": "^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
646
+ },
647
+ "textColor": {
648
+ "type": "string",
649
+ "pattern": "^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
650
+ }
651
+ },
652
+ "required": [
653
+ "backgroundColor",
654
+ "textColor"
655
+ ],
656
+ "additionalProperties": false
657
+ }
658
+ ]
659
+ }
660
+ },
661
+ "additionalProperties": false
662
+ },
663
+ "$schema": {
664
+ "type": "string"
665
+ }
666
+ },
667
+ "additionalProperties": false
668
+ }
@@ -0,0 +1,4 @@
1
+
2
+
3
+ export default new Map([]);
4
+
@@ -0,0 +1 @@
1
+ export default new Map();