ranger-compiler 3.5.0 → 3.5.2

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 (338) hide show
  1. package/CHANGELOG.md +1160 -19
  2. package/LICENSE +3 -1
  3. package/README.md +124 -29
  4. package/dist/Lang.rgr +1188 -290
  5. package/dist/api.d.ts +2343 -879
  6. package/dist/api.js +79924 -56922
  7. package/dist/lib/JSON.rgr +102 -91
  8. package/dist/lib/Shell.rgr +4 -4
  9. package/dist/lib/apple/AppleToolchain.rgr +4 -4
  10. package/dist/lib/apple/README.md +5 -4
  11. package/dist/lib/apple/apple_test.rgr +1 -1
  12. package/dist/lib/core/README.md +1 -1
  13. package/dist/lib/evg/EVG.rgr +12 -0
  14. package/dist/lib/evg/EVGA11yFromTree.rgr +302 -0
  15. package/dist/lib/evg/EVGA11yTree.rgr +894 -0
  16. package/dist/lib/evg/EVGBox.rgr +267 -0
  17. package/dist/lib/evg/EVGBoxShorthandTest.rgr +220 -0
  18. package/dist/lib/evg/EVGCodepoint.rgr +316 -0
  19. package/dist/lib/evg/EVGColor.rgr +700 -0
  20. package/dist/lib/evg/EVGCommands.rgr +177 -0
  21. package/dist/lib/evg/EVGComponent.rgr +331 -0
  22. package/dist/lib/evg/EVGComponentTest.rgr +387 -0
  23. package/dist/lib/evg/EVGConnector.rgr +541 -0
  24. package/dist/lib/evg/EVGConnectorTest.rgr +306 -0
  25. package/dist/lib/evg/EVGDisplayList.rgr +4186 -0
  26. package/dist/lib/evg/EVGEasing.rgr +370 -0
  27. package/dist/lib/evg/EVGEffectTest.rgr +253 -0
  28. package/dist/lib/evg/EVGElement.rgr +4914 -0
  29. package/dist/lib/evg/EVGFixedTest.rgr +289 -0
  30. package/dist/lib/evg/EVGFlexRulesTest.rgr +317 -0
  31. package/dist/lib/evg/EVGFlexWrapTest.rgr +246 -0
  32. package/dist/lib/evg/EVGFling.rgr +244 -0
  33. package/dist/lib/evg/EVGFocus.rgr +400 -0
  34. package/dist/lib/evg/EVGFocusTest.rgr +399 -0
  35. package/dist/lib/evg/EVGGradient.rgr +322 -0
  36. package/dist/lib/evg/EVGGrapheme.rgr +190 -0
  37. package/dist/lib/evg/EVGGrid.rgr +975 -0
  38. package/dist/lib/evg/EVGHitTest.rgr +208 -0
  39. package/dist/lib/evg/EVGHoles.rgr +294 -0
  40. package/dist/lib/evg/EVGHostMeasurerTest.rgr +281 -0
  41. package/dist/lib/evg/EVGHostTextMeasurer.rgr +331 -0
  42. package/dist/lib/evg/EVGHostTree.rgr +834 -0
  43. package/dist/lib/evg/EVGHostTreeTest.rgr +447 -0
  44. package/dist/lib/evg/EVGImageDecode.rgr +117 -0
  45. package/dist/lib/evg/EVGImageMeasurer.rgr +86 -0
  46. package/dist/lib/evg/EVGInspect.rgr +883 -0
  47. package/dist/lib/evg/EVGInvalidateTest.rgr +432 -0
  48. package/dist/lib/evg/EVGJsonTest.rgr +535 -0
  49. package/dist/lib/evg/EVGLayout.rgr +4220 -0
  50. package/dist/lib/evg/EVGMeasure.rgr +1267 -0
  51. package/dist/lib/evg/EVGOverlayTest.rgr +626 -0
  52. package/dist/lib/evg/EVGPatch.rgr +1721 -0
  53. package/dist/lib/evg/EVGPatchTest.rgr +692 -0
  54. package/dist/lib/evg/EVGPopoverTest.rgr +395 -0
  55. package/dist/lib/evg/EVGReconcile.rgr +226 -0
  56. package/dist/lib/evg/EVGReconcileTest.rgr +421 -0
  57. package/dist/lib/evg/EVGReject.rgr +126 -0
  58. package/dist/lib/evg/EVGRelayoutTest.rgr +375 -0
  59. package/dist/lib/evg/EVGRtlLayoutTest.rgr +319 -0
  60. package/dist/lib/evg/EVGRuler.rgr +232 -0
  61. package/dist/lib/evg/EVGRulerTest.rgr +172 -0
  62. package/dist/lib/evg/EVGSelectChrome.rgr +178 -0
  63. package/dist/lib/evg/EVGStyleCacheTest.rgr +419 -0
  64. package/dist/lib/evg/EVGStyleSheet.rgr +2148 -0
  65. package/dist/lib/evg/EVGStyleStateTest.rgr +407 -0
  66. package/dist/lib/evg/EVGStyleVarTest.rgr +471 -0
  67. package/dist/lib/evg/EVGText.rgr +105 -0
  68. package/dist/lib/evg/EVGTextEngine.rgr +536 -0
  69. package/dist/lib/evg/EVGTextMeasurer.rgr +720 -0
  70. package/dist/lib/evg/EVGTimingTest.rgr +1417 -0
  71. package/dist/lib/evg/EVGToolbar.rgr +1369 -0
  72. package/dist/lib/evg/EVGTransition.rgr +728 -0
  73. package/dist/lib/evg/EVGTreeJson.rgr +721 -0
  74. package/dist/lib/evg/EVGUnit.rgr +554 -0
  75. package/dist/lib/evg/EVGViewportUnitTest.rgr +236 -0
  76. package/dist/lib/evg/EvgApp.rgr +189 -0
  77. package/dist/lib/evg/EvgBitmapTracer.rgr +4277 -0
  78. package/dist/lib/evg/EvgBitmapTracerTest.rgr +2119 -0
  79. package/dist/lib/evg/EvgHost.rgr +451 -0
  80. package/dist/lib/evg/EvgTest.rgr +91 -0
  81. package/dist/lib/evg/EvgTraceColor.rgr +236 -0
  82. package/dist/lib/evg/EvgTraceCurve.rgr +648 -0
  83. package/dist/lib/evg/EvgTraceFit.rgr +767 -0
  84. package/dist/lib/evg/EvgTracePath.rgr +435 -0
  85. package/dist/lib/evg/EvgTraceTypes.rgr +559 -0
  86. package/dist/lib/evg/EvgViewport.rgr +313 -0
  87. package/dist/lib/evg/FxDemoDoc.rgr +185 -0
  88. package/dist/lib/evg/HOSTS.md +227 -0
  89. package/dist/lib/evg/ISSUES.md +835 -0
  90. package/dist/lib/evg/PLAN_ACCESSIBILITY.md +650 -0
  91. package/dist/lib/evg/PLAN_CSS_LAYOUT_AND_FONTS.md +1124 -0
  92. package/dist/lib/evg/PLAN_EFFECTS.md +431 -0
  93. package/dist/lib/evg/PLAN_EVG.md +518 -0
  94. package/dist/lib/evg/PLAN_EVG_RENDERER.md +1674 -0
  95. package/dist/lib/evg/PLAN_INSPECTOR.md +788 -0
  96. package/dist/lib/evg/PLAN_LINKS_AND_FORMS.md +157 -0
  97. package/dist/lib/evg/PLAN_NATIVE_HOSTS.md +671 -0
  98. package/dist/lib/evg/PLAN_VECTOR_IR.md +664 -0
  99. package/dist/lib/evg/PLAN_VIEW_TRANSFORM.md +322 -0
  100. package/dist/lib/evg/PathBuilder.rgr +333 -0
  101. package/dist/lib/evg/README.md +1236 -0
  102. package/dist/lib/evg/SPEC.md +1252 -0
  103. package/dist/lib/evg/SVGPathParser.rgr +1199 -0
  104. package/dist/lib/evg/SvgParser.rgr +1736 -0
  105. package/dist/lib/evg/TODO_EVG_RENDERER.md +595 -0
  106. package/dist/lib/evg/VectorShapes.rgr +331 -0
  107. package/dist/lib/evg/VectorStroke.rgr +107 -0
  108. package/dist/lib/evg/VectorViewBox.rgr +380 -0
  109. package/dist/lib/evg/agent/README.md +290 -0
  110. package/dist/lib/evg/agent/evg_agent.rgr +899 -0
  111. package/dist/lib/evg/agent/fixtures/broken.evg.json +7 -0
  112. package/dist/lib/evg/agent/fixtures/card.evg.json +9 -0
  113. package/dist/lib/evg/agent/fixtures/connector.css +63 -0
  114. package/dist/lib/evg/agent/fixtures/connector.evg.json +14 -0
  115. package/dist/lib/evg/agent/fixtures/drawn.evg.json +129 -0
  116. package/dist/lib/evg/agent/fixtures/gradient.evg.json +4 -0
  117. package/dist/lib/evg/agent/fixtures/popover.css +99 -0
  118. package/dist/lib/evg/agent/fixtures/popover.evg.json +30 -0
  119. package/dist/lib/evg/agent/roundtrip.sh +74 -0
  120. package/dist/lib/evg/agent/smoke.sh +230 -0
  121. package/dist/lib/evg/android/README.md +97 -0
  122. package/dist/lib/evg/android/androidstubs/AndroidStubs.kt +175 -0
  123. package/dist/lib/evg/android/androidstubs/Annotation.kt +10 -0
  124. package/dist/lib/evg/android/androidstubs/App.kt +30 -0
  125. package/dist/lib/evg/android/androidstubs/Content.kt +41 -0
  126. package/dist/lib/evg/android/androidstubs/ContentRes.kt +12 -0
  127. package/dist/lib/evg/android/androidstubs/InputMethod.kt +46 -0
  128. package/dist/lib/evg/android/androidstubs/Net.kt +6 -0
  129. package/dist/lib/evg/android/androidstubs/Os.kt +30 -0
  130. package/dist/lib/evg/android/androidstubs/Util.kt +15 -0
  131. package/dist/lib/evg/android/androidstubs/View.kt +113 -0
  132. package/dist/lib/evg/android/androidstubs/Widget.kt +16 -0
  133. package/dist/lib/evg/android/src/android/kotlin/fi/ranger/evg/AndroidEvgSurface.kt +323 -0
  134. package/dist/lib/evg/android/src/android/kotlin/fi/ranger/evg/AndroidTextMeasurer.kt +56 -0
  135. package/dist/lib/evg/android/src/android/kotlin/fi/ranger/evg/RippleEffect.kt +262 -0
  136. package/dist/lib/evg/android/src/awt/kotlin/fi/ranger/evg/AwtEvgSurface.kt +238 -0
  137. package/dist/lib/evg/android/src/awt/kotlin/fi/ranger/evg/AwtTextMeasurer.kt +85 -0
  138. package/dist/lib/evg/android/src/main/kotlin/fi/ranger/evg/EvgEngineThread.kt +115 -0
  139. package/dist/lib/evg/android/src/main/kotlin/fi/ranger/evg/EvgPainter.kt +231 -0
  140. package/dist/lib/evg/android/src/main/kotlin/fi/ranger/evg/EvgSurface.kt +117 -0
  141. package/dist/lib/evg/android/src/main/kotlin/fi/ranger/evg/RecordingSurface.kt +94 -0
  142. package/dist/lib/evg/apple/README.md +128 -0
  143. package/dist/lib/evg/apple/Sources/CoreGraphicsEvgSurface.swift +329 -0
  144. package/dist/lib/evg/apple/Sources/CoreTextMeasurer.swift +70 -0
  145. package/dist/lib/evg/apple/Sources/EvgEngineQueue.swift +105 -0
  146. package/dist/lib/evg/apple/Sources/EvgPainter.swift +225 -0
  147. package/dist/lib/evg/apple/Sources/EvgSurface.swift +163 -0
  148. package/dist/lib/evg/apple/Sources/RecordingSurface.swift +110 -0
  149. package/dist/lib/evg/bench/EvgLayoutBench.rgr +34 -0
  150. package/dist/lib/evg/bench/README.md +64 -0
  151. package/dist/lib/evg/bench/layout-bench.mjs +316 -0
  152. package/dist/lib/evg/bench/layout-cases.mjs +510 -0
  153. package/dist/lib/evg/bench/layout-conformance.mjs +254 -0
  154. package/dist/lib/evg/bin/.gitignore +17 -0
  155. package/dist/lib/evg/evg_test.rgr +313 -0
  156. package/dist/lib/evg/gl/README.md +198 -0
  157. package/dist/lib/evg/gl/a11y-paint-check.mjs +73 -0
  158. package/dist/lib/evg/gl/blur-check.mjs +399 -0
  159. package/dist/lib/evg/gl/boxmodel.json +1 -0
  160. package/dist/lib/evg/gl/demo.html +46 -0
  161. package/dist/lib/evg/gl/effect-presets.css +285 -0
  162. package/dist/lib/evg/gl/effect-presets.js +63 -0
  163. package/dist/lib/evg/gl/effect-shots.mjs +135 -0
  164. package/dist/lib/evg/gl/evg-a11y.js +566 -0
  165. package/dist/lib/evg/gl/evg-binary.js +160 -0
  166. package/dist/lib/evg/gl/evg-engine.js +296 -0
  167. package/dist/lib/evg/gl/evg-fx.js +237 -0
  168. package/dist/lib/evg/gl/evg-gestures.js +209 -0
  169. package/dist/lib/evg/gl/evg-list.js +167 -0
  170. package/dist/lib/evg/gl/evg-measure.js +186 -0
  171. package/dist/lib/evg/gl/evg-textinput.js +303 -0
  172. package/dist/lib/evg/gl/evg-view.js +144 -0
  173. package/dist/lib/evg/gl/evg-webgl.js +3942 -0
  174. package/dist/lib/evg/gl/fx-check.mjs +998 -0
  175. package/dist/lib/evg/gl/fx-demo.html +166 -0
  176. package/dist/lib/evg/gl/fx-demo.js +2 -0
  177. package/dist/lib/evg/gl/fx-serve.mjs +47 -0
  178. package/dist/lib/evg/gl/gestures-check.mjs +189 -0
  179. package/dist/lib/evg/gl/list-binary-check.mjs +152 -0
  180. package/dist/lib/evg/gl/measure-check.mjs +135 -0
  181. package/dist/lib/evg/gl/rotation-check.mjs +207 -0
  182. package/dist/lib/evg/gl/shift-check.mjs +113 -0
  183. package/dist/lib/evg/gl/stroke-check.mjs +168 -0
  184. package/dist/lib/evg/gl/text-snap-check.mjs +139 -0
  185. package/dist/lib/evg/gl/view-check.mjs +343 -0
  186. package/dist/lib/evg/gl/view-policy-check.mjs +184 -0
  187. package/dist/lib/evg/html/evg-dom.js +318 -0
  188. package/dist/lib/evg/html/evg-html.js +600 -0
  189. package/dist/lib/evg/inspect/README.md +415 -0
  190. package/dist/lib/evg/inspect/browser-smoke.mjs +115 -0
  191. package/dist/lib/evg/inspect/evg-inspect.js +947 -0
  192. package/dist/lib/evg/inspect/shots/css.png +0 -0
  193. package/dist/lib/evg/inspect/shots/dashboard.png +0 -0
  194. package/dist/lib/evg/inspect/shots/pptx-slide.png +0 -0
  195. package/dist/lib/evg/inspect/shots/state.png +0 -0
  196. package/dist/lib/evg/inspect/shots.mjs +226 -0
  197. package/dist/lib/evg/oracle/css-blur.json +576 -0
  198. package/dist/lib/evg/oracle/css-box.json +157 -0
  199. package/dist/lib/evg/oracle/css-timing.json +709 -0
  200. package/dist/lib/evg/oracle/css_blur_oracle.mjs +529 -0
  201. package/dist/lib/evg/oracle/css_box_oracle.mjs +106 -0
  202. package/dist/lib/evg/oracle/css_timing_oracle.mjs +389 -0
  203. package/dist/lib/evg/original/EVGColor.clj +310 -0
  204. package/dist/lib/evg/original/EVGColorContext.rgr +178 -0
  205. package/dist/lib/evg/original/SVGPath.rgr +627 -0
  206. package/dist/lib/evg/original/Vec2.crgr +103 -0
  207. package/dist/lib/evg/ranger.json +9 -0
  208. package/dist/lib/evg/showcase/README.md +246 -0
  209. package/dist/lib/evg/showcase/assets/emblem.svg +30 -0
  210. package/dist/lib/evg/showcase/assets/rosette.svg +22 -0
  211. package/dist/lib/evg/showcase/build.mjs +651 -0
  212. package/dist/lib/evg/showcase/pages/album.tsx +30 -0
  213. package/dist/lib/evg/showcase/pages/boxmodel.tsx +37 -0
  214. package/dist/lib/evg/showcase/pages/cards.tsx +41 -0
  215. package/dist/lib/evg/showcase/pages/chart_api.tsx +170 -0
  216. package/dist/lib/evg/showcase/pages/charts.tsx +219 -0
  217. package/dist/lib/evg/showcase/pages/drawing.tsx +160 -0
  218. package/dist/lib/evg/showcase/pages/emoji.tsx +91 -0
  219. package/dist/lib/evg/showcase/pages/flex.tsx +46 -0
  220. package/dist/lib/evg/showcase/pages/more.tsx +332 -0
  221. package/dist/lib/evg/showcase/pages/plots.tsx +262 -0
  222. package/dist/lib/evg/showcase/pages/svg.tsx +63 -0
  223. package/dist/lib/evg/showcase/pages/tables.tsx +209 -0
  224. package/dist/lib/evg/showcase/pages/typography.tsx +43 -0
  225. package/dist/lib/evg/showcase/pages/units.tsx +35 -0
  226. package/dist/lib/evg/showcase/pages/variants.tsx +233 -0
  227. package/dist/lib/evg/showcase/pages/vector.tsx +75 -0
  228. package/dist/lib/evg/showcase/pages/views.tsx +223 -0
  229. package/dist/lib/evg/showcase/tests/chart_api_smoke.mjs +339 -0
  230. package/dist/lib/evg/showcase/tests/gl_smoke.mjs +125 -0
  231. package/dist/lib/evg/showcase/themes/chart_api-default.css +15 -0
  232. package/dist/lib/evg/showcase/themes/charts-default.css +29 -0
  233. package/dist/lib/evg/showcase/themes/drawing-default.css +35 -0
  234. package/dist/lib/evg/showcase/themes/more-default.css +128 -0
  235. package/dist/lib/evg/showcase/themes/plots-default.css +18 -0
  236. package/dist/lib/evg/showcase/themes/showcase.css +508 -0
  237. package/dist/lib/evg/showcase/themes/tables-default.css +123 -0
  238. package/dist/lib/evg/showcase/themes/variants-default.css +15 -0
  239. package/dist/lib/evg/showcase/themes/views-default.css +15 -0
  240. package/dist/lib/evg/tools/bench_vs_potrace.mjs +290 -0
  241. package/dist/lib/evg/tools/evg_image_tool.rgr +488 -0
  242. package/dist/lib/evg/tools/evg_trace_bench.rgr +114 -0
  243. package/dist/lib/evg/tools/evg_trace_cli.rgr +662 -0
  244. package/dist/lib/evg/tools/evg_trace_cpp_bench.rgr +83 -0
  245. package/dist/lib/evg/tools/run_trace_bench.sh +74 -0
  246. package/dist/lib/evg/tools/run_trace_cli_smoke.sh +128 -0
  247. package/dist/lib/evg/web/responsive/EvgResponsiveCheck.rgr +271 -0
  248. package/dist/lib/evg/web/responsive/EvgResponsiveDemo.rgr +531 -0
  249. package/dist/lib/evg/web/responsive/README.md +97 -0
  250. package/dist/lib/evg/web/responsive/build.mjs +90 -0
  251. package/dist/lib/evg/web/responsive/dom-check.mjs +169 -0
  252. package/dist/lib/evg/web/responsive/index.html +177 -0
  253. package/dist/lib/evg/web/responsive/smoke.mjs +221 -0
  254. package/dist/lib/evg/web/tools/assets-client.mjs +95 -0
  255. package/dist/lib/evg/web/tools/boot-bench.mjs +189 -0
  256. package/dist/lib/evg/web/tools/inline-assets.mjs +119 -0
  257. package/dist/lib/evg/web/tools/minify.mjs +60 -0
  258. package/dist/lib/evg/web/tracer/build.mjs +87 -0
  259. package/dist/lib/evg/web/tracer/index.html +2805 -0
  260. package/dist/lib/evg/web/tracer/sample.png +0 -0
  261. package/dist/lib/evg/web/tracer/smoke.mjs +1162 -0
  262. package/dist/lib/evgr/Cargo.lock +21 -0
  263. package/dist/lib/evgr/Cargo.toml +19 -0
  264. package/dist/lib/evgr/README.md +140 -0
  265. package/dist/lib/evgr/bench/NativeBench.rgr +246 -0
  266. package/dist/lib/evgr/bench/compare.mjs +252 -0
  267. package/dist/lib/evgr/bench/speed.mjs +277 -0
  268. package/dist/lib/evgr/bin/.gitignore +3 -0
  269. package/dist/lib/evgr/src/bin/bench.rs +106 -0
  270. package/dist/lib/evgr/src/bin/smoke.rs +13 -0
  271. package/dist/lib/evgr/src/grid.rs +730 -0
  272. package/dist/lib/evgr/src/lib.rs +1003 -0
  273. package/dist/lib/evgr/src/style.rs +468 -0
  274. package/dist/lib/evgr/src/text.rs +83 -0
  275. package/dist/lib/image/BitReader.rgr +171 -0
  276. package/dist/lib/image/Buffer.rgr +173 -0
  277. package/dist/lib/image/DCT.rgr +283 -0
  278. package/dist/lib/image/Deflate.rgr +339 -0
  279. package/dist/lib/image/HuffmanDecoder.rgr +181 -0
  280. package/dist/lib/image/ImageBuffer.rgr +706 -0
  281. package/dist/lib/image/JPEGDecoder.rgr +808 -0
  282. package/dist/lib/image/PNGDecoder.rgr +544 -0
  283. package/dist/lib/image/PNGEncoder.rgr +388 -0
  284. package/dist/lib/image/PPMImage.rgr +224 -0
  285. package/dist/lib/image/ProgressiveJPEGDecoder.rgr +1154 -0
  286. package/dist/lib/image/README.md +33 -0
  287. package/dist/lib/image/RasterBuffer.rgr +294 -0
  288. package/dist/lib/image/VP8BoolDecoder.rgr +163 -0
  289. package/dist/lib/image/WebPDecoder.rgr +433 -0
  290. package/dist/lib/image/WebPLossless.rgr +1035 -0
  291. package/dist/lib/image/WebPLossy.rgr +1929 -0
  292. package/dist/lib/image/ranger.json +9 -0
  293. package/dist/lib/image/testdata/webp/anim_2f_24x16.webp +0 -0
  294. package/dist/lib/image/testdata/webp/fixtures.txt +33 -0
  295. package/dist/lib/image/testdata/webp/gen_fixtures.py +261 -0
  296. package/dist/lib/image/testdata/webp/ll_1x1.webp +0 -0
  297. package/dist/lib/image/testdata/webp/ll_alpha_29x21.webp +0 -0
  298. package/dist/lib/image/testdata/webp/ll_gradient_64x64.webp +0 -0
  299. package/dist/lib/image/testdata/webp/ll_meta_32x32.webp +0 -0
  300. package/dist/lib/image/testdata/webp/ll_noise_17x9.webp +0 -0
  301. package/dist/lib/image/testdata/webp/ll_pal11_23x11.webp +0 -0
  302. package/dist/lib/image/testdata/webp/ll_pal2_19x7.webp +0 -0
  303. package/dist/lib/image/testdata/webp/ll_pal40_16x16.webp +0 -0
  304. package/dist/lib/image/testdata/webp/ll_pal4_13x5.webp +0 -0
  305. package/dist/lib/image/testdata/webp/ll_photo_40x30.webp +0 -0
  306. package/dist/lib/image/testdata/webp/ll_predictors_64x32.webp +0 -0
  307. package/dist/lib/image/testdata/webp/ly_1x1.webp +0 -0
  308. package/dist/lib/image/testdata/webp/ly_alph_raw_f0_21x13.webp +0 -0
  309. package/dist/lib/image/testdata/webp/ly_alph_raw_f1_21x13.webp +0 -0
  310. package/dist/lib/image/testdata/webp/ly_alph_raw_f2_21x13.webp +0 -0
  311. package/dist/lib/image/testdata/webp/ly_alph_raw_f3_21x13.webp +0 -0
  312. package/dist/lib/image/testdata/webp/ly_alph_vp8l_f0_21x13.webp +0 -0
  313. package/dist/lib/image/testdata/webp/ly_alph_vp8l_f1_21x13.webp +0 -0
  314. package/dist/lib/image/testdata/webp/ly_alph_vp8l_f2_21x13.webp +0 -0
  315. package/dist/lib/image/testdata/webp/ly_alph_vp8l_f3_21x13.webp +0 -0
  316. package/dist/lib/image/testdata/webp/ly_alpha_33x17.webp +0 -0
  317. package/dist/lib/image/testdata/webp/ly_exif_15x11.webp +0 -0
  318. package/dist/lib/image/testdata/webp/ly_i16_96x80.webp +0 -0
  319. package/dist/lib/image/testdata/webp/ly_nofilter_24x20.webp +0 -0
  320. package/dist/lib/image/testdata/webp/ly_odd_17x9.webp +0 -0
  321. package/dist/lib/image/testdata/webp/ly_photo_48x40.webp +0 -0
  322. package/dist/lib/image/testdata/webp/ly_q100_20x18.webp +0 -0
  323. package/dist/lib/image/testdata/webp/ly_sharp_40x36.webp +0 -0
  324. package/dist/lib/image/testdata/webp/ly_simple_filter_33x31.webp +0 -0
  325. package/dist/lib/image/testdata/webp/ly_vpx_parts8_37x45.webp +0 -0
  326. package/dist/lib/image/testdata/webp/ly_vpx_skip_96x80.webp +0 -0
  327. package/dist/lib/image/tests/WebPDecodeTool.rgr +81 -0
  328. package/dist/lib/image/tests/WebPDecoderTest.rgr +1162 -0
  329. package/dist/lib/image/tests/run_webp_tests.sh +39 -0
  330. package/dist/lib/rust/RsJson.rgr +468 -0
  331. package/dist/lib/rust/RsPrelude.rgr +1663 -0
  332. package/dist/lib/shell_test.rgr +7 -7
  333. package/dist/lib/stdlib.rgr +21 -5
  334. package/dist/lib/zip/ranger.json +6 -0
  335. package/dist/rgrc.js +87318 -67610
  336. package/package.json +1010 -1040
  337. package/dist/README.md +0 -117
  338. package/dist/package.json +0 -47
