wayfolio 0.1.0a1__tar.gz
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.
- wayfolio-0.1.0a1/.agents/skills/design-ux/SKILL.md +206 -0
- wayfolio-0.1.0a1/.agents/skills/design-ux/references/audit-checklist.md +129 -0
- wayfolio-0.1.0a1/.agents/skills/design-ux/references/patterns.md +122 -0
- wayfolio-0.1.0a1/.agents/skills/design-ux/references/tokens.css +84 -0
- wayfolio-0.1.0a1/.agents/skills/design-ux/references/wayfolio-case.md +76 -0
- wayfolio-0.1.0a1/.env.example +6 -0
- wayfolio-0.1.0a1/.github/workflows/ci.yml +33 -0
- wayfolio-0.1.0a1/.github/workflows/publish.yml +27 -0
- wayfolio-0.1.0a1/.github/workflows/testpypi.yml +27 -0
- wayfolio-0.1.0a1/.gitignore +33 -0
- wayfolio-0.1.0a1/CHANGELOG.md +11 -0
- wayfolio-0.1.0a1/CONTRIBUTING.md +23 -0
- wayfolio-0.1.0a1/LICENSE +21 -0
- wayfolio-0.1.0a1/NOTICE +27 -0
- wayfolio-0.1.0a1/PKG-INFO +289 -0
- wayfolio-0.1.0a1/README.md +247 -0
- wayfolio-0.1.0a1/TODO.md +267 -0
- wayfolio-0.1.0a1/assets/amap-icons/README.md +90 -0
- wayfolio-0.1.0a1/assets/amap-icons/badges/bus.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/badges/food.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/badges/line-label-pill.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/badges/line-m16.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/badges/line-m4.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/badges/line-m9.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/badges/metro.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/badges/parking.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/badges/shop.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/badges/sight.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/badges/station-16.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/badges/station-4-9-16.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/badges/station-4.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/badges/station-9.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/badges/toilet.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/lines/m16.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/lines/m4.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/lines/m6.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/lines/m9.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/manifest.yaml +89 -0
- wayfolio-0.1.0a1/assets/amap-icons/source/fa6-bus.svg +1 -0
- wayfolio-0.1.0a1/assets/amap-icons/source/fa6-food.svg +1 -0
- wayfolio-0.1.0a1/assets/amap-icons/source/fa6-parking.svg +1 -0
- wayfolio-0.1.0a1/assets/amap-icons/source/fa6-shop.svg +1 -0
- wayfolio-0.1.0a1/assets/amap-icons/source/fa6-sight.svg +1 -0
- wayfolio-0.1.0a1/assets/amap-icons/source/fa6-toilet.svg +1 -0
- wayfolio-0.1.0a1/assets/amap-icons/source/fa6-train-subway.svg +1 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/bus.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/food.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/line-label-pill.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/metro.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/parking.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/shop.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/sight.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/station-16.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/station-4-9-16.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/station-4.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/station-9.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/toilet.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/bus.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/food.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/line-label-pill.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/metro.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/parking.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/shop.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/sight.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/station-16.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/station-4-9-16.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/station-4.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/station-9.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/toilet.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/badge/badges/bus.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/badge/badges/food.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/badge/badges/line-label-pill.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/badge/badges/metro.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/badge/badges/parking.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/badge/badges/shop.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/badge/badges/sight.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/badge/badges/station-16.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/badge/badges/station-4-9-16.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/badge/badges/station-4.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/badge/badges/station-9.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/badge/badges/toilet.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/ring/badges/bus.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/ring/badges/food.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/ring/badges/line-label-pill.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/ring/badges/metro.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/ring/badges/parking.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/ring/badges/shop.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/ring/badges/sight.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/ring/badges/station-16.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/ring/badges/station-4-9-16.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/ring/badges/station-4.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/ring/badges/station-9.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/midnight_blue/ring/badges/toilet.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/badge/badges/bus.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/badge/badges/food.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/badge/badges/line-label-pill.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/badge/badges/metro.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/badge/badges/parking.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/badge/badges/shop.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/badge/badges/sight.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/badge/badges/station-16.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/badge/badges/station-4-9-16.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/badge/badges/station-4.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/badge/badges/station-9.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/badge/badges/toilet.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/ring/badges/bus.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/ring/badges/food.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/ring/badges/line-label-pill.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/ring/badges/metro.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/ring/badges/parking.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/ring/badges/shop.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/ring/badges/sight.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/ring/badges/station-16.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/ring/badges/station-4-9-16.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/ring/badges/station-4.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/ring/badges/station-9.png +0 -0
- wayfolio-0.1.0a1/assets/amap-icons/themes/paper_ink/ring/badges/toilet.png +0 -0
- wayfolio-0.1.0a1/assets/beijing-subway-colors.json +53 -0
- wayfolio-0.1.0a1/cache/.gitkeep +0 -0
- wayfolio-0.1.0a1/config/.gitkeep +0 -0
- wayfolio-0.1.0a1/config/layers_booklet.yaml +19 -0
- wayfolio-0.1.0a1/config/layers_poster.yaml +17 -0
- wayfolio-0.1.0a1/config/outputs.yaml +47 -0
- wayfolio-0.1.0a1/config/paper_a0.yaml +12 -0
- wayfolio-0.1.0a1/config/paper_a3.yaml +12 -0
- wayfolio-0.1.0a1/config/paper_a4.yaml +12 -0
- wayfolio-0.1.0a1/config/park_zizhuyuan.yaml +1 -0
- wayfolio-0.1.0a1/config/poi_layers.yaml +78 -0
- wayfolio-0.1.0a1/config/source_regions.yaml +7 -0
- wayfolio-0.1.0a1/config/style_default.yaml +29 -0
- wayfolio-0.1.0a1/config/style_paper.yaml +34 -0
- wayfolio-0.1.0a1/config/style_paper_b.yaml +13 -0
- wayfolio-0.1.0a1/config/trip_day1_2.yaml +1 -0
- wayfolio-0.1.0a1/config/vector.yaml +13 -0
- wayfolio-0.1.0a1/data/Beijing/Fengtai/Lianhuachi/README.md +30 -0
- wayfolio-0.1.0a1/data/Beijing/Fengtai/Lianhuachi/boundary.geojson +202 -0
- wayfolio-0.1.0a1/data/Beijing/Fengtai/Lianhuachi/card.yaml +17 -0
- wayfolio-0.1.0a1/data/Beijing/Fengtai/Lianhuachi/display.yaml +38 -0
- wayfolio-0.1.0a1/data/Beijing/Fengtai/Lianhuachi/footer.yaml +5 -0
- wayfolio-0.1.0a1/data/Beijing/Fengtai/Lianhuachi/layout.yaml +224 -0
- wayfolio-0.1.0a1/data/Beijing/Fengtai/Lianhuachi/legend.yaml +70 -0
- wayfolio-0.1.0a1/data/Beijing/Fengtai/Lianhuachi/place.yaml +98 -0
- wayfolio-0.1.0a1/data/Beijing/Fengtai/Lianhuachi/pois_amap.yaml +222 -0
- wayfolio-0.1.0a1/data/Beijing/Fengtai/Lianhuachi/theme_override.yaml +95 -0
- wayfolio-0.1.0a1/data/Beijing/Fengtai/Lianhuachi/transit.yaml +542 -0
- wayfolio-0.1.0a1/data/Beijing/Fengtai/Lianhuachi/transit_label.yaml +60 -0
- wayfolio-0.1.0a1/data/Beijing/Fengtai/Lianhuachi/trip.yaml +28 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Linglongta/README.md +51 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Linglongta/boundary.geojson +1 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Linglongta/card.yaml +17 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Linglongta/display.yaml +38 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Linglongta/footer.yaml +6 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Linglongta/layout.yaml +126 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Linglongta/legend.yaml +53 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Linglongta/place.yaml +161 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Linglongta/pois_amap.yaml +278 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Linglongta/transit.yaml +4 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Linglongta/transit_label.yaml +60 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Linglongta/trip.yaml +27 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Zizhuyuan/README.md +424 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Zizhuyuan/archive/boundary_sinogdb_landuse.geojson +1 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Zizhuyuan/boundary.geojson +1 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Zizhuyuan/card.yaml +17 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Zizhuyuan/display.yaml +38 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Zizhuyuan/footer.yaml +6 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Zizhuyuan/layout.yaml +224 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Zizhuyuan/legend.yaml +90 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Zizhuyuan/place.yaml +700 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Zizhuyuan/pois_amap.yaml +891 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Zizhuyuan/review/water_labels.csv +10 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Zizhuyuan/theme_override.yaml +97 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Zizhuyuan/transit.yaml +1494 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Zizhuyuan/transit_label.yaml +60 -0
- wayfolio-0.1.0a1/data/Beijing/Haidian/Zizhuyuan/trip.yaml +37 -0
- wayfolio-0.1.0a1/data/park_zizhuyuan.geojson +1 -0
- wayfolio-0.1.0a1/data/places.yaml +44 -0
- wayfolio-0.1.0a1/data/pois_amap.yaml +1 -0
- wayfolio-0.1.0a1/docs/archive/2026-11-22-mvp-spec.txt +360 -0
- wayfolio-0.1.0a1/docs/archive/2026-11-22-naming.txt +94 -0
- wayfolio-0.1.0a1/docs/archive/README.md +25 -0
- wayfolio-0.1.0a1/docs/archive/SHA256SUMS +2 -0
- wayfolio-0.1.0a1/docs/cache-prune.md +64 -0
- wayfolio-0.1.0a1/docs/config-spec.md +814 -0
- wayfolio-0.1.0a1/docs/editor-ui.md +31 -0
- wayfolio-0.1.0a1/docs/handover.md +145 -0
- wayfolio-0.1.0a1/docs/icon-themes.md +82 -0
- wayfolio-0.1.0a1/docs/label-editor.md +193 -0
- wayfolio-0.1.0a1/docs/layout-editor.md +510 -0
- wayfolio-0.1.0a1/docs/legend-controls.md +72 -0
- wayfolio-0.1.0a1/docs/plan.md +683 -0
- wayfolio-0.1.0a1/docs/public-release.md +54 -0
- wayfolio-0.1.0a1/docs/source-cache.md +140 -0
- wayfolio-0.1.0a1/docs/spikes/layout-editor-m0.md +144 -0
- wayfolio-0.1.0a1/docs/theme-profiles.md +173 -0
- wayfolio-0.1.0a1/docs/visual-regression.md +40 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/README.md +90 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/badges/bus.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/badges/food.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/badges/line-label-pill.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/badges/line-m16.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/badges/line-m4.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/badges/line-m9.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/badges/metro.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/badges/parking.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/badges/shop.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/badges/sight.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/badges/station-16.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/badges/station-4-9-16.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/badges/station-4.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/badges/station-9.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/badges/toilet.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/lines/m16.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/lines/m4.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/lines/m6.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/lines/m9.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/manifest.yaml +89 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/source/fa6-bus.svg +1 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/source/fa6-food.svg +1 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/source/fa6-parking.svg +1 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/source/fa6-shop.svg +1 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/source/fa6-sight.svg +1 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/source/fa6-toilet.svg +1 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/source/fa6-train-subway.svg +1 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/bus.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/food.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/line-label-pill.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/metro.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/parking.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/shop.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/sight.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/station-16.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/station-4-9-16.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/station-4.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/station-9.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/badge/badges/toilet.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/bus.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/food.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/line-label-pill.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/metro.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/parking.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/shop.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/sight.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/station-16.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/station-4-9-16.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/station-4.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/station-9.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/mediterranean_summer_plus/ring/badges/toilet.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/badge/badges/bus.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/badge/badges/food.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/badge/badges/line-label-pill.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/badge/badges/metro.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/badge/badges/parking.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/badge/badges/shop.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/badge/badges/sight.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/badge/badges/station-16.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/badge/badges/station-4-9-16.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/badge/badges/station-4.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/badge/badges/station-9.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/badge/badges/toilet.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/ring/badges/bus.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/ring/badges/food.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/ring/badges/line-label-pill.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/ring/badges/metro.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/ring/badges/parking.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/ring/badges/shop.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/ring/badges/sight.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/ring/badges/station-16.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/ring/badges/station-4-9-16.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/ring/badges/station-4.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/ring/badges/station-9.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/midnight_blue/ring/badges/toilet.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/badge/badges/bus.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/badge/badges/food.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/badge/badges/line-label-pill.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/badge/badges/metro.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/badge/badges/parking.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/badge/badges/shop.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/badge/badges/sight.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/badge/badges/station-16.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/badge/badges/station-4-9-16.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/badge/badges/station-4.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/badge/badges/station-9.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/badge/badges/toilet.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/ring/badges/bus.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/ring/badges/food.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/ring/badges/line-label-pill.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/ring/badges/metro.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/ring/badges/parking.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/ring/badges/shop.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/ring/badges/sight.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/ring/badges/station-16.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/ring/badges/station-4-9-16.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/ring/badges/station-4.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/ring/badges/station-9.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/amap-icons/themes/paper_ink/ring/badges/toilet.png +0 -0
- wayfolio-0.1.0a1/examples/workspace/assets/beijing-subway-colors.json +53 -0
- wayfolio-0.1.0a1/examples/workspace/config/layers_booklet.yaml +19 -0
- wayfolio-0.1.0a1/examples/workspace/config/layers_poster.yaml +17 -0
- wayfolio-0.1.0a1/examples/workspace/config/paper_a0.yaml +12 -0
- wayfolio-0.1.0a1/examples/workspace/config/paper_a3.yaml +12 -0
- wayfolio-0.1.0a1/examples/workspace/config/paper_a4.yaml +12 -0
- wayfolio-0.1.0a1/examples/workspace/config/poi_layers.yaml +78 -0
- wayfolio-0.1.0a1/examples/workspace/config/source_regions.yaml +3 -0
- wayfolio-0.1.0a1/examples/workspace/config/style_default.yaml +29 -0
- wayfolio-0.1.0a1/examples/workspace/config/style_paper.yaml +34 -0
- wayfolio-0.1.0a1/examples/workspace/config/style_paper_b.yaml +13 -0
- wayfolio-0.1.0a1/examples/workspace/config/vector.yaml +9 -0
- wayfolio-0.1.0a1/examples/workspace/data/demo/boundary.geojson +38 -0
- wayfolio-0.1.0a1/examples/workspace/data/demo/card.yaml +17 -0
- wayfolio-0.1.0a1/examples/workspace/data/demo/display.yaml +38 -0
- wayfolio-0.1.0a1/examples/workspace/data/demo/footer.yaml +5 -0
- wayfolio-0.1.0a1/examples/workspace/data/demo/layout.yaml +224 -0
- wayfolio-0.1.0a1/examples/workspace/data/demo/legend.yaml +36 -0
- wayfolio-0.1.0a1/examples/workspace/data/demo/place.yaml +69 -0
- wayfolio-0.1.0a1/examples/workspace/data/demo/pois_amap.yaml +35 -0
- wayfolio-0.1.0a1/examples/workspace/data/demo/transit.yaml +3 -0
- wayfolio-0.1.0a1/examples/workspace/data/demo/transit_label.yaml +60 -0
- wayfolio-0.1.0a1/examples/workspace/data/demo/trip.yaml +8 -0
- wayfolio-0.1.0a1/examples/workspace/data/places.yaml +16 -0
- wayfolio-0.1.0a1/examples/workspace/themes/vector/mediterranean_summer_plus.json +33 -0
- wayfolio-0.1.0a1/examples/workspace/themes/vector/midnight_blue.json +35 -0
- wayfolio-0.1.0a1/examples/workspace/themes/vector/paper_ink.json +33 -0
- wayfolio-0.1.0a1/examples/workspace/typst/basemap.typ +23 -0
- wayfolio-0.1.0a1/examples/workspace/typst/basemap_book.typ +197 -0
- wayfolio-0.1.0a1/examples/workspace/typst/basemap_data.typ +65 -0
- wayfolio-0.1.0a1/examples/workspace/typst/components/.gitkeep +0 -0
- wayfolio-0.1.0a1/examples/workspace/typst/lib.typ +452 -0
- wayfolio-0.1.0a1/examples/workspace/typst/main.typ +26 -0
- wayfolio-0.1.0a1/examples/workspace/typst/poster.typ +540 -0
- wayfolio-0.1.0a1/examples/workspace/typst/poster_a3.typ +543 -0
- wayfolio-0.1.0a1/examples/workspace/typst/sample.typ +85 -0
- wayfolio-0.1.0a1/examples/workspace/typst/style_sheet.typ +165 -0
- wayfolio-0.1.0a1/out/.gitkeep +0 -0
- wayfolio-0.1.0a1/pyproject.toml +59 -0
- wayfolio-0.1.0a1/run.sh +24 -0
- wayfolio-0.1.0a1/scripts/bootstrap.sh +40 -0
- wayfolio-0.1.0a1/scripts/build_one.sh +66 -0
- wayfolio-0.1.0a1/src/wayfolio/__init__.py +3 -0
- wayfolio-0.1.0a1/src/wayfolio/__main__.py +4 -0
- wayfolio-0.1.0a1/src/wayfolio/basemap/__init__.py +23 -0
- wayfolio-0.1.0a1/src/wayfolio/basemap/amap_static.py +109 -0
- wayfolio-0.1.0a1/src/wayfolio/basemap/amap_tiles.py +191 -0
- wayfolio-0.1.0a1/src/wayfolio/basemap/osm_full.py +106 -0
- wayfolio-0.1.0a1/src/wayfolio/basemap/osm_tiles.py +184 -0
- wayfolio-0.1.0a1/src/wayfolio/basemap/provider.py +44 -0
- wayfolio-0.1.0a1/src/wayfolio/basemap/stub.py +110 -0
- wayfolio-0.1.0a1/src/wayfolio/basemap/vector.py +686 -0
- wayfolio-0.1.0a1/src/wayfolio/boundary.py +52 -0
- wayfolio-0.1.0a1/src/wayfolio/build.py +257 -0
- wayfolio-0.1.0a1/src/wayfolio/cache_admin.py +264 -0
- wayfolio-0.1.0a1/src/wayfolio/cli.py +777 -0
- wayfolio-0.1.0a1/src/wayfolio/config.py +175 -0
- wayfolio-0.1.0a1/src/wayfolio/crs.py +178 -0
- wayfolio-0.1.0a1/src/wayfolio/display.py +61 -0
- wayfolio-0.1.0a1/src/wayfolio/doctor.py +169 -0
- wayfolio-0.1.0a1/src/wayfolio/editor/__init__.py +1 -0
- wayfolio-0.1.0a1/src/wayfolio/editor/api.py +419 -0
- wayfolio-0.1.0a1/src/wayfolio/editor/boxes.py +182 -0
- wayfolio-0.1.0a1/src/wayfolio/editor/manager.py +390 -0
- wayfolio-0.1.0a1/src/wayfolio/editor/patch.py +171 -0
- wayfolio-0.1.0a1/src/wayfolio/editor/preview.py +300 -0
- wayfolio-0.1.0a1/src/wayfolio/editor/schema.py +306 -0
- wayfolio-0.1.0a1/src/wayfolio/editor/server.py +35 -0
- wayfolio-0.1.0a1/src/wayfolio/grid.py +200 -0
- wayfolio-0.1.0a1/src/wayfolio/i18n.py +289 -0
- wayfolio-0.1.0a1/src/wayfolio/icons.py +80 -0
- wayfolio-0.1.0a1/src/wayfolio/ir.py +123 -0
- wayfolio-0.1.0a1/src/wayfolio/labels.py +275 -0
- wayfolio-0.1.0a1/src/wayfolio/launcher.py +49 -0
- wayfolio-0.1.0a1/src/wayfolio/legend_mask.py +170 -0
- wayfolio-0.1.0a1/src/wayfolio/models.py +163 -0
- wayfolio-0.1.0a1/src/wayfolio/paths.py +56 -0
- wayfolio-0.1.0a1/src/wayfolio/place.py +67 -0
- wayfolio-0.1.0a1/src/wayfolio/planner.py +622 -0
- wayfolio-0.1.0a1/src/wayfolio/postprocess.py +82 -0
- wayfolio-0.1.0a1/src/wayfolio/routing.py +145 -0
- wayfolio-0.1.0a1/src/wayfolio/source.py +591 -0
- wayfolio-0.1.0a1/src/wayfolio/style.py +101 -0
- wayfolio-0.1.0a1/src/wayfolio/theme.py +183 -0
- wayfolio-0.1.0a1/src/wayfolio/theme_profiles.py +176 -0
- wayfolio-0.1.0a1/src/wayfolio/verify.py +86 -0
- wayfolio-0.1.0a1/src/wayfolio/workspace.py +37 -0
- wayfolio-0.1.0a1/tests/.gitkeep +0 -0
- wayfolio-0.1.0a1/tests/__init__.py +0 -0
- wayfolio-0.1.0a1/tests/test_amap_icons.py +30 -0
- wayfolio-0.1.0a1/tests/test_cache_admin.py +191 -0
- wayfolio-0.1.0a1/tests/test_config.py +72 -0
- wayfolio-0.1.0a1/tests/test_crs.py +88 -0
- wayfolio-0.1.0a1/tests/test_display.py +52 -0
- wayfolio-0.1.0a1/tests/test_editor.py +263 -0
- wayfolio-0.1.0a1/tests/test_grid.py +164 -0
- wayfolio-0.1.0a1/tests/test_i18n.py +153 -0
- wayfolio-0.1.0a1/tests/test_icons.py +78 -0
- wayfolio-0.1.0a1/tests/test_labels.py +120 -0
- wayfolio-0.1.0a1/tests/test_legend_mask.py +72 -0
- wayfolio-0.1.0a1/tests/test_place.py +26 -0
- wayfolio-0.1.0a1/tests/test_planner.py +190 -0
- wayfolio-0.1.0a1/tests/test_poi_flags.py +49 -0
- wayfolio-0.1.0a1/tests/test_source.py +266 -0
- wayfolio-0.1.0a1/tests/test_theme.py +39 -0
- wayfolio-0.1.0a1/tests/test_theme_profiles.py +73 -0
- wayfolio-0.1.0a1/tests/test_workspace.py +44 -0
- wayfolio-0.1.0a1/themes/vector/mediterranean_summer_plus.json +33 -0
- wayfolio-0.1.0a1/themes/vector/midnight_blue.json +35 -0
- wayfolio-0.1.0a1/themes/vector/paper_ink.json +33 -0
- wayfolio-0.1.0a1/tools/amap_labels.py +292 -0
- wayfolio-0.1.0a1/tools/boundary_overlay.py +73 -0
- wayfolio-0.1.0a1/tools/build_amap_icons.py +225 -0
- wayfolio-0.1.0a1/tools/build_basemap_book.py +76 -0
- wayfolio-0.1.0a1/tools/build_poster_a3.py +46 -0
- wayfolio-0.1.0a1/tools/build_transit.py +138 -0
- wayfolio-0.1.0a1/tools/fetch_amap_pois.py +210 -0
- wayfolio-0.1.0a1/tools/osm_full/fetch_tiles.py +82 -0
- wayfolio-0.1.0a1/tools/split_a0_basemap.py +101 -0
- wayfolio-0.1.0a1/tools/vector/README.md +41 -0
- wayfolio-0.1.0a1/tools/vector/data/building.geojson +1 -0
- wayfolio-0.1.0a1/tools/vector/data/land.geojson +1 -0
- wayfolio-0.1.0a1/tools/vector/data/road.geojson +1 -0
- wayfolio-0.1.0a1/tools/vector/data/water.geojson +1 -0
- wayfolio-0.1.0a1/tools/vector/export.py +40 -0
- wayfolio-0.1.0a1/tools/vector/fonts/IBM Plex Sans/0-255.pbf +0 -0
- wayfolio-0.1.0a1/tools/vector/fonts/IBM Plex Sans/256-511.pbf +0 -0
- wayfolio-0.1.0a1/tools/vector/gen-glyphs.mjs +20 -0
- wayfolio-0.1.0a1/tools/vector/osm_full/hybrid2_style.json +1 -0
- wayfolio-0.1.0a1/tools/vector/osm_full/hybrid_style.json +1 -0
- wayfolio-0.1.0a1/tools/vector/osm_full/index.html +23 -0
- wayfolio-0.1.0a1/tools/vector/osm_full/render.cjs +35 -0
- wayfolio-0.1.0a1/tools/vector/osm_full/style.json +86 -0
- wayfolio-0.1.0a1/tools/vector/osm_full/style_water.json +4 -0
- wayfolio-0.1.0a1/tools/vector/osm_full/style_water_ofm.json +4 -0
- wayfolio-0.1.0a1/tools/vector/out-spike.png +0 -0
- wayfolio-0.1.0a1/tools/vector/package-lock.json +404 -0
- wayfolio-0.1.0a1/tools/vector/package.json +18 -0
- wayfolio-0.1.0a1/tools/vector/render-one.cjs +37 -0
- wayfolio-0.1.0a1/tools/vector/render.html +351 -0
- wayfolio-0.1.0a1/tools/vector/run.cjs +16 -0
- wayfolio-0.1.0a1/tools/vector/server.mjs +13 -0
- wayfolio-0.1.0a1/tools/vector/spike/index.html +19 -0
- wayfolio-0.1.0a1/tools/vector/spike/maplibre/maplibre-gl-dev.mjs +64809 -0
- wayfolio-0.1.0a1/tools/vector/spike/maplibre/maplibre-gl-shared-dev.mjs +0 -0
- wayfolio-0.1.0a1/tools/vector/spike/maplibre/maplibre-gl-shared.mjs +0 -0
- wayfolio-0.1.0a1/tools/vector/spike/maplibre/maplibre-gl-worker-dev.mjs +36071 -0
- wayfolio-0.1.0a1/tools/vector/spike/maplibre/maplibre-gl-worker.mjs +10 -0
- wayfolio-0.1.0a1/tools/vector/spike/maplibre/maplibre-gl.css +1 -0
- wayfolio-0.1.0a1/tools/vector/spike/maplibre/maplibre-gl.mjs +850 -0
- wayfolio-0.1.0a1/tools/vector/spike/ofm_zh_style.json +1 -0
- wayfolio-0.1.0a1/tools/vector/spike/render.cjs +27 -0
- wayfolio-0.1.0a1/tools/vector/spike/render2.cjs +32 -0
- wayfolio-0.1.0a1/tools/visual_check.py +61 -0
- wayfolio-0.1.0a1/tools/write_out_manifest.py +73 -0
- wayfolio-0.1.0a1/typst/basemap.typ +23 -0
- wayfolio-0.1.0a1/typst/basemap_book.typ +197 -0
- wayfolio-0.1.0a1/typst/basemap_data.typ +65 -0
- wayfolio-0.1.0a1/typst/components/.gitkeep +0 -0
- wayfolio-0.1.0a1/typst/lib.typ +452 -0
- wayfolio-0.1.0a1/typst/main.typ +26 -0
- wayfolio-0.1.0a1/typst/poster.typ +540 -0
- wayfolio-0.1.0a1/typst/poster_a3.typ +543 -0
- wayfolio-0.1.0a1/typst/sample.typ +85 -0
- wayfolio-0.1.0a1/typst/style_sheet.typ +165 -0
- wayfolio-0.1.0a1/web/editor/app.js +1688 -0
- wayfolio-0.1.0a1/web/editor/index.html +240 -0
- wayfolio-0.1.0a1/web/editor/style.css +743 -0
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: design-ux
|
|
3
|
+
description: Use when designing, redesigning, or reviewing a web interface; when choosing typography, color, spacing, motion, or responsive behavior; when a dense tool UI needs clearer hierarchy and states; or when a marketing page needs a distinct visual direction. Not for generating images, print PDFs, or backend architecture.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Design UX
|
|
7
|
+
|
|
8
|
+
Design the **decision**, not the pixels. A good interface makes the next action obvious, shows what changed, and feels like one system.
|
|
9
|
+
|
|
10
|
+
Load only the references needed:
|
|
11
|
+
|
|
12
|
+
- `references/audit-checklist.md` — audit an existing page.
|
|
13
|
+
- `references/patterns.md` — dense tool / marketing / state patterns.
|
|
14
|
+
- `references/wayfolio-case.md` — a worked case study.
|
|
15
|
+
- `references/tokens.css` — starter token sheet.
|
|
16
|
+
|
|
17
|
+
## 0. Classify before styling
|
|
18
|
+
|
|
19
|
+
| Type | Primary goal | Default density |
|
|
20
|
+
| --- | --- | --- |
|
|
21
|
+
| Marketing / brand | desire, trust, differentiation | airy |
|
|
22
|
+
| Product / tool | speed, clarity, low error | compact |
|
|
23
|
+
| Content / docs | reading rhythm, findability | medium |
|
|
24
|
+
| Hybrid | one clear primary job | medium |
|
|
25
|
+
|
|
26
|
+
Do not apply marketing-page rules (huge hero, one section per screen, floating nav) to a tool. Do not apply tool rules (dense forms, inspector panels) to a brand page.
|
|
27
|
+
|
|
28
|
+
## 1. Write a one-screen brief
|
|
29
|
+
|
|
30
|
+
Before code, state:
|
|
31
|
+
|
|
32
|
+
1. **Who** uses it and in what context.
|
|
33
|
+
2. **The one job** of this screen.
|
|
34
|
+
3. **Primary action** (only one).
|
|
35
|
+
4. **Three adjectives** for the feel.
|
|
36
|
+
5. **Anti-goals** (what it must not become).
|
|
37
|
+
6. **One distinctive move** (type, color, spatial, or motion).
|
|
38
|
+
|
|
39
|
+
If these cannot be stated in six lines, the page is not ready to style.
|
|
40
|
+
|
|
41
|
+
## 2. Audit the current state
|
|
42
|
+
|
|
43
|
+
Capture 390 / 768 / 1440 widths. For each, list:
|
|
44
|
+
|
|
45
|
+
- What draws the eye first; is it the primary action?
|
|
46
|
+
- Where does the user hesitate or scroll unnecessarily?
|
|
47
|
+
- Which states are missing: loading, empty, error, dirty, saved?
|
|
48
|
+
- Which controls are below 24px targets or lack focus rings?
|
|
49
|
+
- Which text fails 4.5:1 contrast?
|
|
50
|
+
- Which sections repeat the same hierarchy?
|
|
51
|
+
|
|
52
|
+
Use `references/audit-checklist.md` for the full pass.
|
|
53
|
+
|
|
54
|
+
## 3. Build the system before the page
|
|
55
|
+
|
|
56
|
+
### Typography
|
|
57
|
+
|
|
58
|
+
- Pick a **display**, **body**, and **mono** role. Do not default to Inter/Roboto/system-only unless the brand is deliberately neutral.
|
|
59
|
+
- Use 3–5 sizes, not ten. Tool body 13–15px; marketing body 16–18px.
|
|
60
|
+
- Numbers in tables, coordinates, and units use `font-variant-numeric: tabular-nums`.
|
|
61
|
+
- CJK: prefer a real CJK face; never let Latin fallback decide the line height.
|
|
62
|
+
|
|
63
|
+
### Spacing
|
|
64
|
+
|
|
65
|
+
- Use a 4/8 scale: 4, 8, 12, 16, 24, 32, 48.
|
|
66
|
+
- Tool controls 32–36px high; touch surfaces 40–44px.
|
|
67
|
+
- Group with proximity first, borders second. Do not put a card around everything.
|
|
68
|
+
|
|
69
|
+
### Color
|
|
70
|
+
|
|
71
|
+
- Define roles, not hex soup: `bg`, `surface`, `ink`, `muted`, `line`, `accent`, `success`, `warning`, `danger`.
|
|
72
|
+
- 60% background, 30% surface/ink, 10% accent.
|
|
73
|
+
- One accent for action; a second warm color only for emphasis.
|
|
74
|
+
- Verify contrast in the actual surface, not against white.
|
|
75
|
+
|
|
76
|
+
### Shape and depth
|
|
77
|
+
|
|
78
|
+
- One radius family: 6–8px controls, 10–14px panels, pills only for status.
|
|
79
|
+
- Two shadows maximum: raised and overlay. Do not combine glow, blur, and gradient on every card.
|
|
80
|
+
|
|
81
|
+
## 4. Choose the layout
|
|
82
|
+
|
|
83
|
+
### Dense tool
|
|
84
|
+
|
|
85
|
+
```text
|
|
86
|
+
top bar: identity · context · status · primary action
|
|
87
|
+
main: canvas / table (flex) + inspector (300–340px)
|
|
88
|
+
footer: status, errors, save state
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
- Inspector is object-first: select an object, show only its properties.
|
|
92
|
+
- Sticky inspector header; collapsible groups; no 8-section endless scroll.
|
|
93
|
+
- Keep the canvas dominant; panel width must not exceed ~22% on desktop.
|
|
94
|
+
- Mobile: inspector becomes a drawer with focus trap and Escape to close.
|
|
95
|
+
|
|
96
|
+
### Marketing
|
|
97
|
+
|
|
98
|
+
- One idea per viewport; real product evidence over abstract cards.
|
|
99
|
+
- Max content width 1200–1440px; equal left/right edges.
|
|
100
|
+
- Type and one strong image can carry the page; do not fill every slot.
|
|
101
|
+
- Motion: one entrance and one or two deliberate moments, not ambient noise.
|
|
102
|
+
|
|
103
|
+
## 5. Design states, not screens
|
|
104
|
+
|
|
105
|
+
Every interactive surface needs:
|
|
106
|
+
|
|
107
|
+
`default · hover · focus-visible · active · disabled · loading · empty · error · success`
|
|
108
|
+
|
|
109
|
+
For editors, also model:
|
|
110
|
+
|
|
111
|
+
`dirty · previewing · pending-apply · applied · saved`
|
|
112
|
+
|
|
113
|
+
Rules:
|
|
114
|
+
|
|
115
|
+
- Cheap edits preview immediately.
|
|
116
|
+
- Expensive edits (rebuild, export, remote save) are explicit and show progress.
|
|
117
|
+
- “Save” and “Apply” must have a stated relationship. Prefer: save applies pending work first, so YAML/state and preview cannot diverge silently.
|
|
118
|
+
- Never hide unsaved work behind a single small footer number.
|
|
119
|
+
|
|
120
|
+
## 6. Motion
|
|
121
|
+
|
|
122
|
+
- 120–240ms for feedback and continuity; 300–400ms for overlays.
|
|
123
|
+
- Animate transform/opacity, not layout.
|
|
124
|
+
- Springs only for physical/playful products; tools get eased fades and slides.
|
|
125
|
+
- Respect `prefers-reduced-motion`.
|
|
126
|
+
- No looping decorative animation behind text.
|
|
127
|
+
|
|
128
|
+
## 7. Accessibility is part of the design
|
|
129
|
+
|
|
130
|
+
- WCAG AA contrast: 4.5:1 body, 3:1 large text and UI boundaries.
|
|
131
|
+
- Visible `:focus-visible` ring on every control.
|
|
132
|
+
- Label every input; placeholder is not a label.
|
|
133
|
+
- Keyboard: Escape exits mode, Tab order follows visual order, dialogs trap focus and restore it.
|
|
134
|
+
- Do not encode meaning with color alone.
|
|
135
|
+
- Target sizes: 24px minimum, 40–44px for touch.
|
|
136
|
+
- Use `aria-live` for status, `aria-expanded` for drawers, and `aria-hidden` for decorative layers.
|
|
137
|
+
|
|
138
|
+
## 8. My defaults (adapt, don’t blindly copy)
|
|
139
|
+
|
|
140
|
+
- Prefer paper/ink warmth over blue-white SaaS defaults.
|
|
141
|
+
- Prefer a serif/display face for identity, a clean CJK sans for UI, mono for data.
|
|
142
|
+
- Generous outer margins, compact inner controls: contrast between calm frame and dense work area.
|
|
143
|
+
- Gold/ochre as the action accent; teal/green as structure; avoid purple gradients.
|
|
144
|
+
- Shadows should feel like paper lift, not neon glow.
|
|
145
|
+
- One strong spatial idea beats ten small decorations.
|
|
146
|
+
|
|
147
|
+
## 9. Never ship
|
|
148
|
+
|
|
149
|
+
- Purple gradient + white cards + Inter as the default “AI design”.
|
|
150
|
+
- Every section in an identical card grid.
|
|
151
|
+
- A huge hero inside a productivity tool.
|
|
152
|
+
- Three different apply/save buttons with no state model.
|
|
153
|
+
- Icon-only controls without labels or tooltips.
|
|
154
|
+
- Text over a busy image without a real contrast strategy.
|
|
155
|
+
- Placeholder lorem, fake dashboards, or invented metrics.
|
|
156
|
+
- Animation on every hover; blur/glass everywhere.
|
|
157
|
+
- A mobile layout that is only a squeezed desktop.
|
|
158
|
+
|
|
159
|
+
## 10. Review rubric
|
|
160
|
+
|
|
161
|
+
Score 0–2 each; ship at 16/20 or above.
|
|
162
|
+
|
|
163
|
+
1. Primary action obvious in 3 seconds.
|
|
164
|
+
2. Hierarchy: one H1, clear sections, no competing accents.
|
|
165
|
+
3. Type: roles, scale, line length, CJK/Latin pairing.
|
|
166
|
+
4. Color: roles, contrast, restraint.
|
|
167
|
+
5. Spacing: 4/8 rhythm, grouping by proximity.
|
|
168
|
+
6. States: loading, empty, error, disabled, dirty/saved.
|
|
169
|
+
7. Accessibility: focus, labels, keyboard, targets.
|
|
170
|
+
8. Responsive: 390/768/1440, no horizontal overflow.
|
|
171
|
+
9. Motion: purposeful, reduced-motion safe.
|
|
172
|
+
10. Distinctiveness: one memorable move, no template smell.
|
|
173
|
+
|
|
174
|
+
## 11. Verify before handoff
|
|
175
|
+
|
|
176
|
+
- Screenshots at 390, 768, 1440.
|
|
177
|
+
- Keyboard-only pass: Tab, Shift+Tab, Enter, Escape.
|
|
178
|
+
- Contrast check on the real surfaces.
|
|
179
|
+
- No console errors, no horizontal scroll, no clipped text.
|
|
180
|
+
- Loading and error states tested with real latency/failure.
|
|
181
|
+
- If it is a tool: verify the save/apply state after every expensive action.
|
|
182
|
+
|
|
183
|
+
## Output format
|
|
184
|
+
|
|
185
|
+
When asked to design or review, return:
|
|
186
|
+
|
|
187
|
+
1. **Brief** (who / job / action / adjectives / anti-goals).
|
|
188
|
+
2. **Audit** (top 5 issues, evidence).
|
|
189
|
+
3. **Direction** (tokens + layout + one distinctive move).
|
|
190
|
+
4. **Changes** (prioritized P0/P1/P2).
|
|
191
|
+
5. **Verification** (what was checked).
|
|
192
|
+
|
|
193
|
+
Keep opinions tied to user tasks; “looks better” is not a reason.
|
|
194
|
+
|
|
195
|
+
## Reuse
|
|
196
|
+
|
|
197
|
+
This skill lives at `.agents/skills/design-ux/` in the project.
|
|
198
|
+
|
|
199
|
+
For personal reuse across projects:
|
|
200
|
+
|
|
201
|
+
```bash
|
|
202
|
+
mkdir -p ~/.dsh/skills
|
|
203
|
+
cp -r .agents/skills/design-ux ~/.dsh/skills/
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
For Claude Code / Codex, copy the same folder into that agent’s skills directory; the frontmatter uses the standard `name` + `description` fields.
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# UI / UX audit checklist
|
|
2
|
+
|
|
3
|
+
Use this before changing a page. Capture screenshots at 390, 768, and 1440 first; audit the real content, not a lorem mock.
|
|
4
|
+
|
|
5
|
+
## 0. Context
|
|
6
|
+
|
|
7
|
+
- [ ] Who is the user and what are they trying to finish?
|
|
8
|
+
- [ ] What is the one primary action on this screen?
|
|
9
|
+
- [ ] What can wait until a second screen?
|
|
10
|
+
- [ ] Is this a tool, a marketing page, a document, or a hybrid?
|
|
11
|
+
- [ ] What is the current failure mode: slow, confusing, ugly, or untrustworthy?
|
|
12
|
+
|
|
13
|
+
## 1. First impression
|
|
14
|
+
|
|
15
|
+
- [ ] In 3 seconds, can you tell what this page is for?
|
|
16
|
+
- [ ] Does the eye land on the primary action, or on decoration?
|
|
17
|
+
- [ ] Is there one clear H1?
|
|
18
|
+
- [ ] Does the page look like a specific product, or a template?
|
|
19
|
+
- [ ] Is the density appropriate for the task?
|
|
20
|
+
|
|
21
|
+
## 2. Information architecture
|
|
22
|
+
|
|
23
|
+
- [ ] Are sections named by user goals, not internal data models?
|
|
24
|
+
- [ ] Is the primary object selectable (card, row, label, block)?
|
|
25
|
+
- [ ] Does selecting an object reveal only relevant properties?
|
|
26
|
+
- [ ] Are advanced options behind progressive disclosure?
|
|
27
|
+
- [ ] Is there a persistent place for global context (project, document, account)?
|
|
28
|
+
|
|
29
|
+
## 3. Hierarchy and layout
|
|
30
|
+
|
|
31
|
+
- [ ] Is there one dominant element per region?
|
|
32
|
+
- [ ] Are related controls grouped by proximity before borders?
|
|
33
|
+
- [ ] Is the canvas/content area dominant in a tool?
|
|
34
|
+
- [ ] Are margins and gutters consistent (4/8 rhythm)?
|
|
35
|
+
- [ ] Does the page avoid a wall of identical cards?
|
|
36
|
+
- [ ] Is the reading measure under ~75 characters for prose?
|
|
37
|
+
|
|
38
|
+
## 4. Typography
|
|
39
|
+
|
|
40
|
+
- [ ] Are there distinct display/body/mono roles?
|
|
41
|
+
- [ ] Are there 3–5 sizes rather than many one-off sizes?
|
|
42
|
+
- [ ] Are numbers tabular where they align?
|
|
43
|
+
- [ ] Is CJK paired with a real CJK face, not fallback?
|
|
44
|
+
- [ ] Are line heights comfortable for the density?
|
|
45
|
+
- [ ] Are labels distinguishable from values?
|
|
46
|
+
|
|
47
|
+
## 5. Color and contrast
|
|
48
|
+
|
|
49
|
+
- [ ] Are colors defined as roles (`bg`, `surface`, `ink`, `muted`, `line`, `accent`)?
|
|
50
|
+
- [ ] Does body text reach 4.5:1 on its actual surface?
|
|
51
|
+
- [ ] Do large text and UI boundaries reach 3:1?
|
|
52
|
+
- [ ] Is the accent reserved for action/emphasis?
|
|
53
|
+
- [ ] Is meaning conveyed by more than color?
|
|
54
|
+
- [ ] Does the dark/light theme preserve hierarchy, not just invert colors?
|
|
55
|
+
|
|
56
|
+
## 6. Controls and forms
|
|
57
|
+
|
|
58
|
+
- [ ] Does every input have a visible label?
|
|
59
|
+
- [ ] Are units and constraints visible next to the field?
|
|
60
|
+
- [ ] Are defaults and “auto” states explicit?
|
|
61
|
+
- [ ] Are errors placed next to the field and summarized?
|
|
62
|
+
- [ ] Are disabled states obviously disabled, with a reason where useful?
|
|
63
|
+
- [ ] Are targets at least 24px, and 40–44px on touch?
|
|
64
|
+
- [ ] Is there a visible focus ring on every control?
|
|
65
|
+
|
|
66
|
+
## 7. States
|
|
67
|
+
|
|
68
|
+
- [ ] Default, hover, focus, active, disabled.
|
|
69
|
+
- [ ] Loading with progress for slow operations.
|
|
70
|
+
- [ ] Empty state with a next action.
|
|
71
|
+
- [ ] Error state with recovery, not just “failed”.
|
|
72
|
+
- [ ] Success state that says what changed.
|
|
73
|
+
- [ ] Dirty / saved / pending-apply for editors.
|
|
74
|
+
- [ ] Offline/timeout/retry where relevant.
|
|
75
|
+
|
|
76
|
+
## 8. Save and apply semantics
|
|
77
|
+
|
|
78
|
+
- [ ] Is “save” different from “apply”? If yes, is the difference visible?
|
|
79
|
+
- [ ] Can YAML/state and preview diverge silently?
|
|
80
|
+
- [ ] Does leaving the page warn about unsaved work?
|
|
81
|
+
- [ ] Do expensive operations show duration and allow cancellation?
|
|
82
|
+
- [ ] Does exporting apply pending work first?
|
|
83
|
+
- [ ] Is undo/redo scoped to the current document?
|
|
84
|
+
|
|
85
|
+
## 9. Keyboard and accessibility
|
|
86
|
+
|
|
87
|
+
- [ ] Tab order follows visual order.
|
|
88
|
+
- [ ] Escape exits modes, dialogs, and drawers.
|
|
89
|
+
- [ ] Dialogs trap focus and restore it on close.
|
|
90
|
+
- [ ] Drawers announce `aria-expanded` and return focus.
|
|
91
|
+
- [ ] Status updates use `aria-live`.
|
|
92
|
+
- [ ] Icons have accessible names.
|
|
93
|
+
- [ ] `prefers-reduced-motion` is respected.
|
|
94
|
+
- [ ] No keyboard trap without an escape.
|
|
95
|
+
|
|
96
|
+
## 10. Responsive
|
|
97
|
+
|
|
98
|
+
- [ ] 390: no horizontal scroll; primary action reachable.
|
|
99
|
+
- [ ] 768: panels become drawers or stack; canvas still usable.
|
|
100
|
+
- [ ] 1440: no over-stretched text; content width capped.
|
|
101
|
+
- [ ] Controls do not wrap into unreadable two-line buttons.
|
|
102
|
+
- [ ] Touch targets remain adequate.
|
|
103
|
+
- [ ] Sticky headers do not consume most of the viewport.
|
|
104
|
+
|
|
105
|
+
## 11. Motion
|
|
106
|
+
|
|
107
|
+
- [ ] Motion explains a change (enter, expand, reorder), not decorates.
|
|
108
|
+
- [ ] 120–240ms for feedback; 300–400ms for overlays.
|
|
109
|
+
- [ ] Only transform/opacity animate.
|
|
110
|
+
- [ ] No infinite background animation behind text.
|
|
111
|
+
- [ ] Reduced-motion fallback exists.
|
|
112
|
+
|
|
113
|
+
## 12. Content
|
|
114
|
+
|
|
115
|
+
- [ ] Real names, real numbers, real edge cases.
|
|
116
|
+
- [ ] No lorem ipsum or invented metrics in a shipped screen.
|
|
117
|
+
- [ ] Microcopy says what happened and what to do next.
|
|
118
|
+
- [ ] Units are visible and consistent.
|
|
119
|
+
- [ ] Chinese/English terminology is consistent.
|
|
120
|
+
|
|
121
|
+
## Output
|
|
122
|
+
|
|
123
|
+
Return:
|
|
124
|
+
|
|
125
|
+
1. **Top 5 issues** with screenshot/selector evidence.
|
|
126
|
+
2. **What is working** (do not rewrite it).
|
|
127
|
+
3. **Direction** (tokens, layout, one distinctive move).
|
|
128
|
+
4. **P0/P1/P2 changes**.
|
|
129
|
+
5. **Verification plan** (widths, states, keyboard, contrast).
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# UI patterns
|
|
2
|
+
|
|
3
|
+
Concrete patterns to adapt, not templates to paste blindly.
|
|
4
|
+
|
|
5
|
+
## Dense tool shell
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
┌ top bar 56–64px ────────────────────────────────┐
|
|
9
|
+
│ identity context / breadcrumb status action│
|
|
10
|
+
├────────────── canvas / table ───────────┬─ inspector 300–340px ─┤
|
|
11
|
+
│ │ sticky object header │
|
|
12
|
+
│ primary work surface │ selected object props │
|
|
13
|
+
│ │ advanced (collapsed) │
|
|
14
|
+
├────────────────────────────────────────┴────────────────────────┤
|
|
15
|
+
│ status / save state / errors │
|
|
16
|
+
└────────────────────────────────────────────────────────────────┘
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
- Canvas must remain the largest region. On desktop, inspector ≤ 22% width.
|
|
20
|
+
- Inspector is **object-first**: select the object, show only its properties.
|
|
21
|
+
- Use a sticky inspector header and 2–4 collapsible groups. Avoid 8+ permanent sections.
|
|
22
|
+
- Put global context (project, document, paper size) in the top bar or a fixed block.
|
|
23
|
+
- On ≤980px, turn the inspector into a right drawer: overlay, focus trap, Escape, return focus.
|
|
24
|
+
|
|
25
|
+
## Object-first inspector
|
|
26
|
+
|
|
27
|
+
```text
|
|
28
|
+
[Title card] [Legend] [Footer] [Attribution]
|
|
29
|
+
───────────────────────────────────────────
|
|
30
|
+
Title card
|
|
31
|
+
Content Title / coordinates
|
|
32
|
+
Typography size / font / tracking
|
|
33
|
+
Geometry X / Y / width / height
|
|
34
|
+
Fit reflow / shrink / clip
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
- Selecting on canvas highlights the object and switches the inspector.
|
|
38
|
+
- Keep the selected object’s name and type visible.
|
|
39
|
+
- Put destructive/reset actions at the bottom, separated.
|
|
40
|
+
- Show computed values (measured height, effective columns) next to editable ones.
|
|
41
|
+
|
|
42
|
+
## Forms
|
|
43
|
+
|
|
44
|
+
- Label above control; unit in the label (`Width (mm)`).
|
|
45
|
+
- 2-column rows only for naturally paired values (X/Y, min/max, width/height).
|
|
46
|
+
- Controls 32–36px high; 40–44px touch.
|
|
47
|
+
- Use `inputmode="decimal"` for numeric mobile inputs.
|
|
48
|
+
- “Auto” is a real state: empty field + `placeholder="auto"`, never a magic `0`.
|
|
49
|
+
- Validate on blur/change, not on every keystroke; show errors inline.
|
|
50
|
+
- Sliders always pair with a numeric value; never make a slider the only control.
|
|
51
|
+
- Color inputs pair with a text hex value for precision.
|
|
52
|
+
|
|
53
|
+
## Save / apply state machine
|
|
54
|
+
|
|
55
|
+
Use one visible model:
|
|
56
|
+
|
|
57
|
+
```text
|
|
58
|
+
saved ──edit──▶ dirty ──preview──▶ previewing
|
|
59
|
+
▲ │
|
|
60
|
+
│ ├─ cheap edit: preview latest
|
|
61
|
+
│ └─ expensive: pending-apply
|
|
62
|
+
└──────── save (applies pending first) ────────┘
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Rules:
|
|
66
|
+
|
|
67
|
+
- Cheap edits: text, position, width, visibility → immediate preview.
|
|
68
|
+
- Expensive edits: theme, palette, POI levels, label overrides → explicit “Apply” with duration.
|
|
69
|
+
- Save applies pending work before writing, or warns that the preview is stale.
|
|
70
|
+
- Export applies everything, then runs the build and verifies.
|
|
71
|
+
- Show a state pill in the top bar: `Saved · preview current`, `Unsaved · 2 pending`, `Rebuilding 12s`, `Error`.
|
|
72
|
+
- Warn on close/reload/switch when dirty.
|
|
73
|
+
- Keep a draft snapshot if the user reloads accidentally.
|
|
74
|
+
|
|
75
|
+
## Loading and errors
|
|
76
|
+
|
|
77
|
+
- Initial load > 1s: skeleton or step list, not a spinner alone.
|
|
78
|
+
- Long rebuild: show current step and elapsed time; allow cancel if safe.
|
|
79
|
+
- Errors: summary in the status bar, details in a dismissible panel; keep the failed input intact.
|
|
80
|
+
- Distinguish “nothing here” (empty) from “could not load” (error) from “still loading”.
|
|
81
|
+
- After success, say what changed and where it was saved.
|
|
82
|
+
|
|
83
|
+
## Canvas / label editing
|
|
84
|
+
|
|
85
|
+
- 41 overlapping labels are not clickable by hand. Provide a searchable list.
|
|
86
|
+
- Selecting a label should dim the others and keep the selected one on top.
|
|
87
|
+
- Dragging on canvas is a shortcut; the list is the reliable path.
|
|
88
|
+
- Show a small badge for manual overrides and a “restore automatic” action.
|
|
89
|
+
- Batch operations by type (show/hide category) beat multi-select for v1.
|
|
90
|
+
- When a label is moved, distinguish “preview moved” from “applied to basemap”.
|
|
91
|
+
- Provide Escape to exit the mode and a visible mode label.
|
|
92
|
+
|
|
93
|
+
## Marketing page
|
|
94
|
+
|
|
95
|
+
- One idea per viewport; real product evidence over abstract feature cards.
|
|
96
|
+
- Hero: display type + one strong image/artifact, not a gradient blob.
|
|
97
|
+
- Max width 1200–1440px; equal left/right edges.
|
|
98
|
+
- One distinctive move: editorial type, a drawn object, a strong grid break, a real photograph.
|
|
99
|
+
- Motion: one entrance, one or two moments; no ambient loops.
|
|
100
|
+
- Footer is a closing section, not a link dump.
|
|
101
|
+
- Do not fake UI screenshots; build a real small UI or use a real product capture.
|
|
102
|
+
|
|
103
|
+
## Mobile
|
|
104
|
+
|
|
105
|
+
- Tools: inspector drawer, canvas first, primary action in the top bar.
|
|
106
|
+
- Marketing: single column, hero image after the promise, tap targets 44px.
|
|
107
|
+
- Avoid two-line buttons; shorten labels at breakpoints instead of letting them wrap.
|
|
108
|
+
- Test 390px, not just 768px.
|
|
109
|
+
- Do not hide critical actions behind hover.
|
|
110
|
+
|
|
111
|
+
## Anti-patterns
|
|
112
|
+
|
|
113
|
+
- Purple gradient + white cards + Inter as the default “AI design”.
|
|
114
|
+
- Every section in the same card grid.
|
|
115
|
+
- A giant hero inside a productivity tool.
|
|
116
|
+
- Three save/apply buttons with no state model.
|
|
117
|
+
- Icon-only controls with no label or tooltip.
|
|
118
|
+
- Text over a busy image without a contrast strategy.
|
|
119
|
+
- Placeholder dashboards and invented metrics.
|
|
120
|
+
- Motion on every hover; glassmorphism everywhere.
|
|
121
|
+
- A mobile layout that is only a squeezed desktop.
|
|
122
|
+
- Hiding the primary action in a “more” menu without a reason.
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* Starter design tokens. Copy, then adapt roles to the product. */
|
|
2
|
+
:root {
|
|
3
|
+
/* surfaces */
|
|
4
|
+
--bg: #e8e3d6;
|
|
5
|
+
--surface: #fffdf8;
|
|
6
|
+
--surface-2: #f3f0e6;
|
|
7
|
+
--overlay: rgb(24 35 27 / 45%);
|
|
8
|
+
|
|
9
|
+
/* ink */
|
|
10
|
+
--ink: #18231b;
|
|
11
|
+
--ink-soft: #34443a;
|
|
12
|
+
--muted: #61705f;
|
|
13
|
+
--line: #d8d1c0;
|
|
14
|
+
--line-strong: #beb4a0;
|
|
15
|
+
|
|
16
|
+
/* action and status */
|
|
17
|
+
--accent: #0b5d6b;
|
|
18
|
+
--accent-soft: rgb(11 93 107 / 9%);
|
|
19
|
+
--gold: #d9900a;
|
|
20
|
+
--danger: #b23a2b;
|
|
21
|
+
--success: #3f7a56;
|
|
22
|
+
--warning: #a56a00;
|
|
23
|
+
|
|
24
|
+
/* type */
|
|
25
|
+
--font-display: "LXGW WenKai", "Noto Serif CJK SC", serif;
|
|
26
|
+
--font-body: "LXGW Neo XiHei Plus", "Noto Sans CJK SC", system-ui, sans-serif;
|
|
27
|
+
--font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
|
|
28
|
+
|
|
29
|
+
/* scale */
|
|
30
|
+
--text-xs: 10px;
|
|
31
|
+
--text-sm: 11.5px;
|
|
32
|
+
--text-base: 13px;
|
|
33
|
+
--text-lg: 16px;
|
|
34
|
+
--text-xl: 20px;
|
|
35
|
+
--text-display: 28px;
|
|
36
|
+
|
|
37
|
+
--space-1: 4px;
|
|
38
|
+
--space-2: 8px;
|
|
39
|
+
--space-3: 12px;
|
|
40
|
+
--space-4: 16px;
|
|
41
|
+
--space-6: 24px;
|
|
42
|
+
--space-8: 32px;
|
|
43
|
+
|
|
44
|
+
--control-h: 34px;
|
|
45
|
+
--touch-h: 44px;
|
|
46
|
+
--radius-control: 8px;
|
|
47
|
+
--radius-panel: 12px;
|
|
48
|
+
|
|
49
|
+
--shadow-raised: 0 1px 2px rgb(24 35 27 / 6%), 0 2px 8px rgb(24 35 27 / 4%);
|
|
50
|
+
--shadow-overlay: 0 24px 60px rgb(24 35 27 / 18%);
|
|
51
|
+
|
|
52
|
+
--duration-fast: 140ms;
|
|
53
|
+
--duration-base: 220ms;
|
|
54
|
+
--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* Dense tool variant */
|
|
58
|
+
[data-density="tool"] {
|
|
59
|
+
--text-base: 13px;
|
|
60
|
+
--control-h: 34px;
|
|
61
|
+
--space-section: 14px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* Airy marketing variant */
|
|
65
|
+
[data-density="marketing"] {
|
|
66
|
+
--text-base: 16px;
|
|
67
|
+
--text-display: 44px;
|
|
68
|
+
--space-section: 32px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
:focus-visible {
|
|
72
|
+
outline: 2px solid var(--gold);
|
|
73
|
+
outline-offset: 2px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@media (prefers-reduced-motion: reduce) {
|
|
77
|
+
*,
|
|
78
|
+
*::before,
|
|
79
|
+
*::after {
|
|
80
|
+
animation-duration: 0.01ms !important;
|
|
81
|
+
animation-iteration-count: 1 !important;
|
|
82
|
+
transition-duration: 0.01ms !important;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Case study: Wayfolio layout editor
|
|
2
|
+
|
|
3
|
+
A worked example of applying this skill to a dense, canvas-based tool.
|
|
4
|
+
|
|
5
|
+
## Context
|
|
6
|
+
|
|
7
|
+
- A local web editor for map-poster YAML.
|
|
8
|
+
- Users adjust a title card, legend, labels, theme, and export a PDF.
|
|
9
|
+
- The map preview is the primary content; the right panel is the inspector.
|
|
10
|
+
- Export/rebuild can take 5–30 seconds; cheap text edits take 0.3–1.5s.
|
|
11
|
+
|
|
12
|
+
## Problems found in the first audit
|
|
13
|
+
|
|
14
|
+
1. The right panel was a single 380px column of eight sections; settings were hard to find.
|
|
15
|
+
2. Three different “apply” paths: auto-preview, explicit apply for labels/theme, save to YAML. The footer only said “pending: N”.
|
|
16
|
+
3. Label mode drew 41 overlapping boxes on the canvas; selecting the intended label was unreliable.
|
|
17
|
+
4. The mobile header overflowed and shortened labels only at 720px.
|
|
18
|
+
5. A stale CSS file + new HTML produced a broken layout; asset versioning was missing.
|
|
19
|
+
6. The legend column formula counted data items but not the “metro station” cell, so transit always wrapped to two rows.
|
|
20
|
+
|
|
21
|
+
## Design decisions
|
|
22
|
+
|
|
23
|
+
### Frame and density
|
|
24
|
+
|
|
25
|
+
- Paper/ink warmth instead of blue-white SaaS.
|
|
26
|
+
- Display face for identity, CJK sans for UI, mono for coordinates/status.
|
|
27
|
+
- Compact controls (32–36px), generous outer margins; the canvas stays dominant.
|
|
28
|
+
- Inspector width 320px desktop, 300px at ≤1200px; drawer at ≤980px.
|
|
29
|
+
|
|
30
|
+
### Information architecture
|
|
31
|
+
|
|
32
|
+
- Inspector header with a single “Properties” focus.
|
|
33
|
+
- Sections are cards, not one endless rule-separated list.
|
|
34
|
+
- Global context (place/paper) stays at the top.
|
|
35
|
+
- Expensive operations use a separate apply/rebuild step.
|
|
36
|
+
|
|
37
|
+
### States
|
|
38
|
+
|
|
39
|
+
- Dirty/pending is visible, not only a number.
|
|
40
|
+
- Expensive actions show duration.
|
|
41
|
+
- Drawer focus trap and Escape.
|
|
42
|
+
- Exact overflow detection via PDF text bounds; red box + status message.
|
|
43
|
+
|
|
44
|
+
### Typography and tokens
|
|
45
|
+
|
|
46
|
+
```css
|
|
47
|
+
--bg: #e8e3d6;
|
|
48
|
+
--surface: #fffdf8;
|
|
49
|
+
--ink: #18231b;
|
|
50
|
+
--muted: #61705f;
|
|
51
|
+
--line: #d8d1c0;
|
|
52
|
+
--accent: #0b5d6b;
|
|
53
|
+
--gold: #d9900a;
|
|
54
|
+
--radius-control: 8px;
|
|
55
|
+
--radius-panel: 12px;
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
- Contrast measured: labels 5.18:1, section titles 7.4:1, status bar 9.9:1.
|
|
59
|
+
- Breakpoints verified: 390, 430, 600, 720/721, 768, 820/821, 900, 980, 1024, 1100, 1200, 1366, 1500.
|
|
60
|
+
- No horizontal overflow at any of those widths.
|
|
61
|
+
|
|
62
|
+
## What was deliberately not done
|
|
63
|
+
|
|
64
|
+
- No marketing hero, floating nav, or spring animation inside the tool.
|
|
65
|
+
- No full visual rewrite of the map canvas.
|
|
66
|
+
- No multi-select labels in v1; batch by type first.
|
|
67
|
+
- No autosave by default; explicit save + dirty warning is safer for a YAML source of truth.
|
|
68
|
+
|
|
69
|
+
## Transferable lessons
|
|
70
|
+
|
|
71
|
+
1. Fix the **state model** before the palette. Users forgive plain visuals, not “did my change save?”.
|
|
72
|
+
2. Count **real layout cells**, not data items. The metro station cell caused a two-row bug that width could never fix.
|
|
73
|
+
3. Measure, don’t guess: Typst `measure`/PDF text bounds beat width-to-column magic numbers.
|
|
74
|
+
4. Use one asset version query after CSS/JS edits; stale assets can look like a catastrophic layout bug.
|
|
75
|
+
5. The first screen a user sees after a redesign is often a cached mix of old and new. Verify with a hard refresh and a version query.
|
|
76
|
+
6. Dense tools need **one object at a time** in the inspector, not every property at once.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
name: ci
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
pull_request:
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
test:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
strategy:
|
|
11
|
+
matrix:
|
|
12
|
+
python-version: ["3.12"]
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v4
|
|
15
|
+
- uses: actions/setup-python@v5
|
|
16
|
+
with:
|
|
17
|
+
python-version: ${{ matrix.python-version }}
|
|
18
|
+
- name: Install
|
|
19
|
+
run: |
|
|
20
|
+
python -m pip install --upgrade pip
|
|
21
|
+
pip install -e ".[editor,vector]"
|
|
22
|
+
pip install build
|
|
23
|
+
- name: Tests
|
|
24
|
+
run: python -m unittest discover -s tests -t .
|
|
25
|
+
- name: Build wheel
|
|
26
|
+
run: python -m build --wheel
|
|
27
|
+
- name: Install wheel smoke test
|
|
28
|
+
run: |
|
|
29
|
+
python -m venv /tmp/wf-wheel
|
|
30
|
+
/tmp/wf-wheel/bin/pip install dist/*.whl
|
|
31
|
+
/tmp/wf-wheel/bin/wayfolio --help
|
|
32
|
+
/tmp/wf-wheel/bin/wayfolio init /tmp/wf-ws
|
|
33
|
+
/tmp/wf-wheel/bin/wayfolio --root /tmp/wf-ws build --place demo/park --paper a3 --basemap stub --route straight
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
name: publish
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
pypi:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
environment: pypi
|
|
15
|
+
permissions:
|
|
16
|
+
id-token: write
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v4
|
|
19
|
+
- uses: actions/setup-python@v5
|
|
20
|
+
with:
|
|
21
|
+
python-version: "3.12"
|
|
22
|
+
- name: Build
|
|
23
|
+
run: |
|
|
24
|
+
python -m pip install --upgrade pip build
|
|
25
|
+
python -m build
|
|
26
|
+
- name: Publish to PyPI
|
|
27
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|