@@ -0,0 +1,508 @@
1
+ /* showcase.css — one stylesheet, two themes.
2
+ *
3
+ * Supported subset (lib/evg/EVGStyleSheet.rgr):
4
+ * .class applies in every theme
5
+ * .theme-<name> .class applies only when that theme is active
6
+ * .a, .b { ... } selector lists
7
+ *
8
+ * Cascade: unscoped < theme-scoped < attributes authored in the TSX.
9
+ *
10
+ * Nothing in lib/evg/showcase/pages/*.tsx carries a visual attribute.
11
+ * Everything below the "structure" block is a theme talking.
12
+ */
13
+
14
+ /* ==== structure, shared by both themes ================================== */
15
+
16
+ .page {
17
+ width: 100%;
18
+ height: 100%;
19
+ }
20
+
21
+ .row {
22
+ flex-direction: row;
23
+ width: 100%;
24
+ }
25
+
26
+ .rule {
27
+ height: 3px;
28
+ width: 88px;
29
+ }
30
+
31
+ /* ---- album: the spread is a picture of named areas --------------------- */
32
+ .spread {
33
+ display: grid;
34
+ width: 100%;
35
+ height: 512px;
36
+ grid-template-areas: "hero hero" "a b" "wide wide";
37
+ grid-template-columns: 1fr 1fr;
38
+ grid-template-rows: 220px 150px 110px;
39
+ }
40
+ .hero { grid-area: hero; }
41
+ .wide { grid-area: wide; }
42
+ .cell {
43
+ object-fit: cover;
44
+ width: 100%;
45
+ height: 100%;
46
+ }
47
+
48
+ /* ---- cards: each card adopts the deck's rows, so captions line up ------ */
49
+ .deck {
50
+ display: grid;
51
+ width: 100%;
52
+ grid-template-columns: 1fr 1fr 1fr;
53
+ grid-template-rows: 170px auto;
54
+ }
55
+ .card {
56
+ display: grid;
57
+ grid-template-columns: 1fr;
58
+ grid-template-rows: subgrid;
59
+ grid-row: 1 / 3;
60
+ }
61
+ .shot {
62
+ object-fit: cover;
63
+ width: 100%;
64
+ height: 100%;
65
+ }
66
+
67
+ /* ---- units: every bar the same length, five ways ----------------------- */
68
+ .bar { height: 22px; }
69
+ .u-px { width: 192px; }
70
+ .u-pt { width: 144pt; }
71
+ .u-in { width: 2in; }
72
+ .u-mm { width: 50.8mm; }
73
+ .u-cm { width: 5.08cm; }
74
+ .scope { font-size: 24px; width: 100%; }
75
+ .u-em { width: 8em; }
76
+ .u-rem { width: 8rem; }
77
+ .half { width: 50%; }
78
+ .u-pct { width: 100%; }
79
+
80
+ /* ---- flex -------------------------------------------------------------- */
81
+ .grow1 { flex: 1; }
82
+ .grow2 { flex: 2; }
83
+ .noshrink { flex-shrink: 0; width: 120px; }
84
+ .between { justify-content: space-between; }
85
+ .wrapping { flex-wrap: wrap; }
86
+ .chip { width: 90px; }
87
+ .tile { width: 110px; }
88
+
89
+ /* ---- box model --------------------------------------------------------- */
90
+ .demo { flex: 1; height: 90px; }
91
+ .padded { padding: 14px; }
92
+ .padSides { padding-top: 4px; padding-right: 20px; padding-bottom: 24px; padding-left: 8px; }
93
+ .bordered { padding: 10px; border-width: 3px; }
94
+ .inner { width: 100%; height: 22px; }
95
+ .marA { margin-bottom: 10px; }
96
+ .marB { margin-top: 10px; margin-left: 24px; width: 80%; }
97
+ .nest { padding: 12px; width: 100%; }
98
+ .l4 { height: 24px; }
99
+
100
+ /* ---- emoji: cluster specimens and a tint of their own ------------------ */
101
+ .seqRow { flex-direction: row; width: 100%; }
102
+ .seqText { flex: 1; }
103
+
104
+ /* ---- vector: geometry in the page, size and colour here ---------------- */
105
+ /* `d` and `viewBox` live in the TSX because they are the shape itself. Every
106
+ * other property of these paths is a theme decision, including how big they
107
+ * are — a viewBox means the same drawing scales to any box without changing. */
108
+ .vecRow { align-items: center; }
109
+ .icon { }
110
+ .shape { }
111
+ .evenodd { fill-rule: evenodd; }
112
+
113
+ /* ---- imported svg: geometry in the file, size and colour here ---------- */
114
+ /* rosette.svg names no colours, so the fill below is what its shapes inherit
115
+ * — the same relationship a hand-written <Path> has with its fill, extended to
116
+ * a file the gallery does not own. emblem.svg brings its own palette and keeps
117
+ * it, so only its size is a theme decision. */
118
+ .art { }
119
+ .emblem { }
120
+
121
+ /* ---- charts: geometry from the data, colour from the theme ------------- */
122
+ /* The one generated page in this gallery, and it follows the same rule as the
123
+ hand-written ones: the tree says what is drawn, the theme says how it looks.
124
+ A chart's series are numbered in the order it draws them, so `chartFill0` is
125
+ whatever the first series happens to be. Stroke widths and opacities stay in
126
+ the tree — they were computed from the data, not chosen. The charts are drawn
127
+ on a TRANSPARENT background: the page shows through. */
128
+ .chart { }
129
+ /* A chart keeps its own width — the drawing's, not the column's — so the
130
+ wrapper is what centres it. Without this a pie, which has no axis to make
131
+ room for, sits against the left edge of a column sized for a bar chart. */
132
+ .chartBox { width: 100%; align-items: center; }
133
+ .chartRow { align-items: flex-start; }
134
+ /* HALVES OF THE PAGE, not of their contents. `min-width: 0` is the whole
135
+ difference: without it a flex item may not be sized below its min-content
136
+ width, so a chart wider than half the row widens its own column, the two
137
+ columns no longer add up to the row, and the pair either hangs off the
138
+ right (nowrap) or drops onto two lines (EVG's default). Two equal columns
139
+ is what this page is; a drawing too wide for its half overflows its column
140
+ evenly on both sides, into the gutter and the margin, which is what
141
+ centring means. */
142
+ .chartCell { flex: 1; min-width: 0; }
143
+
144
+ /* ---- the chart api page: the calls, beside the chart they built -------- */
145
+ /* The one page in this gallery whose charts came from a program rather than
146
+ from a specification, so it prints the program. The lines are read out of
147
+ the generating tool's own source, which is why they are a stack of Labels
148
+ rather than one block of text: EVG lays out a paragraph, and a line of code
149
+ that wrapped would be a line of code that lied. */
150
+ .codeBlock { width: 100%; }
151
+ .codeLine { }
152
+
153
+ /* A stroked path must say so, or the outline is filled in as a shape. */
154
+ .chartGrid, .chartTick, .chartDomain, .chartFrame,
155
+ .chartStroke0, .chartStroke1, .chartStroke2, .chartStroke3, .chartStroke4,
156
+ .chartStroke5, .chartStroke6, .chartStroke7, .chartStroke8, .chartStroke9 {
157
+ fill: none;
158
+ }
159
+
160
+ /* ==== theme: editorial — warm paper, serif display ====================== */
161
+
162
+ .theme-editorial .page {
163
+ background-color: #fbf7f0;
164
+ padding: 44px;
165
+ font-family: Noto Sans;
166
+ }
167
+ .theme-editorial .eyebrow {
168
+ font-size: 12px;
169
+ color: #a1856a;
170
+ font-family: Josefin Sans;
171
+ }
172
+ .theme-editorial .title {
173
+ font-size: 34px;
174
+ font-family: Cinzel;
175
+ color: #3b2f2a;
176
+ line-height: 1.2;
177
+ }
178
+ .theme-editorial .rule {
179
+ background-color: #b08d57;
180
+ margin-top: 14px;
181
+ }
182
+ .theme-editorial .subhead {
183
+ font-size: 13px;
184
+ font-family: Josefin Sans;
185
+ color: #8a7360;
186
+ margin-top: 26px;
187
+ margin-bottom: 8px;
188
+ }
189
+ .theme-editorial .caption,
190
+ .theme-editorial .body {
191
+ font-size: 13px;
192
+ color: #6b5b52;
193
+ line-height: 1.4;
194
+ margin-top: 14px;
195
+ }
196
+ .theme-editorial .vecRow { gap: 22px; margin-top: 6px; }
197
+ .theme-editorial .icon { stroke: #b08d57; stroke-width: 2.5; fill: none; }
198
+ .theme-editorial .iconSm { width: 28px; height: 28px; }
199
+ .theme-editorial .iconMd { width: 52px; height: 52px; }
200
+ .theme-editorial .iconLg { width: 84px; height: 84px; }
201
+ .theme-editorial .shape { width: 76px; height: 76px; fill: #3b2f2a; }
202
+ .theme-editorial .art { fill: #3b2f2a; }
203
+ .theme-editorial .artAccent { fill: #b08d57; }
204
+ .theme-editorial .artMuted { fill: #c8bda9; }
205
+ .theme-editorial .artSm { width: 34px; height: 34px; }
206
+ .theme-editorial .artMd { width: 62px; height: 62px; }
207
+ .theme-editorial .artLg { width: 96px; height: 96px; }
208
+ .theme-editorial .emblemSm { width: 54px; height: 65px; }
209
+ .theme-editorial .emblemLg { width: 100px; height: 120px; }
210
+ /* charts */
211
+ /* the calls that built the chart */
212
+ .theme-editorial .codeBlock { margin-top: 2px; margin-bottom: 2px; }
213
+ .theme-editorial .codeLine { font-size: 8px; font-family: Noto Sans; color: #97785a; line-height: 1.5; }
214
+ .theme-editorial .chart { margin-top: 8px; margin-bottom: 4px; }
215
+ .theme-editorial .chartGrid { stroke: #d8cfbd; }
216
+ .theme-editorial .chartTick,
217
+ .theme-editorial .chartDomain,
218
+ .theme-editorial .chartFrame { stroke: #b8ac97; }
219
+ .theme-editorial .chartLabel { color: #6b5f52; }
220
+ .theme-editorial .chartTitle { color: #3b2f2a; }
221
+ .theme-editorial .chartFill0 { fill: #4c78a8; }
222
+ .theme-editorial .chartStroke0 { stroke: #4c78a8; }
223
+ .theme-editorial .chartFill1 { fill: #c47f3d; }
224
+ .theme-editorial .chartStroke1 { stroke: #c47f3d; }
225
+ .theme-editorial .chartFill2 { fill: #a34a4a; }
226
+ .theme-editorial .chartStroke2 { stroke: #a34a4a; }
227
+ .theme-editorial .chartFill3 { fill: #5f9ea0; }
228
+ .theme-editorial .chartStroke3 { stroke: #5f9ea0; }
229
+ .theme-editorial .chartFill4 { fill: #5a8a4a; }
230
+ .theme-editorial .chartStroke4 { stroke: #5a8a4a; }
231
+ .theme-editorial .chartFill5 { fill: #c9a227; }
232
+ .theme-editorial .chartStroke5 { stroke: #c9a227; }
233
+ .theme-editorial .chartFill6 { fill: #8a6ba2; }
234
+ .theme-editorial .chartStroke6 { stroke: #8a6ba2; }
235
+ .theme-editorial .chartFill7 { fill: #c98f9b; }
236
+ .theme-editorial .chartStroke7 { stroke: #c98f9b; }
237
+ .theme-editorial .chartFill8 { fill: #8a6f5d; }
238
+ .theme-editorial .chartStroke8 { stroke: #8a6f5d; }
239
+
240
+ .theme-editorial .spread { gap: 16px; margin-top: 24px; }
241
+ .theme-editorial .cell { border-radius: 10px; }
242
+ .theme-editorial .deck { gap: 16px; margin-top: 20px; }
243
+ .theme-editorial .shot { border-radius: 8px; }
244
+ .theme-editorial .cardcap {
245
+ font-size: 12px;
246
+ color: #6b5b52;
247
+ line-height: 1.35;
248
+ margin-top: 8px;
249
+ }
250
+ .theme-editorial .row { gap: 14px; }
251
+ .theme-editorial .bar { background-color: #b08d57; margin-top: 8px; border-radius: 3px; }
252
+ .theme-editorial .barLabel { font-size: 11px; color: #fbf7f0; margin-left: 8px; }
253
+ .theme-editorial .box,
254
+ .theme-editorial .chip,
255
+ .theme-editorial .tile { background-color: #e8dcc8; height: 46px; border-radius: 6px; }
256
+ .theme-editorial .boxLabel { font-size: 12px; color: #5a4a3f; margin-top: 15px; margin-left: 10px; }
257
+ .theme-editorial .demo { background-color: #e8dcc8; border-radius: 6px; }
258
+ .theme-editorial .bordered { border-color: #b08d57; }
259
+ .theme-editorial .inner { background-color: #b08d57; border-radius: 3px; }
260
+ .theme-editorial .nest { background-color: #efe6d6; border-radius: 6px; margin-top: 8px; }
261
+ .theme-editorial .l2 { background-color: #e5d8c2; }
262
+ .theme-editorial .l3 { background-color: #d8c7ab; }
263
+ .theme-editorial .l4 { background-color: #b08d57; }
264
+ .theme-editorial .specimen { flex-direction: row; margin-top: 12px; }
265
+ .theme-editorial .specLabel { font-size: 11px; color: #a1856a; width: 110px; margin-top: 10px; }
266
+ .theme-editorial .specText { font-size: 24px; color: #3b2f2a; }
267
+ .theme-editorial .faceDisplay { font-family: Cinzel; }
268
+ .theme-editorial .faceAlt { font-family: Josefin Sans; }
269
+ .theme-editorial .faceBody { font-family: Noto Sans; }
270
+ .theme-editorial .baseline { flex-direction: row; align-items: baseline; margin-top: 10px; }
271
+ .theme-editorial .big { font-size: 30px; font-family: Cinzel; color: #3b2f2a; }
272
+ .theme-editorial .small { font-size: 13px; color: #6b5b52; margin-left: 10px; }
273
+
274
+ .theme-editorial .seqRow { margin-top: 14px; gap: 16px; }
275
+ .theme-editorial .seqGlyph { font-size: 34px; color: #3b2f2a; width: 56px; }
276
+ .theme-editorial .seqName { font-size: 13px; font-family: Josefin Sans; color: #3b2f2a; }
277
+ .theme-editorial .seqNote { font-size: 12px; color: #6b5b52; line-height: 1.4; margin-top: 3px; }
278
+ .theme-editorial .tintRose,
279
+ .theme-editorial .tintBlue,
280
+ .theme-editorial .tintGreen { font-size: 20px; color: #3b2f2a; margin-top: 8px; }
281
+ .theme-editorial .tintRose { emoji-color: #c0392b; }
282
+ .theme-editorial .tintBlue { emoji-color: #2f6f9f; }
283
+ .theme-editorial .tintGreen { emoji-color: #4f7a4a; }
284
+
285
+ /* ==== theme: studio — dark, geometric sans ============================== */
286
+
287
+ .theme-studio .page {
288
+ background-color: #14161a;
289
+ padding: 40px;
290
+ font-family: Josefin Sans;
291
+ }
292
+ .theme-studio .eyebrow {
293
+ font-size: 11px;
294
+ color: #6f7c8c;
295
+ font-family: Noto Sans;
296
+ }
297
+ .theme-studio .title {
298
+ font-size: 30px;
299
+ font-family: Josefin Sans;
300
+ font-weight: bold;
301
+ color: #f2f5f8;
302
+ line-height: 1.15;
303
+ }
304
+ .theme-studio .rule {
305
+ background-color: #4ea3ff;
306
+ height: 2px;
307
+ width: 140px;
308
+ margin-top: 12px;
309
+ }
310
+ .theme-studio .subhead {
311
+ font-size: 12px;
312
+ font-family: Noto Sans;
313
+ color: #6f7c8c;
314
+ margin-top: 24px;
315
+ margin-bottom: 6px;
316
+ }
317
+ .theme-studio .caption,
318
+ .theme-studio .body {
319
+ font-size: 12px;
320
+ color: #9aa7b6;
321
+ line-height: 1.45;
322
+ margin-top: 14px;
323
+ }
324
+ .theme-studio .spread { gap: 10px; margin-top: 20px; }
325
+ .theme-studio .vecRow { gap: 18px; margin-top: 6px; }
326
+ .theme-studio .icon { stroke: #14e0a0; stroke-width: 3; fill: none; }
327
+ .theme-studio .iconSm { width: 30px; height: 30px; }
328
+ .theme-studio .iconMd { width: 56px; height: 56px; }
329
+ .theme-studio .iconLg { width: 92px; height: 92px; }
330
+ .theme-studio .shape { width: 80px; height: 80px; fill: #e8e8ea; }
331
+ .theme-studio .art { fill: #e8e8ea; }
332
+ .theme-studio .artAccent { fill: #14e0a0; }
333
+ .theme-studio .artMuted { fill: #6b6b74; }
334
+ .theme-studio .artSm { width: 36px; height: 36px; }
335
+ .theme-studio .artMd { width: 66px; height: 66px; }
336
+ .theme-studio .artLg { width: 104px; height: 104px; }
337
+ .theme-studio .emblemSm { width: 56px; height: 67px; }
338
+ .theme-studio .emblemLg { width: 104px; height: 125px; }
339
+ /* charts */
340
+ /* the calls that built the chart */
341
+ .theme-studio .codeBlock { margin-top: 2px; margin-bottom: 2px; }
342
+ .theme-studio .codeLine { font-size: 8px; font-family: Noto Sans; color: #7f8fa3; line-height: 1.5; }
343
+ .theme-studio .chart { margin-top: 8px; margin-bottom: 4px; }
344
+ .theme-studio .chartGrid { stroke: #3a4048; }
345
+ .theme-studio .chartTick,
346
+ .theme-studio .chartDomain,
347
+ .theme-studio .chartFrame { stroke: #6f7681; }
348
+ .theme-studio .chartLabel { color: #aab2bd; }
349
+ .theme-studio .chartTitle { color: #e8e8ea; }
350
+ .theme-studio .chartFill0 { fill: #4ea3ff; }
351
+ .theme-studio .chartStroke0 { stroke: #4ea3ff; }
352
+ .theme-studio .chartFill1 { fill: #ffa657; }
353
+ .theme-studio .chartStroke1 { stroke: #ffa657; }
354
+ .theme-studio .chartFill2 { fill: #ff7b72; }
355
+ .theme-studio .chartStroke2 { stroke: #ff7b72; }
356
+ .theme-studio .chartFill3 { fill: #56d4c4; }
357
+ .theme-studio .chartStroke3 { stroke: #56d4c4; }
358
+ .theme-studio .chartFill4 { fill: #7ee787; }
359
+ .theme-studio .chartStroke4 { stroke: #7ee787; }
360
+ .theme-studio .chartFill5 { fill: #f2cc60; }
361
+ .theme-studio .chartStroke5 { stroke: #f2cc60; }
362
+ .theme-studio .chartFill6 { fill: #c08cff; }
363
+ .theme-studio .chartStroke6 { stroke: #c08cff; }
364
+ .theme-studio .chartFill7 { fill: #ff9bb3; }
365
+ .theme-studio .chartStroke7 { stroke: #ff9bb3; }
366
+ .theme-studio .chartFill8 { fill: #c4a48a; }
367
+ .theme-studio .chartStroke8 { stroke: #c4a48a; }
368
+
369
+ .theme-studio .cell { border-radius: 2px; }
370
+ .theme-studio .deck { gap: 10px; margin-top: 18px; }
371
+ .theme-studio .shot { border-radius: 2px; }
372
+ .theme-studio .cardcap {
373
+ font-size: 11px;
374
+ color: #9aa7b6;
375
+ line-height: 1.4;
376
+ margin-top: 8px;
377
+ }
378
+ .theme-studio .row { gap: 10px; }
379
+ .theme-studio .bar { background-color: #4ea3ff; margin-top: 6px; }
380
+ .theme-studio .barLabel { font-size: 11px; color: #0d1014; margin-left: 8px; }
381
+ .theme-studio .box,
382
+ .theme-studio .chip,
383
+ .theme-studio .tile { background-color: #232830; height: 44px; }
384
+ .theme-studio .boxLabel { font-size: 12px; color: #cdd6e0; margin-top: 14px; margin-left: 10px; }
385
+ .theme-studio .demo { background-color: #232830; }
386
+ .theme-studio .bordered { border-color: #4ea3ff; }
387
+ .theme-studio .inner { background-color: #4ea3ff; }
388
+ .theme-studio .nest { background-color: #1b1f26; margin-top: 8px; }
389
+ .theme-studio .l2 { background-color: #232830; }
390
+ .theme-studio .l3 { background-color: #2d343e; }
391
+ .theme-studio .l4 { background-color: #4ea3ff; }
392
+ .theme-studio .specimen { flex-direction: row; margin-top: 10px; }
393
+ .theme-studio .specLabel { font-size: 11px; color: #6f7c8c; width: 110px; margin-top: 8px; font-family: Noto Sans; }
394
+ .theme-studio .specText { font-size: 22px; color: #f2f5f8; }
395
+ .theme-studio .faceDisplay { font-family: Cinzel; }
396
+ .theme-studio .faceAlt { font-family: Josefin Sans; }
397
+ .theme-studio .faceBody { font-family: Noto Sans; }
398
+ .theme-studio .baseline { flex-direction: row; align-items: baseline; margin-top: 10px; }
399
+ .theme-studio .big { font-size: 28px; font-family: Josefin Sans; color: #4ea3ff; }
400
+ .theme-studio .small { font-size: 12px; color: #9aa7b6; margin-left: 10px; }
401
+
402
+ .theme-studio .seqRow { margin-top: 12px; gap: 14px; }
403
+ .theme-studio .seqGlyph { font-size: 32px; color: #f2f5f8; width: 52px; }
404
+ .theme-studio .seqName { font-size: 12px; font-family: Noto Sans; color: #f2f5f8; }
405
+ .theme-studio .seqNote { font-size: 11px; color: #9aa7b6; line-height: 1.45; margin-top: 3px; }
406
+ .theme-studio .tintRose,
407
+ .theme-studio .tintBlue,
408
+ .theme-studio .tintGreen { font-size: 19px; color: #f2f5f8; margin-top: 8px; }
409
+ .theme-studio .tintRose { emoji-color: #ff6b6b; }
410
+ .theme-studio .tintBlue { emoji-color: #4ea3ff; }
411
+ .theme-studio .tintGreen { emoji-color: #5fd08a; }
412
+
413
+ /* ==== theme: autumn — muted, broken tones on warm grey ================== */
414
+ /* Nothing here is a saturated colour. The palette is built from ochre, rust,
415
+ olive and clay knocked back toward grey, which is what keeps nine series
416
+ apart without any of them shouting. */
417
+
418
+ .theme-autumn .page {
419
+ background-color: #ece5d8;
420
+ padding: 44px;
421
+ font-family: Noto Sans;
422
+ }
423
+ .theme-autumn .eyebrow {
424
+ font-size: 11px;
425
+ color: #8a7660;
426
+ font-family: Noto Sans;
427
+ }
428
+ .theme-autumn .title {
429
+ font-size: 32px;
430
+ font-family: Cinzel;
431
+ color: #4a3b2c;
432
+ line-height: 1.15;
433
+ }
434
+ .theme-autumn .rule {
435
+ background-color: #a6603c;
436
+ height: 2px;
437
+ width: 120px;
438
+ margin-top: 13px;
439
+ }
440
+ .theme-autumn .subhead {
441
+ font-size: 12px;
442
+ font-family: Noto Sans;
443
+ color: #8a7660;
444
+ margin-top: 22px;
445
+ margin-bottom: 6px;
446
+ }
447
+ .theme-autumn .caption,
448
+ .theme-autumn .body {
449
+ font-size: 12px;
450
+ color: #6d5c4c;
451
+ line-height: 1.45;
452
+ margin-top: 12px;
453
+ }
454
+ .theme-autumn .spread { gap: 12px; margin-top: 20px; }
455
+ .theme-autumn .cell { background-color: #e0d6c4; }
456
+ .theme-autumn .deck { gap: 14px; margin-top: 18px; }
457
+ .theme-autumn .card { background-color: #e0d6c4; padding: 12px; }
458
+ .theme-autumn .shot { height: 120px; }
459
+ .theme-autumn .bar { background-color: #a6603c; }
460
+ .theme-autumn .demo { background-color: #d8cbb5; }
461
+ .theme-autumn .inner { background-color: #a6603c; }
462
+ .theme-autumn .bordered { border-color: #8a7660; }
463
+ .theme-autumn .nest { background-color: #d8cbb5; }
464
+ .theme-autumn .chip,
465
+ .theme-autumn .tile { background-color: #c9b699; }
466
+ .theme-autumn .vecRow { gap: 20px; margin-top: 6px; }
467
+ .theme-autumn .icon { stroke: #a6603c; stroke-width: 2.5; fill: none; }
468
+ .theme-autumn .iconSm { width: 28px; height: 28px; }
469
+ .theme-autumn .iconMd { width: 52px; height: 52px; }
470
+ .theme-autumn .iconLg { width: 84px; height: 84px; }
471
+ .theme-autumn .shape { width: 78px; height: 78px; fill: #4a3b2c; }
472
+ .theme-autumn .art { fill: #4a3b2c; }
473
+ .theme-autumn .artAccent { fill: #a6603c; }
474
+ .theme-autumn .artMuted { fill: #cbb79c; }
475
+ .theme-autumn .artSm { width: 34px; height: 34px; }
476
+ .theme-autumn .artMd { width: 62px; height: 62px; }
477
+ .theme-autumn .artLg { width: 98px; height: 98px; }
478
+ .theme-autumn .emblemSm { width: 54px; height: 65px; }
479
+ .theme-autumn .emblemLg { width: 100px; height: 120px; }
480
+ /* charts */
481
+ /* the calls that built the chart */
482
+ .theme-autumn .codeBlock { margin-top: 2px; margin-bottom: 2px; }
483
+ .theme-autumn .codeLine { font-size: 8px; font-family: Noto Sans; color: #8a7660; line-height: 1.5; }
484
+ .theme-autumn .chart { margin-top: 8px; margin-bottom: 4px; }
485
+ .theme-autumn .chartGrid { stroke: #cbbca7; }
486
+ .theme-autumn .chartTick,
487
+ .theme-autumn .chartDomain,
488
+ .theme-autumn .chartFrame { stroke: #a2907a; }
489
+ .theme-autumn .chartLabel { color: #6d5c4c; }
490
+ .theme-autumn .chartTitle { color: #43362a; }
491
+ .theme-autumn .chartFill0 { fill: #a6603c; }
492
+ .theme-autumn .chartStroke0 { stroke: #a6603c; }
493
+ .theme-autumn .chartFill1 { fill: #c98c4e; }
494
+ .theme-autumn .chartStroke1 { stroke: #c98c4e; }
495
+ .theme-autumn .chartFill2 { fill: #8c6239; }
496
+ .theme-autumn .chartStroke2 { stroke: #8c6239; }
497
+ .theme-autumn .chartFill3 { fill: #6f7d4e; }
498
+ .theme-autumn .chartStroke3 { stroke: #6f7d4e; }
499
+ .theme-autumn .chartFill4 { fill: #9c6b5a; }
500
+ .theme-autumn .chartStroke4 { stroke: #9c6b5a; }
501
+ .theme-autumn .chartFill5 { fill: #c2a04b; }
502
+ .theme-autumn .chartStroke5 { stroke: #c2a04b; }
503
+ .theme-autumn .chartFill6 { fill: #7a5c48; }
504
+ .theme-autumn .chartStroke6 { stroke: #7a5c48; }
505
+ .theme-autumn .chartFill7 { fill: #b58463; }
506
+ .theme-autumn .chartStroke7 { stroke: #b58463; }
507
+ .theme-autumn .chartFill8 { fill: #5f6b52; }
508
+ .theme-autumn .chartStroke8 { stroke: #5f6b52; }
@@ -0,0 +1,123 @@
1
+ /* GENERATED by gallery/vela/tools/vela_evg.rgr — do not edit by hand. */
2
+ /* The colours the Vega specifications asked for, as the DEFAULT layer:
3
+ a theme's own chart rules are scoped and override these, and a build
4
+ with no chart theme still draws the chart the spec described. */
5
+
6
+ .chartFrame { stroke: #8a8f98; }
7
+ .chartTick { stroke: #8a8f98; }
8
+ .chartLabel { color: #8a8f98; }
9
+ .chartDomain { stroke: #8a8f98; }
10
+ .chartTitle { color: #8a8f98; }
11
+ .chartText10 { color: #8a8f98; }
12
+ .chartFill0 { fill: rgb(69, 180, 194); }
13
+ .chartStroke0 { stroke: rgb(69, 180, 194); }
14
+ .chartFill1 { fill: #4c78a8; }
15
+ .chartStroke1 { stroke: #4c78a8; }
16
+ .chartFill2 { fill: rgb(212, 238, 180); }
17
+ .chartStroke2 { stroke: rgb(212, 238, 180); }
18
+ .chartFill3 { fill: rgb(134, 208, 187); }
19
+ .chartStroke3 { stroke: rgb(134, 208, 187); }
20
+ .chartFill4 { fill: rgb(28, 49, 133); }
21
+ .chartStroke4 { stroke: rgb(28, 49, 133); }
22
+ .chartFill5 { fill: rgb(34, 82, 161); }
23
+ .chartStroke5 { stroke: rgb(34, 82, 161); }
24
+ .chartFill6 { fill: rgb(79, 185, 193); }
25
+ .chartStroke6 { stroke: rgb(79, 185, 193); }
26
+ .chartFill7 { fill: rgb(239, 249, 189); }
27
+ .chartStroke7 { stroke: rgb(239, 249, 189); }
28
+ .chartFill8 { fill: rgb(32, 61, 146); }
29
+ .chartStroke8 { stroke: rgb(32, 61, 146); }
30
+ .chartFill9 { fill: rgb(84, 187, 192); }
31
+ .chartStroke9 { stroke: rgb(84, 187, 192); }
32
+ .chartFill10 { fill: #8a8f98; }
33
+ .chartStroke10 { stroke: #8a8f98; }
34
+ .chartFill11 { fill: rgb(234, 247, 187); }
35
+ .chartStroke11 { stroke: rgb(234, 247, 187); }
36
+ .chartFill12 { fill: rgb(229, 245, 185); }
37
+ .chartStroke12 { stroke: rgb(229, 245, 185); }
38
+ .chartFill13 { fill: rgb(224, 243, 182); }
39
+ .chartStroke13 { stroke: rgb(224, 243, 182); }
40
+ .chartFill14 { fill: rgb(219, 241, 180); }
41
+ .chartStroke14 { stroke: rgb(219, 241, 180); }
42
+ .chartFill15 { fill: rgb(204, 235, 181); }
43
+ .chartStroke15 { stroke: rgb(204, 235, 181); }
44
+ .chartFill16 { fill: rgb(197, 232, 181); }
45
+ .chartStroke16 { stroke: rgb(197, 232, 181); }
46
+ .chartFill17 { fill: rgb(189, 229, 181); }
47
+ .chartStroke17 { stroke: rgb(189, 229, 181); }
48
+ .chartFill18 { fill: rgb(179, 225, 182); }
49
+ .chartStroke18 { stroke: rgb(179, 225, 182); }
50
+ .chartFill19 { fill: rgb(169, 221, 183); }
51
+ .chartStroke19 { stroke: rgb(169, 221, 183); }
52
+ .chartFill20 { fill: rgb(158, 217, 184); }
53
+ .chartStroke20 { stroke: rgb(158, 217, 184); }
54
+ .chartFill21 { fill: rgb(148, 213, 185); }
55
+ .chartStroke21 { stroke: rgb(148, 213, 185); }
56
+ .chartFill22 { fill: rgb(137, 209, 186); }
57
+ .chartStroke22 { stroke: rgb(137, 209, 186); }
58
+ .chartFill23 { fill: rgb(126, 205, 188); }
59
+ .chartStroke23 { stroke: rgb(126, 205, 188); }
60
+ .chartFill24 { fill: rgb(116, 201, 189); }
61
+ .chartStroke24 { stroke: rgb(116, 201, 189); }
62
+ .chartFill25 { fill: rgb(105, 197, 190); }
63
+ .chartStroke25 { stroke: rgb(105, 197, 190); }
64
+ .chartFill26 { fill: rgb(96, 193, 191); }
65
+ .chartStroke26 { stroke: rgb(96, 193, 191); }
66
+ .chartFill27 { fill: rgb(87, 189, 192); }
67
+ .chartStroke27 { stroke: rgb(87, 189, 192); }
68
+ .chartFill28 { fill: rgb(78, 184, 193); }
69
+ .chartStroke28 { stroke: rgb(78, 184, 193); }
70
+ .chartFill29 { fill: rgb(63, 175, 194); }
71
+ .chartStroke29 { stroke: rgb(63, 175, 194); }
72
+ .chartFill30 { fill: rgb(57, 169, 193); }
73
+ .chartStroke30 { stroke: rgb(57, 169, 193); }
74
+ .chartFill31 { fill: rgb(50, 164, 193); }
75
+ .chartStroke31 { stroke: rgb(50, 164, 193); }
76
+ .chartFill32 { fill: rgb(44, 158, 192); }
77
+ .chartStroke32 { stroke: rgb(44, 158, 192); }
78
+ .chartFill33 { fill: rgb(41, 151, 190); }
79
+ .chartStroke33 { stroke: rgb(41, 151, 190); }
80
+ .chartFill34 { fill: rgb(38, 144, 188); }
81
+ .chartStroke34 { stroke: rgb(38, 144, 188); }
82
+ .chartFill35 { fill: rgb(36, 137, 186); }
83
+ .chartStroke35 { stroke: rgb(36, 137, 186); }
84
+ .chartFill36 { fill: rgb(33, 130, 184); }
85
+ .chartStroke36 { stroke: rgb(33, 130, 184); }
86
+ .chartFill37 { fill: rgb(33, 122, 181); }
87
+ .chartStroke37 { stroke: rgb(33, 122, 181); }
88
+ .chartFill38 { fill: rgb(33, 115, 177); }
89
+ .chartStroke38 { stroke: rgb(33, 115, 177); }
90
+ .chartFill39 { fill: rgb(33, 107, 173); }
91
+ .chartStroke39 { stroke: rgb(33, 107, 173); }
92
+ .chartFill40 { fill: rgb(33, 99, 170); }
93
+ .chartStroke40 { stroke: rgb(33, 99, 170); }
94
+ .chartFill41 { fill: rgb(34, 92, 167); }
95
+ .chartStroke41 { stroke: rgb(34, 92, 167); }
96
+ .chartFill42 { fill: rgb(34, 85, 163); }
97
+ .chartStroke42 { stroke: rgb(34, 85, 163); }
98
+ .chartFill43 { fill: rgb(35, 78, 160); }
99
+ .chartStroke43 { stroke: rgb(35, 78, 160); }
100
+ .chartFill44 { fill: rgb(35, 71, 156); }
101
+ .chartStroke44 { stroke: rgb(35, 71, 156); }
102
+ .chartFill45 { fill: rgb(33, 66, 150); }
103
+ .chartStroke45 { stroke: rgb(33, 66, 150); }
104
+ .chartFill46 { fill: rgb(32, 60, 145); }
105
+ .chartStroke46 { stroke: rgb(32, 60, 145); }
106
+ .chartFill47 { fill: rgb(30, 55, 139); }
107
+ .chartStroke47 { stroke: rgb(30, 55, 139); }
108
+ .chartFill48 { fill: #f58518; }
109
+ .chartStroke48 { stroke: #f58518; }
110
+ .chartFill49 { fill: #e45756; }
111
+ .chartStroke49 { stroke: #e45756; }
112
+ .chartFill50 { fill: #72b7b2; }
113
+ .chartStroke50 { stroke: #72b7b2; }
114
+ .chartFill51 { fill: #54a24b; }
115
+ .chartStroke51 { stroke: #54a24b; }
116
+ .chartFill52 { fill: #eeca3b; }
117
+ .chartStroke52 { stroke: #eeca3b; }
118
+ .chartFill53 { fill: #b279a2; }
119
+ .chartStroke53 { stroke: #b279a2; }
120
+ .chartFill54 { fill: #ff9da6; }
121
+ .chartStroke54 { stroke: #ff9da6; }
122
+ .chartFill55 { fill: #9d755d; }
123
+ .chartStroke55 { stroke: #9d755d; }
@@ -0,0 +1,15 @@
1
+ /* GENERATED by gallery/vela/tools/vela_evg.rgr — do not edit by hand. */
2
+ /* The colours the Vega specifications asked for, as the DEFAULT layer:
3
+ a theme's own chart rules are scoped and override these, and a build
4
+ with no chart theme still draws the chart the spec described. */
5
+
6
+ .chartFrame { stroke: #8a8f98; }
7
+ .chartGrid { stroke: #8a8f98; }
8
+ .chartTick { stroke: #8a8f98; }
9
+ .chartLabel { color: #8a8f98; }
10
+ .chartDomain { stroke: #8a8f98; }
11
+ .chartTitle { color: #8a8f98; }
12
+ .chartFill0 { fill: #4c78a8; }
13
+ .chartStroke0 { stroke: #4c78a8; }
14
+ .chartFill1 { fill: black; }
15
+ .chartStroke1 { stroke: black; }
@@ -0,0 +1,15 @@
1
+ /* GENERATED by gallery/vela/tools/vela_evg.rgr — do not edit by hand. */
2
+ /* The colours the Vega specifications asked for, as the DEFAULT layer:
3
+ a theme's own chart rules are scoped and override these, and a build
4
+ with no chart theme still draws the chart the spec described. */
5
+
6
+ .chartText0 { color: #8a8f98; }
7
+ .chartTick { stroke: #8a8f98; }
8
+ .chartLabel { color: #8a8f98; }
9
+ .chartDomain { stroke: #8a8f98; }
10
+ .chartTitle { color: #8a8f98; }
11
+ .chartGrid { stroke: #8a8f98; }
12
+ .chartFill0 { fill: #8a8f98; }
13
+ .chartStroke0 { stroke: #8a8f98; }
14
+ .chartFill1 { fill: #4c78a8; }
15
+ .chartStroke1 { stroke: #4c78a8; }