pm-workflow-studio 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/CLAUDE.md +31 -0
- package/.claude/agents/demand-analyst.md +26 -0
- package/.claude/agents/dev-planner.md +22 -0
- package/.claude/agents/product-manager.md +25 -0
- package/.claude/agents/quality-reviewer.md +31 -0
- package/.claude/agents/tech-architect.md +22 -0
- package/.claude/agents/ui-designer.md +39 -0
- package/.claude/commands/pm-workflow/analyze.md +6 -0
- package/.claude/commands/pm-workflow/architect.md +6 -0
- package/.claude/commands/pm-workflow/deliver.md +6 -0
- package/.claude/commands/pm-workflow/design.md +6 -0
- package/.claude/commands/pm-workflow/help.md +6 -0
- package/.claude/commands/pm-workflow/init.md +8 -0
- package/.claude/commands/pm-workflow/plan.md +6 -0
- package/.claude/commands/pm-workflow/review.md +6 -0
- package/.claude/commands/pm-workflow/status.md +6 -0
- package/.claude/commands/pm-workflow.md +13 -0
- package/.claude/settings.json +15 -0
- package/.claude/skills/demand-analysis/SKILL.md +50 -0
- package/.claude/skills/demand-analysis/templates/handoff-prd.md +39 -0
- package/.claude/skills/demand-analysis/templates/prd.md +85 -0
- package/.claude/skills/dev-task-planning/SKILL.md +37 -0
- package/.claude/skills/dev-task-planning/templates/dev-tasks.md +54 -0
- package/.claude/skills/impeccable/SKILL.md +169 -0
- package/.claude/skills/impeccable/reference/adapt.md +190 -0
- package/.claude/skills/impeccable/reference/animate.md +175 -0
- package/.claude/skills/impeccable/reference/audit.md +133 -0
- package/.claude/skills/impeccable/reference/bolder.md +113 -0
- package/.claude/skills/impeccable/reference/brand.md +118 -0
- package/.claude/skills/impeccable/reference/clarify.md +174 -0
- package/.claude/skills/impeccable/reference/codex.md +105 -0
- package/.claude/skills/impeccable/reference/cognitive-load.md +106 -0
- package/.claude/skills/impeccable/reference/color-and-contrast.md +105 -0
- package/.claude/skills/impeccable/reference/colorize.md +154 -0
- package/.claude/skills/impeccable/reference/craft.md +123 -0
- package/.claude/skills/impeccable/reference/critique.md +236 -0
- package/.claude/skills/impeccable/reference/delight.md +302 -0
- package/.claude/skills/impeccable/reference/distill.md +111 -0
- package/.claude/skills/impeccable/reference/document.md +427 -0
- package/.claude/skills/impeccable/reference/extract.md +69 -0
- package/.claude/skills/impeccable/reference/harden.md +347 -0
- package/.claude/skills/impeccable/reference/heuristics-scoring.md +234 -0
- package/.claude/skills/impeccable/reference/interaction-design.md +195 -0
- package/.claude/skills/impeccable/reference/layout.md +141 -0
- package/.claude/skills/impeccable/reference/live.md +622 -0
- package/.claude/skills/impeccable/reference/motion-design.md +109 -0
- package/.claude/skills/impeccable/reference/onboard.md +234 -0
- package/.claude/skills/impeccable/reference/optimize.md +258 -0
- package/.claude/skills/impeccable/reference/overdrive.md +130 -0
- package/.claude/skills/impeccable/reference/personas.md +179 -0
- package/.claude/skills/impeccable/reference/polish.md +242 -0
- package/.claude/skills/impeccable/reference/product.md +62 -0
- package/.claude/skills/impeccable/reference/quieter.md +99 -0
- package/.claude/skills/impeccable/reference/responsive-design.md +114 -0
- package/.claude/skills/impeccable/reference/shape.md +165 -0
- package/.claude/skills/impeccable/reference/spatial-design.md +100 -0
- package/.claude/skills/impeccable/reference/teach.md +156 -0
- package/.claude/skills/impeccable/reference/typeset.md +124 -0
- package/.claude/skills/impeccable/reference/typography.md +159 -0
- package/.claude/skills/impeccable/reference/ux-writing.md +107 -0
- package/.claude/skills/impeccable/scripts/cleanup-deprecated.mjs +284 -0
- package/.claude/skills/impeccable/scripts/command-metadata.json +94 -0
- package/.claude/skills/impeccable/scripts/critique-storage.mjs +242 -0
- package/.claude/skills/impeccable/scripts/design-parser.mjs +820 -0
- package/.claude/skills/impeccable/scripts/detect-csp.mjs +198 -0
- package/.claude/skills/impeccable/scripts/detect.mjs +21 -0
- package/.claude/skills/impeccable/scripts/detector/browser/injected/index.mjs +1688 -0
- package/.claude/skills/impeccable/scripts/detector/cli/main.mjs +232 -0
- package/.claude/skills/impeccable/scripts/detector/detect-antipatterns-browser.js +4030 -0
- package/.claude/skills/impeccable/scripts/detector/detect-antipatterns.mjs +43 -0
- package/.claude/skills/impeccable/scripts/detector/engines/browser/detect-url.mjs +251 -0
- package/.claude/skills/impeccable/scripts/detector/engines/regex/detect-text.mjs +420 -0
- package/.claude/skills/impeccable/scripts/detector/engines/static-html/css-cascade.mjs +954 -0
- package/.claude/skills/impeccable/scripts/detector/engines/static-html/detect-html.mjs +174 -0
- package/.claude/skills/impeccable/scripts/detector/engines/visual/screenshot-contrast.mjs +189 -0
- package/.claude/skills/impeccable/scripts/detector/findings.mjs +12 -0
- package/.claude/skills/impeccable/scripts/detector/node/file-system.mjs +198 -0
- package/.claude/skills/impeccable/scripts/detector/profile/profiler.mjs +166 -0
- package/.claude/skills/impeccable/scripts/detector/registry/antipatterns.mjs +278 -0
- package/.claude/skills/impeccable/scripts/detector/rules/checks.mjs +1948 -0
- package/.claude/skills/impeccable/scripts/detector/shared/color.mjs +124 -0
- package/.claude/skills/impeccable/scripts/detector/shared/constants.mjs +101 -0
- package/.claude/skills/impeccable/scripts/detector/shared/page.mjs +7 -0
- package/.claude/skills/impeccable/scripts/impeccable-paths.mjs +110 -0
- package/.claude/skills/impeccable/scripts/is-generated.mjs +69 -0
- package/.claude/skills/impeccable/scripts/live-accept.mjs +595 -0
- package/.claude/skills/impeccable/scripts/live-browser-session.js +123 -0
- package/.claude/skills/impeccable/scripts/live-browser.js +4860 -0
- package/.claude/skills/impeccable/scripts/live-complete.mjs +75 -0
- package/.claude/skills/impeccable/scripts/live-completion.mjs +18 -0
- package/.claude/skills/impeccable/scripts/live-inject.mjs +446 -0
- package/.claude/skills/impeccable/scripts/live-poll.mjs +200 -0
- package/.claude/skills/impeccable/scripts/live-resume.mjs +48 -0
- package/.claude/skills/impeccable/scripts/live-server.mjs +838 -0
- package/.claude/skills/impeccable/scripts/live-session-store.mjs +254 -0
- package/.claude/skills/impeccable/scripts/live-status.mjs +47 -0
- package/.claude/skills/impeccable/scripts/live-wrap.mjs +632 -0
- package/.claude/skills/impeccable/scripts/live.mjs +247 -0
- package/.claude/skills/impeccable/scripts/load-context.mjs +141 -0
- package/.claude/skills/impeccable/scripts/modern-screenshot.umd.js +14 -0
- package/.claude/skills/impeccable/scripts/pin.mjs +214 -0
- package/.claude/skills/pm-workflow/SKILL.md +371 -0
- package/.claude/skills/pm-workflow/assets/design-themes/README.md +56 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/OPEN_DESIGN_COMMIT +1 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/OPEN_DESIGN_IMPORT.md +28 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/OPEN_DESIGN_LICENSE +201 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/README.md +103 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/agentic/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/airbnb/DESIGN.md +393 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/airbnb/examples.html +23 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/airtable/DESIGN.md +92 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/apple/DESIGN.md +250 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/apple/examples.html +23 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/application/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/arc/DESIGN.md +152 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/artistic/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/atelier-zero/DESIGN.md +316 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/bento/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/binance/DESIGN.md +348 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/bmw/DESIGN.md +183 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/bmw-m/DESIGN.md +246 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/bold/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/brutalism/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/bugatti/DESIGN.md +271 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/cafe/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/cal/DESIGN.md +262 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/canva/DESIGN.md +157 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/cisco/DESIGN.md +201 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/claude/DESIGN.md +315 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/clay/DESIGN.md +307 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/claymorphism/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/clean/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/clickhouse/DESIGN.md +284 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/cohere/DESIGN.md +269 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/coinbase/DESIGN.md +132 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/colorful/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/composio/DESIGN.md +310 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/contemporary/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/corporate/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/cosmic/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/creative/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/cursor/DESIGN.md +312 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/dashboard/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/default/DESIGN.md +62 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/discord/DESIGN.md +162 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/dithered/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/doodle/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/dramatic/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/duolingo/DESIGN.md +154 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/editorial/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/elegant/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/elevenlabs/DESIGN.md +268 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/energetic/DESIGN.md +72 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/enterprise/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/expo/DESIGN.md +284 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/expressive/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/fantasy/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/ferrari/DESIGN.md +317 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/figma/DESIGN.md +223 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/flat/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/framer/DESIGN.md +249 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/friendly/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/futuristic/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/glassmorphism/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/gradient/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/hashicorp/DESIGN.md +281 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/hud/DESIGN.md +173 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/huggingface/DESIGN.md +149 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/huggingface/examples.html +11 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/intercom/DESIGN.md +149 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/kami/DESIGN.md +410 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/kraken/DESIGN.md +128 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/lamborghini/DESIGN.md +291 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/levels/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/linear-app/DESIGN.md +370 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/linear-app/examples.html +56 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/lingo/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/loom/DESIGN.md +201 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/lovable/DESIGN.md +301 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/luxury/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/mastercard/DESIGN.md +368 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/material/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/material/examples.html +11 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/meta/DESIGN.md +369 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/minimal/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/minimax/DESIGN.md +260 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/mintlify/DESIGN.md +329 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/miro/DESIGN.md +111 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/mission-control/DESIGN.md +474 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/mistral-ai/DESIGN.md +264 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/modern/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/mongodb/DESIGN.md +269 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/mongodb/examples.html +14 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/mono/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/neobrutalism/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/neon/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/neumorphism/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/nike/DESIGN.md +366 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/notion/DESIGN.md +312 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/notion/examples.html +64 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/nvidia/DESIGN.md +296 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/ollama/DESIGN.md +270 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/openai/DESIGN.md +140 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/openai/examples.html +14 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/opencode-ai/DESIGN.md +284 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/pacman/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/paper/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/perspective/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/pinterest/DESIGN.md +233 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/playstation/DESIGN.md +367 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/posthog/DESIGN.md +259 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/premium/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/professional/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/publication/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/raycast/DESIGN.md +271 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/raycast/examples.html +11 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/refined/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/renault/DESIGN.md +314 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/replicate/DESIGN.md +264 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/resend/DESIGN.md +306 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/retro/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/revolut/DESIGN.md +188 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/runwayml/DESIGN.md +247 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/sanity/DESIGN.md +360 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/sentry/DESIGN.md +265 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/shadcn/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/shadcn/examples.html +24 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/shopify/DESIGN.md +353 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/shopify/examples.html +11 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/simple/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/skeumorphism/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/sleek/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/spacex/DESIGN.md +197 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/spacious/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/spotify/DESIGN.md +249 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/starbucks/DESIGN.md +583 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/storytelling/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/stripe/DESIGN.md +325 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/stripe/examples.html +58 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/supabase/DESIGN.md +258 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/supabase/examples.html +26 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/superhuman/DESIGN.md +255 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/tesla/DESIGN.md +289 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/tetris/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/theverge/DESIGN.md +342 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/together-ai/DESIGN.md +266 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/totality-festival/DESIGN.md +206 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/trading-terminal/DESIGN.md +178 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/uber/DESIGN.md +298 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/urdu/DESIGN.md +1002 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/vercel/DESIGN.md +313 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/vercel/examples.html +55 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/vibrant/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/vintage/DESIGN.md +71 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/vodafone/DESIGN.md +426 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/voltagent/DESIGN.md +326 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/warm-editorial/DESIGN.md +65 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/warp/DESIGN.md +256 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/webex/DESIGN.md +207 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/webflow/DESIGN.md +95 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/webflow/examples.html +11 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/wired/DESIGN.md +281 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/wise/DESIGN.md +176 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/x-ai/DESIGN.md +260 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/x-ai/examples.html +12 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/xiaohongshu/DESIGN.md +402 -0
- package/.claude/skills/pm-workflow/assets/design-themes/open-design/zapier/DESIGN.md +331 -0
- package/.claude/skills/pm-workflow/assets/design-themes/revenuecat/DESIGN.md +209 -0
- package/.claude/skills/pm-workflow/assets/design-themes/revenuecat/examples.html +122 -0
- package/.claude/skills/pm-workflow/assets/design-themes/vben/DESIGN.md +685 -0
- package/.claude/skills/pm-workflow/assets/design-themes/vben/examples.html +155 -0
- package/.claude/skills/pm-workflow/assets/vendor/flow-viewer/MERMAID_LICENSE +21 -0
- package/.claude/skills/pm-workflow/assets/vendor/flow-viewer/SVG_PAN_ZOOM_LICENSE +23 -0
- package/.claude/skills/pm-workflow/assets/vendor/flow-viewer/THIRD_PARTY_LICENSES.md +21 -0
- package/.claude/skills/pm-workflow/assets/vendor/flow-viewer/mermaid.min.js +3298 -0
- package/.claude/skills/pm-workflow/assets/vendor/flow-viewer/svg-pan-zoom.min.js +3 -0
- package/.claude/skills/pm-workflow/references/commands/analyze.md +39 -0
- package/.claude/skills/pm-workflow/references/commands/architect.md +41 -0
- package/.claude/skills/pm-workflow/references/commands/deliver.md +29 -0
- package/.claude/skills/pm-workflow/references/commands/design.md +92 -0
- package/.claude/skills/pm-workflow/references/commands/help.md +24 -0
- package/.claude/skills/pm-workflow/references/commands/init.md +40 -0
- package/.claude/skills/pm-workflow/references/commands/plan.md +41 -0
- package/.claude/skills/pm-workflow/references/commands/review.md +33 -0
- package/.claude/skills/pm-workflow/references/commands/status.md +20 -0
- package/.claude/skills/pm-workflow/scripts/package_delivery.js +195 -0
- package/.claude/skills/pm-workflow/scripts/review_stage.js +622 -0
- package/.claude/skills/quality-review/SKILL.md +49 -0
- package/.claude/skills/quality-review/templates/review-stage.md +39 -0
- package/.claude/skills/tech-architecture/SKILL.md +49 -0
- package/.claude/skills/tech-architecture/templates/handoff-architecture.md +28 -0
- package/.claude/skills/tech-architecture/templates/tech-architecture.md +54 -0
- package/.claude/skills/ui-prototype-design/SKILL.md +125 -0
- package/.claude/skills/ui-prototype-design/templates/handoff-ui.md +40 -0
- package/.claude/skills/ui-prototype-design/templates/prototype-review.md +57 -0
- package/.claude/skills/ui-prototype-design/templates/ui-design.md +142 -0
- package/.codex/SKILL.md +374 -0
- package/.codex/agents/demand-analyst.toml +87 -0
- package/.codex/agents/dev-planner.toml +47 -0
- package/.codex/agents/openai.yaml +4 -0
- package/.codex/agents/product-manager.toml +81 -0
- package/.codex/agents/quality-reviewer.toml +76 -0
- package/.codex/agents/tech-architect.toml +57 -0
- package/.codex/agents/ui-designer.toml +132 -0
- package/.codex/assets/design-themes/README.md +56 -0
- package/.codex/assets/design-themes/open-design/OPEN_DESIGN_COMMIT +1 -0
- package/.codex/assets/design-themes/open-design/OPEN_DESIGN_IMPORT.md +28 -0
- package/.codex/assets/design-themes/open-design/OPEN_DESIGN_LICENSE +201 -0
- package/.codex/assets/design-themes/open-design/README.md +103 -0
- package/.codex/assets/design-themes/open-design/agentic/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/airbnb/DESIGN.md +393 -0
- package/.codex/assets/design-themes/open-design/airbnb/examples.html +23 -0
- package/.codex/assets/design-themes/open-design/airtable/DESIGN.md +92 -0
- package/.codex/assets/design-themes/open-design/apple/DESIGN.md +250 -0
- package/.codex/assets/design-themes/open-design/apple/examples.html +23 -0
- package/.codex/assets/design-themes/open-design/application/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/arc/DESIGN.md +152 -0
- package/.codex/assets/design-themes/open-design/artistic/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/atelier-zero/DESIGN.md +316 -0
- package/.codex/assets/design-themes/open-design/bento/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/binance/DESIGN.md +348 -0
- package/.codex/assets/design-themes/open-design/bmw/DESIGN.md +183 -0
- package/.codex/assets/design-themes/open-design/bmw-m/DESIGN.md +246 -0
- package/.codex/assets/design-themes/open-design/bold/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/brutalism/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/bugatti/DESIGN.md +271 -0
- package/.codex/assets/design-themes/open-design/cafe/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/cal/DESIGN.md +262 -0
- package/.codex/assets/design-themes/open-design/canva/DESIGN.md +157 -0
- package/.codex/assets/design-themes/open-design/cisco/DESIGN.md +201 -0
- package/.codex/assets/design-themes/open-design/claude/DESIGN.md +315 -0
- package/.codex/assets/design-themes/open-design/clay/DESIGN.md +307 -0
- package/.codex/assets/design-themes/open-design/claymorphism/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/clean/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/clickhouse/DESIGN.md +284 -0
- package/.codex/assets/design-themes/open-design/cohere/DESIGN.md +269 -0
- package/.codex/assets/design-themes/open-design/coinbase/DESIGN.md +132 -0
- package/.codex/assets/design-themes/open-design/colorful/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/composio/DESIGN.md +310 -0
- package/.codex/assets/design-themes/open-design/contemporary/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/corporate/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/cosmic/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/creative/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/cursor/DESIGN.md +312 -0
- package/.codex/assets/design-themes/open-design/dashboard/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/default/DESIGN.md +62 -0
- package/.codex/assets/design-themes/open-design/discord/DESIGN.md +162 -0
- package/.codex/assets/design-themes/open-design/dithered/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/doodle/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/dramatic/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/duolingo/DESIGN.md +154 -0
- package/.codex/assets/design-themes/open-design/editorial/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/elegant/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/elevenlabs/DESIGN.md +268 -0
- package/.codex/assets/design-themes/open-design/energetic/DESIGN.md +72 -0
- package/.codex/assets/design-themes/open-design/enterprise/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/expo/DESIGN.md +284 -0
- package/.codex/assets/design-themes/open-design/expressive/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/fantasy/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/ferrari/DESIGN.md +317 -0
- package/.codex/assets/design-themes/open-design/figma/DESIGN.md +223 -0
- package/.codex/assets/design-themes/open-design/flat/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/framer/DESIGN.md +249 -0
- package/.codex/assets/design-themes/open-design/friendly/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/futuristic/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/glassmorphism/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/gradient/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/hashicorp/DESIGN.md +281 -0
- package/.codex/assets/design-themes/open-design/hud/DESIGN.md +173 -0
- package/.codex/assets/design-themes/open-design/huggingface/DESIGN.md +149 -0
- package/.codex/assets/design-themes/open-design/huggingface/examples.html +11 -0
- package/.codex/assets/design-themes/open-design/intercom/DESIGN.md +149 -0
- package/.codex/assets/design-themes/open-design/kami/DESIGN.md +410 -0
- package/.codex/assets/design-themes/open-design/kraken/DESIGN.md +128 -0
- package/.codex/assets/design-themes/open-design/lamborghini/DESIGN.md +291 -0
- package/.codex/assets/design-themes/open-design/levels/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/linear-app/DESIGN.md +370 -0
- package/.codex/assets/design-themes/open-design/linear-app/examples.html +56 -0
- package/.codex/assets/design-themes/open-design/lingo/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/loom/DESIGN.md +201 -0
- package/.codex/assets/design-themes/open-design/lovable/DESIGN.md +301 -0
- package/.codex/assets/design-themes/open-design/luxury/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/mastercard/DESIGN.md +368 -0
- package/.codex/assets/design-themes/open-design/material/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/material/examples.html +11 -0
- package/.codex/assets/design-themes/open-design/meta/DESIGN.md +369 -0
- package/.codex/assets/design-themes/open-design/minimal/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/minimax/DESIGN.md +260 -0
- package/.codex/assets/design-themes/open-design/mintlify/DESIGN.md +329 -0
- package/.codex/assets/design-themes/open-design/miro/DESIGN.md +111 -0
- package/.codex/assets/design-themes/open-design/mission-control/DESIGN.md +474 -0
- package/.codex/assets/design-themes/open-design/mistral-ai/DESIGN.md +264 -0
- package/.codex/assets/design-themes/open-design/modern/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/mongodb/DESIGN.md +269 -0
- package/.codex/assets/design-themes/open-design/mongodb/examples.html +14 -0
- package/.codex/assets/design-themes/open-design/mono/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/neobrutalism/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/neon/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/neumorphism/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/nike/DESIGN.md +366 -0
- package/.codex/assets/design-themes/open-design/notion/DESIGN.md +312 -0
- package/.codex/assets/design-themes/open-design/notion/examples.html +64 -0
- package/.codex/assets/design-themes/open-design/nvidia/DESIGN.md +296 -0
- package/.codex/assets/design-themes/open-design/ollama/DESIGN.md +270 -0
- package/.codex/assets/design-themes/open-design/openai/DESIGN.md +140 -0
- package/.codex/assets/design-themes/open-design/openai/examples.html +14 -0
- package/.codex/assets/design-themes/open-design/opencode-ai/DESIGN.md +284 -0
- package/.codex/assets/design-themes/open-design/pacman/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/paper/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/perspective/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/pinterest/DESIGN.md +233 -0
- package/.codex/assets/design-themes/open-design/playstation/DESIGN.md +367 -0
- package/.codex/assets/design-themes/open-design/posthog/DESIGN.md +259 -0
- package/.codex/assets/design-themes/open-design/premium/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/professional/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/publication/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/raycast/DESIGN.md +271 -0
- package/.codex/assets/design-themes/open-design/raycast/examples.html +11 -0
- package/.codex/assets/design-themes/open-design/refined/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/renault/DESIGN.md +314 -0
- package/.codex/assets/design-themes/open-design/replicate/DESIGN.md +264 -0
- package/.codex/assets/design-themes/open-design/resend/DESIGN.md +306 -0
- package/.codex/assets/design-themes/open-design/retro/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/revolut/DESIGN.md +188 -0
- package/.codex/assets/design-themes/open-design/runwayml/DESIGN.md +247 -0
- package/.codex/assets/design-themes/open-design/sanity/DESIGN.md +360 -0
- package/.codex/assets/design-themes/open-design/sentry/DESIGN.md +265 -0
- package/.codex/assets/design-themes/open-design/shadcn/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/shadcn/examples.html +24 -0
- package/.codex/assets/design-themes/open-design/shopify/DESIGN.md +353 -0
- package/.codex/assets/design-themes/open-design/shopify/examples.html +11 -0
- package/.codex/assets/design-themes/open-design/simple/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/skeumorphism/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/sleek/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/spacex/DESIGN.md +197 -0
- package/.codex/assets/design-themes/open-design/spacious/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/spotify/DESIGN.md +249 -0
- package/.codex/assets/design-themes/open-design/starbucks/DESIGN.md +583 -0
- package/.codex/assets/design-themes/open-design/storytelling/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/stripe/DESIGN.md +325 -0
- package/.codex/assets/design-themes/open-design/stripe/examples.html +58 -0
- package/.codex/assets/design-themes/open-design/supabase/DESIGN.md +258 -0
- package/.codex/assets/design-themes/open-design/supabase/examples.html +26 -0
- package/.codex/assets/design-themes/open-design/superhuman/DESIGN.md +255 -0
- package/.codex/assets/design-themes/open-design/tesla/DESIGN.md +289 -0
- package/.codex/assets/design-themes/open-design/tetris/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/theverge/DESIGN.md +342 -0
- package/.codex/assets/design-themes/open-design/together-ai/DESIGN.md +266 -0
- package/.codex/assets/design-themes/open-design/totality-festival/DESIGN.md +206 -0
- package/.codex/assets/design-themes/open-design/trading-terminal/DESIGN.md +178 -0
- package/.codex/assets/design-themes/open-design/uber/DESIGN.md +298 -0
- package/.codex/assets/design-themes/open-design/urdu/DESIGN.md +1002 -0
- package/.codex/assets/design-themes/open-design/vercel/DESIGN.md +313 -0
- package/.codex/assets/design-themes/open-design/vercel/examples.html +55 -0
- package/.codex/assets/design-themes/open-design/vibrant/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/vintage/DESIGN.md +71 -0
- package/.codex/assets/design-themes/open-design/vodafone/DESIGN.md +426 -0
- package/.codex/assets/design-themes/open-design/voltagent/DESIGN.md +326 -0
- package/.codex/assets/design-themes/open-design/warm-editorial/DESIGN.md +65 -0
- package/.codex/assets/design-themes/open-design/warp/DESIGN.md +256 -0
- package/.codex/assets/design-themes/open-design/webex/DESIGN.md +207 -0
- package/.codex/assets/design-themes/open-design/webflow/DESIGN.md +95 -0
- package/.codex/assets/design-themes/open-design/webflow/examples.html +11 -0
- package/.codex/assets/design-themes/open-design/wired/DESIGN.md +281 -0
- package/.codex/assets/design-themes/open-design/wise/DESIGN.md +176 -0
- package/.codex/assets/design-themes/open-design/x-ai/DESIGN.md +260 -0
- package/.codex/assets/design-themes/open-design/x-ai/examples.html +12 -0
- package/.codex/assets/design-themes/open-design/xiaohongshu/DESIGN.md +402 -0
- package/.codex/assets/design-themes/open-design/zapier/DESIGN.md +331 -0
- package/.codex/assets/design-themes/revenuecat/DESIGN.md +209 -0
- package/.codex/assets/design-themes/revenuecat/examples.html +122 -0
- package/.codex/assets/design-themes/vben/DESIGN.md +685 -0
- package/.codex/assets/design-themes/vben/examples.html +155 -0
- package/.codex/assets/vendor/flow-viewer/MERMAID_LICENSE +21 -0
- package/.codex/assets/vendor/flow-viewer/SVG_PAN_ZOOM_LICENSE +23 -0
- package/.codex/assets/vendor/flow-viewer/THIRD_PARTY_LICENSES.md +21 -0
- package/.codex/assets/vendor/flow-viewer/mermaid.min.js +3298 -0
- package/.codex/assets/vendor/flow-viewer/svg-pan-zoom.min.js +3 -0
- package/.codex/bundled-skills/impeccable/SKILL.md +163 -0
- package/.codex/bundled-skills/impeccable/agents/openai.yaml +4 -0
- package/.codex/bundled-skills/impeccable/reference/adapt.md +190 -0
- package/.codex/bundled-skills/impeccable/reference/animate.md +175 -0
- package/.codex/bundled-skills/impeccable/reference/audit.md +132 -0
- package/.codex/bundled-skills/impeccable/reference/bolder.md +113 -0
- package/.codex/bundled-skills/impeccable/reference/brand.md +118 -0
- package/.codex/bundled-skills/impeccable/reference/clarify.md +174 -0
- package/.codex/bundled-skills/impeccable/reference/codex.md +105 -0
- package/.codex/bundled-skills/impeccable/reference/cognitive-load.md +106 -0
- package/.codex/bundled-skills/impeccable/reference/color-and-contrast.md +105 -0
- package/.codex/bundled-skills/impeccable/reference/colorize.md +154 -0
- package/.codex/bundled-skills/impeccable/reference/craft.md +123 -0
- package/.codex/bundled-skills/impeccable/reference/critique.md +259 -0
- package/.codex/bundled-skills/impeccable/reference/delight.md +302 -0
- package/.codex/bundled-skills/impeccable/reference/distill.md +111 -0
- package/.codex/bundled-skills/impeccable/reference/document.md +427 -0
- package/.codex/bundled-skills/impeccable/reference/extract.md +68 -0
- package/.codex/bundled-skills/impeccable/reference/harden.md +347 -0
- package/.codex/bundled-skills/impeccable/reference/heuristics-scoring.md +234 -0
- package/.codex/bundled-skills/impeccable/reference/interaction-design.md +195 -0
- package/.codex/bundled-skills/impeccable/reference/layout.md +141 -0
- package/.codex/bundled-skills/impeccable/reference/live.md +622 -0
- package/.codex/bundled-skills/impeccable/reference/motion-design.md +109 -0
- package/.codex/bundled-skills/impeccable/reference/onboard.md +234 -0
- package/.codex/bundled-skills/impeccable/reference/optimize.md +258 -0
- package/.codex/bundled-skills/impeccable/reference/overdrive.md +130 -0
- package/.codex/bundled-skills/impeccable/reference/personas.md +179 -0
- package/.codex/bundled-skills/impeccable/reference/polish.md +242 -0
- package/.codex/bundled-skills/impeccable/reference/product.md +62 -0
- package/.codex/bundled-skills/impeccable/reference/quieter.md +99 -0
- package/.codex/bundled-skills/impeccable/reference/responsive-design.md +114 -0
- package/.codex/bundled-skills/impeccable/reference/shape.md +165 -0
- package/.codex/bundled-skills/impeccable/reference/spatial-design.md +100 -0
- package/.codex/bundled-skills/impeccable/reference/teach.md +156 -0
- package/.codex/bundled-skills/impeccable/reference/typeset.md +124 -0
- package/.codex/bundled-skills/impeccable/reference/typography.md +159 -0
- package/.codex/bundled-skills/impeccable/reference/ux-writing.md +107 -0
- package/.codex/bundled-skills/impeccable/scripts/cleanup-deprecated.mjs +284 -0
- package/.codex/bundled-skills/impeccable/scripts/command-metadata.json +94 -0
- package/.codex/bundled-skills/impeccable/scripts/critique-storage.mjs +242 -0
- package/.codex/bundled-skills/impeccable/scripts/design-parser.mjs +820 -0
- package/.codex/bundled-skills/impeccable/scripts/detect-csp.mjs +198 -0
- package/.codex/bundled-skills/impeccable/scripts/detect.mjs +21 -0
- package/.codex/bundled-skills/impeccable/scripts/detector/browser/injected/index.mjs +1688 -0
- package/.codex/bundled-skills/impeccable/scripts/detector/cli/main.mjs +232 -0
- package/.codex/bundled-skills/impeccable/scripts/detector/detect-antipatterns-browser.js +4030 -0
- package/.codex/bundled-skills/impeccable/scripts/detector/detect-antipatterns.mjs +43 -0
- package/.codex/bundled-skills/impeccable/scripts/detector/engines/browser/detect-url.mjs +251 -0
- package/.codex/bundled-skills/impeccable/scripts/detector/engines/regex/detect-text.mjs +420 -0
- package/.codex/bundled-skills/impeccable/scripts/detector/engines/static-html/css-cascade.mjs +954 -0
- package/.codex/bundled-skills/impeccable/scripts/detector/engines/static-html/detect-html.mjs +174 -0
- package/.codex/bundled-skills/impeccable/scripts/detector/engines/visual/screenshot-contrast.mjs +189 -0
- package/.codex/bundled-skills/impeccable/scripts/detector/findings.mjs +12 -0
- package/.codex/bundled-skills/impeccable/scripts/detector/node/file-system.mjs +198 -0
- package/.codex/bundled-skills/impeccable/scripts/detector/profile/profiler.mjs +166 -0
- package/.codex/bundled-skills/impeccable/scripts/detector/registry/antipatterns.mjs +278 -0
- package/.codex/bundled-skills/impeccable/scripts/detector/rules/checks.mjs +1948 -0
- package/.codex/bundled-skills/impeccable/scripts/detector/shared/color.mjs +124 -0
- package/.codex/bundled-skills/impeccable/scripts/detector/shared/constants.mjs +101 -0
- package/.codex/bundled-skills/impeccable/scripts/detector/shared/page.mjs +7 -0
- package/.codex/bundled-skills/impeccable/scripts/impeccable-paths.mjs +110 -0
- package/.codex/bundled-skills/impeccable/scripts/is-generated.mjs +69 -0
- package/.codex/bundled-skills/impeccable/scripts/live-accept.mjs +595 -0
- package/.codex/bundled-skills/impeccable/scripts/live-browser-session.js +123 -0
- package/.codex/bundled-skills/impeccable/scripts/live-browser.js +4860 -0
- package/.codex/bundled-skills/impeccable/scripts/live-complete.mjs +75 -0
- package/.codex/bundled-skills/impeccable/scripts/live-completion.mjs +18 -0
- package/.codex/bundled-skills/impeccable/scripts/live-inject.mjs +446 -0
- package/.codex/bundled-skills/impeccable/scripts/live-poll.mjs +200 -0
- package/.codex/bundled-skills/impeccable/scripts/live-resume.mjs +48 -0
- package/.codex/bundled-skills/impeccable/scripts/live-server.mjs +838 -0
- package/.codex/bundled-skills/impeccable/scripts/live-session-store.mjs +254 -0
- package/.codex/bundled-skills/impeccable/scripts/live-status.mjs +47 -0
- package/.codex/bundled-skills/impeccable/scripts/live-wrap.mjs +632 -0
- package/.codex/bundled-skills/impeccable/scripts/live.mjs +247 -0
- package/.codex/bundled-skills/impeccable/scripts/load-context.mjs +141 -0
- package/.codex/bundled-skills/impeccable/scripts/modern-screenshot.umd.js +14 -0
- package/.codex/bundled-skills/impeccable/scripts/pin.mjs +214 -0
- package/.codex/references/commands/analyze.md +39 -0
- package/.codex/references/commands/architect.md +41 -0
- package/.codex/references/commands/deliver.md +29 -0
- package/.codex/references/commands/design.md +92 -0
- package/.codex/references/commands/help.md +24 -0
- package/.codex/references/commands/init.md +40 -0
- package/.codex/references/commands/plan.md +41 -0
- package/.codex/references/commands/review.md +33 -0
- package/.codex/references/commands/status.md +20 -0
- package/.codex/role-skills/demand-analysis/SKILL.md +50 -0
- package/.codex/role-skills/demand-analysis/templates/handoff-prd.md +39 -0
- package/.codex/role-skills/demand-analysis/templates/prd.md +85 -0
- package/.codex/role-skills/dev-task-planning/SKILL.md +37 -0
- package/.codex/role-skills/dev-task-planning/templates/dev-tasks.md +54 -0
- package/.codex/role-skills/quality-review/SKILL.md +49 -0
- package/.codex/role-skills/quality-review/templates/review-stage.md +39 -0
- package/.codex/role-skills/tech-architecture/SKILL.md +49 -0
- package/.codex/role-skills/tech-architecture/templates/handoff-architecture.md +28 -0
- package/.codex/role-skills/tech-architecture/templates/tech-architecture.md +54 -0
- package/.codex/role-skills/ui-prototype-design/SKILL.md +125 -0
- package/.codex/role-skills/ui-prototype-design/templates/handoff-ui.md +40 -0
- package/.codex/role-skills/ui-prototype-design/templates/prototype-review.md +57 -0
- package/.codex/role-skills/ui-prototype-design/templates/ui-design.md +142 -0
- package/.codex/scripts/package_delivery.js +195 -0
- package/.codex/scripts/review_stage.js +622 -0
- package/.codex/templates/AGENTS.md +44 -0
- package/.codex/templates/delivery-README.md +37 -0
- package/.codex/templates/framework-AGENTS.md +74 -0
- package/.codex/templates/framework-README.md +65 -0
- package/.codex/templates/project-config.md +117 -0
- package/.codex/templates/prototype-README.md +45 -0
- package/.codex/templates/workflow-state.json +47 -0
- package/README.md +28 -0
- package/bin/pmflow.js +463 -0
- package/package.json +30 -0
|
@@ -0,0 +1,1002 @@
|
|
|
1
|
+
# Urdu Modern (Indus Script System)
|
|
2
|
+
|
|
3
|
+
> Category: Editorial / Personal / Publication
|
|
4
|
+
Urdu-first digital experiences with native RTL support,Nastaliq typography, and bilingual harmony.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 1. Visual Theme & Atmosphere
|
|
9
|
+
|
|
10
|
+
**"Digital Heritage"** — A clean, spacious, and respectful aesthetic that bridges traditional Urdu calligraphy and contemporary minimal design.
|
|
11
|
+
|
|
12
|
+
The system avoids visual clutter. Every component prioritizes **whitespace**, **legibility**, and the inherent elegance of the Nastaliq script. The color palette echoes the earth tones and cultural symbols of the Indus region. Typography is the protagonist; everything else supports readability and cultural authenticity.
|
|
13
|
+
|
|
14
|
+
**Design Philosophy:**
|
|
15
|
+
- Urdu is not a "regional variant" of another language; it's the primary voice
|
|
16
|
+
- RTL layout is not an afterthought; it's architecturally primary
|
|
17
|
+
- Nastaliq's vertical complexity demands generous spacing
|
|
18
|
+
- Cultural aesthetics (traditional patterns, warm earths) elevate the experience beyond generic tech UI
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## 2. Color Palette (Cultural Modernism)
|
|
23
|
+
|
|
24
|
+
All colors are tested for WCAG AA contrast compliance (minimum 4.5:1 for body text, 3:1 for large text).
|
|
25
|
+
|
|
26
|
+
### Primary Colors
|
|
27
|
+
|
|
28
|
+
| Color | Hex | Name | Usage | WCAG Contrast (on Parchment) |
|
|
29
|
+
|-------|-----|------|-------|------------------------------|
|
|
30
|
+
| **Primary Brand** | `#0F595E` | Deep Teal / Jungle Green | CTAs, primary actions, headers | 8.4:1 ✅ AA |
|
|
31
|
+
| **Background** | `#F4F1EA` | Parchment / Off-White | Main canvas, card backgrounds | — |
|
|
32
|
+
| **Accent** | `#C05621` | Terracotta / Rust | Secondary CTAs, highlights, focus states | 4.05:1 ✅ AA(large) |
|
|
33
|
+
| **Text Primary** | `#1A202C` | Rich Slate | Body text, labels | 15.1:1 ✅ AAA |
|
|
34
|
+
| **Text Secondary** | `#4A5568` | Warm Grey | Secondary labels, captions | 3.56:1 ✅ UI Only |
|
|
35
|
+
| **Border** | `#E2E8F0` | Light Silver | Component borders, dividers | — |
|
|
36
|
+
|
|
37
|
+
### Why These Colors?
|
|
38
|
+
|
|
39
|
+
- **Deep Teal (#0F595E):** Represents trust, stability, and national identity. Inspired by SadaPay (Pakistani fintech) and traditional Urdu ink.
|
|
40
|
+
- **Parchment (#F4F1EA):** Warm white that mimics high-quality paper and reduces eye strain during long reading sessions (critical for editorial content).
|
|
41
|
+
- **Terracotta (#C05621):** Echoes traditional pottery from the Indus Valley. Used for emphasis without overwhelming.
|
|
42
|
+
- **Rich Slate (#1A202C):** Maximum contrast for Nastaliq text; the script's nuqtas (diacritical marks) demand dark, sharp color.
|
|
43
|
+
|
|
44
|
+
### Extended Palette (Semantic)
|
|
45
|
+
|
|
46
|
+
```css
|
|
47
|
+
:root {
|
|
48
|
+
/* Primary */
|
|
49
|
+
--color-primary: #0F595E;
|
|
50
|
+
--color-primary-dark: #0D3F45;
|
|
51
|
+
--color-primary-light: #2B7A82;
|
|
52
|
+
|
|
53
|
+
/* Accent */
|
|
54
|
+
--color-accent: #C05621;
|
|
55
|
+
--color-accent-dark: #A03F1C;
|
|
56
|
+
--color-accent-light: #E8754A;
|
|
57
|
+
|
|
58
|
+
/* Backgrounds */
|
|
59
|
+
--color-bg-primary: #F4F1EA;
|
|
60
|
+
--color-bg-secondary: #FAFAF8;
|
|
61
|
+
|
|
62
|
+
/* Text */
|
|
63
|
+
--color-text-primary: #1A202C;
|
|
64
|
+
--color-text-secondary: #4A5568;
|
|
65
|
+
--color-text-tertiary: #718096;
|
|
66
|
+
|
|
67
|
+
/* Status Colors */
|
|
68
|
+
--color-success: #2D5B4A; /* Deep green */
|
|
69
|
+
--color-warning: #C05621; /* Terracotta (doubles as warning) */
|
|
70
|
+
--color-error: #8B3A3A; /* Deep burgundy */
|
|
71
|
+
--color-info: #2B7A82; /* Light teal */
|
|
72
|
+
|
|
73
|
+
/* Borders & Dividers */
|
|
74
|
+
--color-border: #E2E8F0;
|
|
75
|
+
--color-border-dark: #CBD5E0;
|
|
76
|
+
}
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## 3. Typography (The Heart of the System)
|
|
82
|
+
|
|
83
|
+
Urdu typography is the foundational layer. The system enforces **Bilingual Harmony** — Urdu takes priority; Latin text plays a supporting role.
|
|
84
|
+
|
|
85
|
+
### Font Families
|
|
86
|
+
|
|
87
|
+
#### Urdu Script (Primary)
|
|
88
|
+
|
|
89
|
+
```css
|
|
90
|
+
font-family: "Noto Nastaliq Urdu", "Mehr Nastaliq", "URW Chancery", serif;
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
**Font Selection Rationale:**
|
|
94
|
+
- **Noto Nastaliq Urdu** (Google Fonts): Professionally maintained, open-source, optimized for modern screens. Heavy weight (700) gives proper authority.
|
|
95
|
+
- **Mehr Nastaliq**: Pakistani-developed alternative; excellent Urdu-specific kerning.
|
|
96
|
+
- **URW Chancery** (system fallback): Hand-drawn serif; graceful degradation when web fonts fail.
|
|
97
|
+
|
|
98
|
+
**Import (add to `<head>`):**
|
|
99
|
+
```html
|
|
100
|
+
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400;700&display=swap" as="style">
|
|
101
|
+
<link href="https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400;700&display=swap" rel="stylesheet">
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
#### Latin Script (Secondary)
|
|
105
|
+
|
|
106
|
+
```css
|
|
107
|
+
font-family: "Inter", "Segoe UI", "Helvetica Neue", sans-serif;
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
**Usage:** Technical terms, code snippets, numerical data, English labels, API names.
|
|
111
|
+
|
|
112
|
+
**Why Inter:** Designed for screens, excellent kerning at all sizes, modern and neutral.
|
|
113
|
+
|
|
114
|
+
### Font Sizes & Scale
|
|
115
|
+
|
|
116
|
+
**Base Unit:** 16px
|
|
117
|
+
|
|
118
|
+
| Level | Size | Line-Height | Usage |
|
|
119
|
+
|-------|------|-------------|-------|
|
|
120
|
+
| **Display XL** | 48px | 1.2 | Page titles |
|
|
121
|
+
| **Display Large** | 36px | 1.3 | Section headers |
|
|
122
|
+
| **Heading 1** | 32px | 1.4 | Major headings |
|
|
123
|
+
| **Heading 2** | 24px | 1.5 | Section subheadings |
|
|
124
|
+
| **Heading 3** | 20px | 1.6 | Component titles |
|
|
125
|
+
| **Body Large** | 18px | 1.8 | Lead paragraphs, intro text |
|
|
126
|
+
| **Body** | 16px | 1.8 | Standard body text, editorial |
|
|
127
|
+
| **Body Small** | 14px | 1.8 | Secondary text, captions |
|
|
128
|
+
| **Label** | 12px | 1.8 | Form labels, micro-copy |
|
|
129
|
+
|
|
130
|
+
### Line-Height (Critical for Nastaliq)
|
|
131
|
+
|
|
132
|
+
**Minimum line-height: 1.8**
|
|
133
|
+
|
|
134
|
+
Nastaliq has high vertical ascenders and deep descenders. Standard web line-heights (1.5) cause nuqtas (diacritical marks) to clip or overlap.
|
|
135
|
+
|
|
136
|
+
**Enforcement:**
|
|
137
|
+
```css
|
|
138
|
+
body {
|
|
139
|
+
line-height: 1.8;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/* Headings can compress slightly, but never below 1.4 */
|
|
143
|
+
h1, h2, h3 {
|
|
144
|
+
line-height: 1.4;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/* Ensure body paragraphs maintain breathing room */
|
|
148
|
+
p {
|
|
149
|
+
line-height: 1.9; /* Slightly more for readability */
|
|
150
|
+
}
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### Font Rendering & Smoothing
|
|
154
|
+
|
|
155
|
+
```css
|
|
156
|
+
body {
|
|
157
|
+
-webkit-font-smoothing: antialiased;
|
|
158
|
+
-moz-osx-font-smoothing: grayscale;
|
|
159
|
+
/* Keeps Nastaliq curves sharp and prevents blurry rendering */
|
|
160
|
+
text-rendering: optimizeLegibility;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/* Prevent font-weight shifts during hover states */
|
|
164
|
+
button, a {
|
|
165
|
+
transition: color 0.2s ease, background 0.2s ease;
|
|
166
|
+
/* Do NOT animate font-weight; it causes layout shift */
|
|
167
|
+
}
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
### Font Weights
|
|
171
|
+
|
|
172
|
+
Only use:
|
|
173
|
+
- **400 (Regular):** Body text, standard labels
|
|
174
|
+
- **700 (Bold):** Headings, emphasis, strong text
|
|
175
|
+
|
|
176
|
+
**Avoid:** 300, 500, 600 (Noto Nastaliq doesn't render well at intermediate weights; design suffers).
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## 4. Spacing & Layout Grid
|
|
181
|
+
|
|
182
|
+
**Base Unit:** 4px
|
|
183
|
+
|
|
184
|
+
All spacing follows a **modular scale** rooted in 4px. This allows for both fine-grained and large-scale alignments.
|
|
185
|
+
|
|
186
|
+
### Spacing Scale
|
|
187
|
+
|
|
188
|
+
| Name | Value | Usage |
|
|
189
|
+
|------|-------|-------|
|
|
190
|
+
| **xs** | 4px | Micro-spacing (inline elements, icon gaps) |
|
|
191
|
+
| **sm** | 8px | Component internal padding, tight grouping |
|
|
192
|
+
| **md** | 16px | Standard padding, default gaps |
|
|
193
|
+
| **lg** | 24px | Section spacing, moderate breathing room |
|
|
194
|
+
| **xl** | 32px | Large section gaps, hero spacing |
|
|
195
|
+
| **2xl** | 48px | Page-level spacing, major layout blocks |
|
|
196
|
+
| **3xl** | 64px | Full-screen spacing, viewport-scale gaps |
|
|
197
|
+
|
|
198
|
+
### Layout Principles
|
|
199
|
+
|
|
200
|
+
#### Horizontal (RTL-Aware)
|
|
201
|
+
|
|
202
|
+
In RTL context, directionality is reversed:
|
|
203
|
+
- **margin-inline-start:** Becomes right margin (logical property; auto-flips on RTL)
|
|
204
|
+
- **padding-inline-end:** Becomes left padding (logical property; auto-flips on RTL)
|
|
205
|
+
|
|
206
|
+
**Always use logical properties:**
|
|
207
|
+
```css
|
|
208
|
+
.component {
|
|
209
|
+
/* ✅ GOOD: Auto-flips in RTL */
|
|
210
|
+
margin-inline: 16px;
|
|
211
|
+
padding-inline-start: 24px;
|
|
212
|
+
|
|
213
|
+
/* ❌ BAD: Hard-coded LTR; breaks in RTL */
|
|
214
|
+
margin-left: 16px;
|
|
215
|
+
padding-right: 24px;
|
|
216
|
+
}
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
#### Vertical
|
|
220
|
+
|
|
221
|
+
Vertical spacing is **unaffected by RTL**. All vertical margins and paddings remain consistent.
|
|
222
|
+
|
|
223
|
+
```css
|
|
224
|
+
.card {
|
|
225
|
+
padding-block: 24px; /* 24px top + bottom */
|
|
226
|
+
margin-block: 16px; /* 16px top + bottom */
|
|
227
|
+
}
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
### Container & Card Spacing
|
|
231
|
+
|
|
232
|
+
```css
|
|
233
|
+
.card {
|
|
234
|
+
padding: 24px; /* Internal spacing */
|
|
235
|
+
margin-block: 16px; /* External spacing */
|
|
236
|
+
border: 1px solid var(--color-border);
|
|
237
|
+
border-radius: 8px;
|
|
238
|
+
background: var(--color-bg-secondary);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.section {
|
|
242
|
+
padding-block: 32px; /* Vertical padding within section */
|
|
243
|
+
padding-inline: 24px; /* Horizontal padding (RTL-safe) */
|
|
244
|
+
}
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
### Grid System (Optional: 12-column)
|
|
248
|
+
|
|
249
|
+
For complex layouts, use a 12-column grid:
|
|
250
|
+
```css
|
|
251
|
+
.grid {
|
|
252
|
+
display: grid;
|
|
253
|
+
grid-template-columns: repeat(12, 1fr);
|
|
254
|
+
gap: 16px;
|
|
255
|
+
direction: rtl; /* RTL grid automatically reverses columns */
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.grid-col-6 {
|
|
259
|
+
grid-column: span 6;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.grid-col-4 {
|
|
263
|
+
grid-column: span 4;
|
|
264
|
+
}
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
---
|
|
268
|
+
|
|
269
|
+
## 5. Component Styles
|
|
270
|
+
|
|
271
|
+
### Buttons
|
|
272
|
+
|
|
273
|
+
#### Primary Button
|
|
274
|
+
```html
|
|
275
|
+
<button class="button button-primary">
|
|
276
|
+
<span lang="ur">موافقہ</span>
|
|
277
|
+
</button>
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
```css
|
|
281
|
+
.button-primary {
|
|
282
|
+
background: var(--color-primary);
|
|
283
|
+
color: white;
|
|
284
|
+
padding: 12px 24px;
|
|
285
|
+
border: none;
|
|
286
|
+
border-radius: 6px;
|
|
287
|
+
font-family: var(--font-urdu);
|
|
288
|
+
font-size: 16px;
|
|
289
|
+
font-weight: 700;
|
|
290
|
+
cursor: pointer;
|
|
291
|
+
transition: background 0.2s ease;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.button-primary:hover {
|
|
295
|
+
background: var(--color-primary-dark);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.button-primary:active {
|
|
299
|
+
opacity: 0.9;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.button-primary:disabled {
|
|
303
|
+
opacity: 0.5;
|
|
304
|
+
cursor: not-allowed;
|
|
305
|
+
}
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
#### Secondary Button
|
|
309
|
+
```html
|
|
310
|
+
<button class="button button-secondary">
|
|
311
|
+
<span lang="ur">منسوخ</span>
|
|
312
|
+
</button>
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
```css
|
|
316
|
+
.button-secondary {
|
|
317
|
+
background: var(--color-bg-secondary);
|
|
318
|
+
color: var(--color-primary);
|
|
319
|
+
padding: 12px 24px;
|
|
320
|
+
border: 2px solid var(--color-primary);
|
|
321
|
+
border-radius: 6px;
|
|
322
|
+
font-family: var(--font-urdu);
|
|
323
|
+
font-size: 16px;
|
|
324
|
+
font-weight: 700;
|
|
325
|
+
cursor: pointer;
|
|
326
|
+
transition: background 0.2s ease, border-color 0.2s ease;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.button-secondary:hover {
|
|
330
|
+
background: rgba(15, 89, 94, 0.1);
|
|
331
|
+
}
|
|
332
|
+
```
|
|
333
|
+
|
|
334
|
+
#### Icon Placement (RTL-Aware)
|
|
335
|
+
|
|
336
|
+
In RTL, icons should be placed on the **right (logical-right)** of the text:
|
|
337
|
+
|
|
338
|
+
```html
|
|
339
|
+
<!-- Urdu context (RTL) -->
|
|
340
|
+
<button class="button button-primary">
|
|
341
|
+
<icon class="icon-send" aria-hidden="true"></icon>
|
|
342
|
+
<span lang="ur">بھیجیں</span>
|
|
343
|
+
</button>
|
|
344
|
+
|
|
345
|
+
<!-- HTML rendered as: [icon] [text] (visually: [text] [icon] in RTL) -->
|
|
346
|
+
```
|
|
347
|
+
|
|
348
|
+
```css
|
|
349
|
+
.button {
|
|
350
|
+
display: flex;
|
|
351
|
+
align-items: center;
|
|
352
|
+
gap: 8px;
|
|
353
|
+
/* In RTL, flex automatically reverses; icon appears on right visually */
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.button .icon {
|
|
357
|
+
width: 20px;
|
|
358
|
+
height: 20px;
|
|
359
|
+
}
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
### Form Components
|
|
363
|
+
|
|
364
|
+
#### Input Fields
|
|
365
|
+
|
|
366
|
+
```html
|
|
367
|
+
<div class="form-group">
|
|
368
|
+
<label lang="ur" for="username">صارف کا نام</label>
|
|
369
|
+
<input
|
|
370
|
+
id="username"
|
|
371
|
+
type="text"
|
|
372
|
+
class="input"
|
|
373
|
+
placeholder="اپنا صارف کا نام درج کریں"
|
|
374
|
+
lang="ur"
|
|
375
|
+
dir="rtl"
|
|
376
|
+
/>
|
|
377
|
+
</div>
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
```css
|
|
381
|
+
.form-group {
|
|
382
|
+
margin-block: 16px;
|
|
383
|
+
display: flex;
|
|
384
|
+
flex-direction: column;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.form-group label {
|
|
388
|
+
font-family: var(--font-urdu);
|
|
389
|
+
font-size: 14px;
|
|
390
|
+
font-weight: 700;
|
|
391
|
+
color: var(--color-text-primary);
|
|
392
|
+
margin-block-end: 8px;
|
|
393
|
+
text-align: right; /* Right-aligned for RTL labels */
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.input {
|
|
397
|
+
padding: 12px 16px;
|
|
398
|
+
border: 1px solid var(--color-border);
|
|
399
|
+
border-radius: 6px;
|
|
400
|
+
font-family: var(--font-urdu);
|
|
401
|
+
font-size: 16px;
|
|
402
|
+
color: var(--color-text-primary);
|
|
403
|
+
line-height: 1.8;
|
|
404
|
+
direction: rtl;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.input::placeholder {
|
|
408
|
+
color: var(--color-text-tertiary);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.input:focus {
|
|
412
|
+
outline: none;
|
|
413
|
+
border-color: var(--color-primary);
|
|
414
|
+
box-shadow: 0 0 0 3px rgba(15, 89, 94, 0.1);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.input:disabled {
|
|
418
|
+
background: var(--color-bg-secondary);
|
|
419
|
+
color: var(--color-text-tertiary);
|
|
420
|
+
cursor: not-allowed;
|
|
421
|
+
}
|
|
422
|
+
```
|
|
423
|
+
|
|
424
|
+
#### Accessibility: Placeholder vs. Label
|
|
425
|
+
|
|
426
|
+
**Never** rely on placeholder as the only label. Placeholders disappear on focus, breaking accessibility.
|
|
427
|
+
|
|
428
|
+
```html
|
|
429
|
+
<!-- ❌ BAD: No visible label -->
|
|
430
|
+
<input placeholder="صارف کا نام" />
|
|
431
|
+
|
|
432
|
+
<!-- ✅ GOOD: Label + placeholder both present -->
|
|
433
|
+
<label for="username">صارف کا نام</label>
|
|
434
|
+
<input id="username" placeholder="مثال: احمد علی" />
|
|
435
|
+
|
|
436
|
+
<!-- ✅ EXCELLENT: Label + aria-label for screen readers -->
|
|
437
|
+
<label for="username" lang="ur">صارف کا نام</label>
|
|
438
|
+
<input
|
|
439
|
+
id="username"
|
|
440
|
+
aria-label="صارف کا نام درج کریں"
|
|
441
|
+
placeholder="احمد علی"
|
|
442
|
+
/>
|
|
443
|
+
```
|
|
444
|
+
|
|
445
|
+
### Cards
|
|
446
|
+
|
|
447
|
+
```html
|
|
448
|
+
<div class="card">
|
|
449
|
+
<h3 lang="ur">کارڈ کا عنوان</h3>
|
|
450
|
+
<p lang="ur">یہاں کارڈ کا مواد ہے۔</p>
|
|
451
|
+
</div>
|
|
452
|
+
```
|
|
453
|
+
|
|
454
|
+
```css
|
|
455
|
+
.card {
|
|
456
|
+
padding: 24px;
|
|
457
|
+
background: var(--color-bg-secondary);
|
|
458
|
+
border: 1px solid var(--color-border);
|
|
459
|
+
border-radius: 8px;
|
|
460
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
461
|
+
transition: box-shadow 0.2s ease, transform 0.2s ease;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.card:hover {
|
|
465
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
466
|
+
transform: translateY(-2px);
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.card h3 {
|
|
470
|
+
margin-block-end: 12px;
|
|
471
|
+
color: var(--color-primary);
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.card p {
|
|
475
|
+
color: var(--color-text-secondary);
|
|
476
|
+
line-height: 1.8;
|
|
477
|
+
}
|
|
478
|
+
```
|
|
479
|
+
|
|
480
|
+
### Links
|
|
481
|
+
|
|
482
|
+
```html
|
|
483
|
+
<a href="#" lang="ur">مزید معلومات پڑھیں</a>
|
|
484
|
+
```
|
|
485
|
+
|
|
486
|
+
```css
|
|
487
|
+
a {
|
|
488
|
+
color: var(--color-primary);
|
|
489
|
+
text-decoration: underline;
|
|
490
|
+
font-family: var(--font-urdu);
|
|
491
|
+
transition: color 0.2s ease;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
a:hover {
|
|
495
|
+
color: var(--color-primary-dark);
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
a:focus {
|
|
499
|
+
outline: 2px solid var(--color-accent);
|
|
500
|
+
outline-offset: 2px;
|
|
501
|
+
}
|
|
502
|
+
```
|
|
503
|
+
|
|
504
|
+
---
|
|
505
|
+
|
|
506
|
+
## 6. Motion & Animation
|
|
507
|
+
|
|
508
|
+
All animations respect RTL directionality and maintain readability.
|
|
509
|
+
|
|
510
|
+
### Entrance Animations
|
|
511
|
+
|
|
512
|
+
```css
|
|
513
|
+
@keyframes fade-in-up {
|
|
514
|
+
from {
|
|
515
|
+
opacity: 0;
|
|
516
|
+
transform: translateY(12px);
|
|
517
|
+
}
|
|
518
|
+
to {
|
|
519
|
+
opacity: 1;
|
|
520
|
+
transform: translateY(0);
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.card {
|
|
525
|
+
animation: fade-in-up 0.3s ease-out;
|
|
526
|
+
}
|
|
527
|
+
```
|
|
528
|
+
|
|
529
|
+
### Hover & Interactive States
|
|
530
|
+
|
|
531
|
+
```css
|
|
532
|
+
.button:hover {
|
|
533
|
+
background-color: var(--color-primary-dark);
|
|
534
|
+
transition: background-color 0.2s ease-in-out;
|
|
535
|
+
/* Avoid font-weight changes; they cause layout shift */
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.button:active {
|
|
539
|
+
transform: scale(0.98);
|
|
540
|
+
/* Provides tactile feedback without breaking layout */
|
|
541
|
+
}
|
|
542
|
+
```
|
|
543
|
+
|
|
544
|
+
### Avoid (Anti-Patterns)
|
|
545
|
+
|
|
546
|
+
- ❌ **Parallax on Urdu text:** Breaks readability during scroll; text moves at different speeds
|
|
547
|
+
- ❌ **Rotating Urdu elements:** Nastaliq curves distort when rotated; illegible
|
|
548
|
+
- ❌ **Italic animations:** Urdu doesn't have true italic; it looks broken
|
|
549
|
+
- ❌ **Fast transitions (< 150ms):** RTL reflows need time; fast animations stutter
|
|
550
|
+
|
|
551
|
+
### Recommended Durations
|
|
552
|
+
|
|
553
|
+
| Animation Type | Duration | Easing |
|
|
554
|
+
|---|---|---|
|
|
555
|
+
| Entrance | 300ms | ease-out |
|
|
556
|
+
| Hover | 200ms | ease-in-out |
|
|
557
|
+
| Exit | 200ms | ease-in |
|
|
558
|
+
| Scroll-reveal | 600ms | ease-out |
|
|
559
|
+
|
|
560
|
+
---
|
|
561
|
+
|
|
562
|
+
## 7. Accessibility (A11y)
|
|
563
|
+
|
|
564
|
+
This system is built to be accessible. All color contrasts are verified against WCAG standards.
|
|
565
|
+
|
|
566
|
+
### Color Contrast (Verified Ratios)
|
|
567
|
+
|
|
568
|
+
| Combination | Contrast | Standard | Notes |
|
|
569
|
+
|---|---|---|---|
|
|
570
|
+
| Deep Teal (#0F595E) on Parchment | 8.4:1 | ✅ AAA | Safe for all text |
|
|
571
|
+
| Rich Slate (#1A202C) on Parchment | 15.1:1 | ✅ AAA | Safe for all text |
|
|
572
|
+
| Terracotta (#C05621) on Parchment | 4.05:1 | ⚠️ AA (Large) | **Large Text (18pt+) or Bold only** |
|
|
573
|
+
| Muted Slate (#718096) on Parchment | 3.56:1 | ❌ UI Only | Decorative/Borders only; avoid for text |
|
|
574
|
+
|
|
575
|
+
### Text Size Minimums
|
|
576
|
+
|
|
577
|
+
- **Body text:** Minimum 16px (Nastaliq script becomes unreadable at smaller sizes).
|
|
578
|
+
- **Labels:** Minimum 14px.
|
|
579
|
+
- **Captions:** Minimum 12px (for non-essential information only).
|
|
580
|
+
|
|
581
|
+
### Focus States (Keyboard Navigation)
|
|
582
|
+
|
|
583
|
+
All interactive elements must have visible focus indicators to support keyboard users:
|
|
584
|
+
|
|
585
|
+
```css
|
|
586
|
+
button:focus,
|
|
587
|
+
a:focus,
|
|
588
|
+
input:focus {
|
|
589
|
+
outline: 2px solid var(--color-accent);
|
|
590
|
+
outline-offset: 2px;
|
|
591
|
+
}
|
|
592
|
+
```
|
|
593
|
+
|
|
594
|
+
### ARIA Labels (For Screen Readers)
|
|
595
|
+
Accessible Naming Rules (ARIA Best Practices)
|
|
596
|
+
Native Labels First: Always use standard <label for="..."> elements. This is the gold standard for screen readers and ensures the accessible name matches the visible text.
|
|
597
|
+
|
|
598
|
+
When to use aria-label: Only use aria-label when an interactive element has no visible text (e.g., an icon-only button).
|
|
599
|
+
|
|
600
|
+
Avoid Overriding: Do not use an aria-label that repeats or conflicts with visible text. This prevents WCAG "Label-in-Name" mismatches.
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
```html
|
|
604
|
+
<label for="email" lang="ur">ای میل</label>
|
|
605
|
+
<input id="email" type="email" placeholder="name@example.com" />
|
|
606
|
+
|
|
607
|
+
<button class="icon-button" aria-label="تلاش کریں">
|
|
608
|
+
<icon class="icon-search"></icon>
|
|
609
|
+
</button>
|
|
610
|
+
|
|
611
|
+
<label for="pass" lang="ur">پاس ورڈ</label>
|
|
612
|
+
<input id="pass" type="password" aria-describedby="pass-hint" />
|
|
613
|
+
<p id="pass-hint" lang="ur">کم از کم 8 حروف۔</p>
|
|
614
|
+
|
|
615
|
+
```
|
|
616
|
+
|
|
617
|
+
### Language Declaration
|
|
618
|
+
|
|
619
|
+
Properly declaring the document language is critical for Urdu screen reading and correct font rendering:
|
|
620
|
+
|
|
621
|
+
```html
|
|
622
|
+
<html lang="ur" dir="rtl">
|
|
623
|
+
<head>
|
|
624
|
+
<meta charset="UTF-8">
|
|
625
|
+
</head>
|
|
626
|
+
<body>
|
|
627
|
+
<h1 lang="ur">خیر مقدم</h1>
|
|
628
|
+
</body>
|
|
629
|
+
</html>
|
|
630
|
+
```
|
|
631
|
+
|
|
632
|
+
---
|
|
633
|
+
|
|
634
|
+
## 8. Brand Voice & Tone
|
|
635
|
+
|
|
636
|
+
Urdu is a **formal, respectful language**. Microcopy should reflect this.
|
|
637
|
+
|
|
638
|
+
### Formality Levels
|
|
639
|
+
|
|
640
|
+
#### Formal (Government, Banking, Official)
|
|
641
|
+
```urdu
|
|
642
|
+
✅ معافی چاہتے ہیں، آپ کی درخواست مکمل نہیں ہو سکی۔ براہ کرم دوبارہ کوشش کریں۔
|
|
643
|
+
❌ خرابی ہوگئی
|
|
644
|
+
```
|
|
645
|
+
|
|
646
|
+
Translation: "We apologize; your request could not be completed. Please try again."
|
|
647
|
+
|
|
648
|
+
#### Friendly (Apps, Products)
|
|
649
|
+
```urdu
|
|
650
|
+
✅ کوئی مسئلہ! دوبارہ کوشش کریں۔
|
|
651
|
+
❌ Error 503
|
|
652
|
+
```
|
|
653
|
+
|
|
654
|
+
Translation: "Oops! Try again."
|
|
655
|
+
|
|
656
|
+
#### Technical (Developer Docs, Code)
|
|
657
|
+
```urdu
|
|
658
|
+
✅ API جواب میں خرابی: [error_code]
|
|
659
|
+
❌ بھئی، غلط ہوا
|
|
660
|
+
```
|
|
661
|
+
|
|
662
|
+
Translation: "API response error: [error_code]"
|
|
663
|
+
|
|
664
|
+
### Currency & Localization
|
|
665
|
+
|
|
666
|
+
Always use Pakistani Rupee (₨), not generic rupee (₹):
|
|
667
|
+
|
|
668
|
+
```html
|
|
669
|
+
<!-- ✅ Correct -->
|
|
670
|
+
<span lang="ur">₨ ۲۵,۰۰۰</span>
|
|
671
|
+
|
|
672
|
+
<!-- ❌ Wrong -->
|
|
673
|
+
<span lang="ur">₹ 25,000</span>
|
|
674
|
+
```
|
|
675
|
+
|
|
676
|
+
### Microcopy Examples
|
|
677
|
+
|
|
678
|
+
| English | Urdu | Context |
|
|
679
|
+
|---------|------|---------|
|
|
680
|
+
| "Submit" | "بھیجیں" or "جمع کرائیں" | Form action |
|
|
681
|
+
| "Cancel" | "منسوخ کریں" or "واپس جائیں" | Dismissal |
|
|
682
|
+
| "Loading..." | "لوڈ ہو رہا ہے..." | Wait state |
|
|
683
|
+
| "Error occurred" | "معافی چاہتے ہیں، کوئی مسئلہ واقع ہوا۔" | Error state |
|
|
684
|
+
| "No results" | "کوئی نتیجہ نہیں ملا" | Empty state |
|
|
685
|
+
|
|
686
|
+
---
|
|
687
|
+
|
|
688
|
+
## 9. Anti-Patterns (Do NOT)
|
|
689
|
+
|
|
690
|
+
### ❌ Layout & Direction
|
|
691
|
+
|
|
692
|
+
- **Hard-coded margin-left/right:** Breaks RTL layouts. Always use logical properties like `margin-inline-start` or `padding-inline-end`.
|
|
693
|
+
- **Fixed Widths on Text Containers:** Urdu script has a large vertical footprint; fixed heights will cause "nuqta" (dot) clipping.
|
|
694
|
+
|
|
695
|
+
### ✅ Bidirectional (Bidi) Success Patterns
|
|
696
|
+
- **Isolate LTR content:** When mixing Urdu with English product names, URLs, or numbers, always use the `<bdi>` tag or `dir="ltr"` to prevent punctuation (like brackets or periods) from flipping to the wrong side.
|
|
697
|
+
|
|
698
|
+
```html
|
|
699
|
+
<p dir="rtl">
|
|
700
|
+
Check our website <bdi dir="ltr">example.com</bdi> for more details.
|
|
701
|
+
</p>
|
|
702
|
+
```
|
|
703
|
+
|
|
704
|
+
### ❌ Typography
|
|
705
|
+
|
|
706
|
+
- **Generic Arabic fonts (Almarai, Droid Arabic):** Do not use Almarai or Noto Naskh Arabic. These do not support the cascading nature of Nastaliq and break spacing.
|
|
707
|
+
|
|
708
|
+
- **Italic Urdu text:** Nastaliq doesn't have true italic. Font rendering breaks. Use bold or color for emphasis instead.
|
|
709
|
+
|
|
710
|
+
- **Line-height < 1.8:** Narrow line heights will clip the dots (nuqtas). Maintain a minimum of 1.8 for all Urdu body text.
|
|
711
|
+
|
|
712
|
+
### ❌ Visual Design
|
|
713
|
+
|
|
714
|
+
- **Soft shadows on Urdu text:** Shadows make nuqtas invisible. Use only on containers.
|
|
715
|
+
```css
|
|
716
|
+
/* ❌ BAD */
|
|
717
|
+
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
|
718
|
+
|
|
719
|
+
/* ✅ GOOD: Shadows only on containers */
|
|
720
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
721
|
+
```
|
|
722
|
+
|
|
723
|
+
- **Emoji as primary icons:** Emoji is LTR by default; ambiguous in RTL. Use SVG icons instead.
|
|
724
|
+
- **Truncate text with ellipsis in RTL:** `text-overflow: ellipsis` reads backwards. Use expand-button or full text instead.
|
|
725
|
+
```html
|
|
726
|
+
<!-- ❌ BAD: Ellipsis reads wrong in RTL -->
|
|
727
|
+
<p style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">
|
|
728
|
+
یہ بہت لمبا متن ہے...
|
|
729
|
+
</p>
|
|
730
|
+
|
|
731
|
+
<!-- ✅ GOOD: Full text or expand-button -->
|
|
732
|
+
<details>
|
|
733
|
+
<summary lang="ur">مزید دیکھیں</summary>
|
|
734
|
+
<p lang="ur">یہ بہت لمبا متن ہے جو مکمل طور پر دیکھنے کے لیے کلک کریں۔</p>
|
|
735
|
+
</details>
|
|
736
|
+
```
|
|
737
|
+
|
|
738
|
+
- **Aggressive purple gradients:** Doesn't match the Indus palette. Use Deep Teal or Terracotta.
|
|
739
|
+
- **Low-contrast backgrounds:** Nastaliq nuqtas need high contrast (7:1+).
|
|
740
|
+
|
|
741
|
+
### ❌ Component Structure
|
|
742
|
+
|
|
743
|
+
- **Icon Source Order:** In RTL buttons, the icon should be placed to the right of the text in the source code to maintain a natural visual flow.
|
|
744
|
+
- **Directional Icons:** Always manually flip directional icons (like arrows) using transform: scaleX(-1) to align with RTL flow.
|
|
745
|
+
|
|
746
|
+
```html
|
|
747
|
+
<!-- Icon on right in source; flex auto-reverses -->
|
|
748
|
+
<button style="display: flex; gap: 8px;">
|
|
749
|
+
<icon name="arrow-left" style="transform: scaleX(-1);"></icon>
|
|
750
|
+
<span lang="ur">بھیجیں</span>
|
|
751
|
+
</button>
|
|
752
|
+
```
|
|
753
|
+
|
|
754
|
+
- **Form inputs without explicit labels:** Placeholders disappear; accessibility fails.
|
|
755
|
+
|
|
756
|
+
---
|
|
757
|
+
|
|
758
|
+
## Quick Start: RTL Bilingual Component
|
|
759
|
+
|
|
760
|
+
Here's a complete, production-ready example:
|
|
761
|
+
|
|
762
|
+
```html
|
|
763
|
+
<!DOCTYPE html>
|
|
764
|
+
<html lang="ur" dir="rtl">
|
|
765
|
+
<head>
|
|
766
|
+
<meta charset="UTF-8">
|
|
767
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
768
|
+
<title>Urdu Modern - Quick Start</title>
|
|
769
|
+
|
|
770
|
+
<!-- Google Fonts: Noto Nastaliq Urdu -->
|
|
771
|
+
<link href="https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400;700&display=swap" rel="stylesheet">
|
|
772
|
+
|
|
773
|
+
<style>
|
|
774
|
+
:root {
|
|
775
|
+
/* Colors */
|
|
776
|
+
--color-primary: #0F595E;
|
|
777
|
+
--color-primary-dark: #0D3F45;
|
|
778
|
+
--color-accent: #C05621;
|
|
779
|
+
--color-bg: #F4F1EA;
|
|
780
|
+
--color-text: #1A202C;
|
|
781
|
+
--color-border: #E2E8F0;
|
|
782
|
+
|
|
783
|
+
/* Typography */
|
|
784
|
+
--font-urdu: "Noto Nastaliq Urdu", serif;
|
|
785
|
+
--font-latin: "Inter", "Segoe UI", sans-serif;
|
|
786
|
+
|
|
787
|
+
/* Spacing */
|
|
788
|
+
--space-xs: 4px;
|
|
789
|
+
--space-sm: 8px;
|
|
790
|
+
--space-md: 16px;
|
|
791
|
+
--space-lg: 24px;
|
|
792
|
+
--space-xl: 32px;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
* {
|
|
796
|
+
margin: 0;
|
|
797
|
+
padding: 0;
|
|
798
|
+
box-sizing: border-box;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
body {
|
|
802
|
+
font-family: var(--font-urdu);
|
|
803
|
+
background: var(--color-bg);
|
|
804
|
+
color: var(--color-text);
|
|
805
|
+
line-height: 1.8;
|
|
806
|
+
direction: rtl;
|
|
807
|
+
-webkit-font-smoothing: antialiased;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
.container {
|
|
811
|
+
max-width: 600px;
|
|
812
|
+
margin: 0 auto;
|
|
813
|
+
padding: var(--space-lg);
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
h1 {
|
|
817
|
+
font-size: 32px;
|
|
818
|
+
font-weight: 700;
|
|
819
|
+
margin-block-end: var(--space-lg);
|
|
820
|
+
color: var(--color-primary);
|
|
821
|
+
line-height: 1.4;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
p {
|
|
825
|
+
font-size: 16px;
|
|
826
|
+
line-height: 1.8;
|
|
827
|
+
margin-block-end: var(--space-md);
|
|
828
|
+
color: var(--color-text);
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
.button-group {
|
|
832
|
+
display: flex;
|
|
833
|
+
gap: var(--space-md);
|
|
834
|
+
margin-block-start: var(--space-lg);
|
|
835
|
+
flex-direction: row-reverse; /* Reverses button order for RTL visual hierarchy */
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
.button {
|
|
839
|
+
padding: 12px 24px;
|
|
840
|
+
border: none;
|
|
841
|
+
border-radius: 6px;
|
|
842
|
+
font-family: var(--font-urdu);
|
|
843
|
+
font-size: 16px;
|
|
844
|
+
font-weight: 700;
|
|
845
|
+
cursor: pointer;
|
|
846
|
+
transition: background 0.2s ease;
|
|
847
|
+
flex: 1;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
.button-primary {
|
|
851
|
+
background: var(--color-primary);
|
|
852
|
+
color: white;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
.button-primary:hover {
|
|
856
|
+
background: var(--color-primary-dark);
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
.button-secondary {
|
|
860
|
+
background: transparent;
|
|
861
|
+
color: var(--color-primary);
|
|
862
|
+
border: 2px solid var(--color-primary);
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
.button-secondary:hover {
|
|
866
|
+
background: rgba(15, 89, 94, 0.1);
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
.button:focus {
|
|
870
|
+
outline: 2px solid var(--color-accent);
|
|
871
|
+
outline-offset: 2px;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
.code-block {
|
|
875
|
+
background: #f5f5f5;
|
|
876
|
+
padding: var(--space-md);
|
|
877
|
+
border-radius: 6px;
|
|
878
|
+
font-family: "Courier New", monospace;
|
|
879
|
+
direction: ltr; /* Code is LTR, even in RTL pages */
|
|
880
|
+
text-align: left;
|
|
881
|
+
margin-block: var(--space-md);
|
|
882
|
+
border-inline-start: 4px solid var(--color-accent);
|
|
883
|
+
}
|
|
884
|
+
</style>
|
|
885
|
+
</head>
|
|
886
|
+
<body>
|
|
887
|
+
<div class="container">
|
|
888
|
+
<h1>خیر مقدم — Urdu Modern Quick Start</h1>
|
|
889
|
+
|
|
890
|
+
<p>
|
|
891
|
+
یہ ایک مکمل مثال ہے جو دکھاتی ہے کہ کیسے Urdu Modern ڈیزائن سسٹم استعمال کریں۔
|
|
892
|
+
</p>
|
|
893
|
+
|
|
894
|
+
<p>
|
|
895
|
+
یہاں کچھ اہم خصوصیات ہیں:
|
|
896
|
+
</p>
|
|
897
|
+
|
|
898
|
+
<ul style="margin-block-start: var(--space-md); margin-inline-start: var(--space-lg);">
|
|
899
|
+
<li>نسطعلیق فونٹ خودکار طور پر RTL کے لیے بہتر بنایا گیا ہے</li>
|
|
900
|
+
<li>رنگ نقطے <code>#0F595E</code> معلومات تنبیہی کے ساتھ منظم ہیں</li>
|
|
901
|
+
<li>تمام اردو ٹیکسٹ <code>lang="ur"</code> کے ساتھ نشان زد ہے</li>
|
|
902
|
+
</ul>
|
|
903
|
+
|
|
904
|
+
<div class="code-block">
|
|
905
|
+
<button class="button-primary">موافقہ</button>
|
|
906
|
+
</div>
|
|
907
|
+
|
|
908
|
+
<div class="button-group">
|
|
909
|
+
<button class="button button-primary">موافقہ</button>
|
|
910
|
+
<button class="button button-secondary">منسوخ</button>
|
|
911
|
+
</div>
|
|
912
|
+
</div>
|
|
913
|
+
</body>
|
|
914
|
+
</html>
|
|
915
|
+
```
|
|
916
|
+
|
|
917
|
+
---
|
|
918
|
+
|
|
919
|
+
## How the AI Agent Should Use This System
|
|
920
|
+
|
|
921
|
+
When an agent generates UI using the Urdu Modern design system, it **must** follow these rules:
|
|
922
|
+
|
|
923
|
+
1. **Set document direction:** Root `<html>` element always has `dir="rtl"` and `lang="ur"`
|
|
924
|
+
|
|
925
|
+
2. **Wrap Urdu text:** All Urdu strings wrapped in semantic tags with `lang="ur"`:
|
|
926
|
+
```html
|
|
927
|
+
<h1 lang="ur">یہ ایک سرخ</h1>
|
|
928
|
+
<p lang="ur">یہاں متن ہے۔</p>
|
|
929
|
+
```
|
|
930
|
+
|
|
931
|
+
3. **Use logical CSS properties:** Never hard-code `left`/`right`; use logical equivalents:
|
|
932
|
+
```css
|
|
933
|
+
margin-inline-start /* instead of margin-left */
|
|
934
|
+
padding-inline-end /* instead of padding-right */
|
|
935
|
+
inset-inline-start /* instead of left */
|
|
936
|
+
```
|
|
937
|
+
|
|
938
|
+
4. **Respect line-height:** Minimum 1.8 for body Urdu text; never drop below 1.6
|
|
939
|
+
|
|
940
|
+
5. **Test icon mirroring:** Directional icons (arrows, back buttons) must flip in RTL context:
|
|
941
|
+
```html
|
|
942
|
+
<!-- Icon automatically flips in RTL thanks to flex direction -->
|
|
943
|
+
<button>
|
|
944
|
+
<span lang="ur">بھیجیں</span>
|
|
945
|
+
<svg class="icon-send" aria-hidden="true"><!-- SVG --></svg>
|
|
946
|
+
</button>
|
|
947
|
+
```
|
|
948
|
+
|
|
949
|
+
6. **Validate color contrast:** Every text-color combination must meet WCAG AA (4.5:1 minimum)
|
|
950
|
+
|
|
951
|
+
7. **Test bilingual:** When mixing Urdu + English/code, ensure:
|
|
952
|
+
- Urdu text flows RTL
|
|
953
|
+
- Code blocks/English remain LTR
|
|
954
|
+
- No text reflow on directional change
|
|
955
|
+
|
|
956
|
+
8. **Use system tokens:** Never hard-code colors/spacing; use CSS variables:
|
|
957
|
+
```css
|
|
958
|
+
background: var(--color-primary);
|
|
959
|
+
padding: var(--space-md);
|
|
960
|
+
```
|
|
961
|
+
|
|
962
|
+
---
|
|
963
|
+
|
|
964
|
+
## Design System Metadata (For OD Daemon)
|
|
965
|
+
|
|
966
|
+
```yaml
|
|
967
|
+
name: Urdu Modern
|
|
968
|
+
slug: urdu
|
|
969
|
+
description: Premium design system for Urdu-first digital experiences
|
|
970
|
+
category: Editorial / Personal / Publication
|
|
971
|
+
language: Urdu (ur) + English
|
|
972
|
+
rtl_primary: true
|
|
973
|
+
fonts:
|
|
974
|
+
- name: Noto Nastaliq Urdu
|
|
975
|
+
url: https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400;700
|
|
976
|
+
- name: Inter
|
|
977
|
+
url: system
|
|
978
|
+
primary_color: "#0F595E"
|
|
979
|
+
accent_color: "#C05621"
|
|
980
|
+
target_audience: Pakistani startups, news, education, government, global Urdu communities
|
|
981
|
+
```
|
|
982
|
+
|
|
983
|
+
---
|
|
984
|
+
|
|
985
|
+
## Resources & References
|
|
986
|
+
|
|
987
|
+
- **Noto Nastaliq Urdu Font:** https://fonts.google.com/noto/specimen/Noto+Nastaliq+Urdu
|
|
988
|
+
- **WCAG Accessibility Guidelines:** https://www.w3.org/WAI/WCAG21/quickref/
|
|
989
|
+
- **CSS Logical Properties:** https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties
|
|
990
|
+
- **RTL Best Practices:** https://www.w3.org/International/questions/qa-html-dir
|
|
991
|
+
- **Urdu Typography Guide:** https://fonts.google.com/knowledge/glossary/nastaliq
|
|
992
|
+
|
|
993
|
+
---
|
|
994
|
+
|
|
995
|
+
## Version History
|
|
996
|
+
|
|
997
|
+
| Version | Date | Changes |
|
|
998
|
+
|---------|------|---------|
|
|
999
|
+
| 1.0 | 2025-05-07 | Initial release; complete Nastaliq + RTL + bilingual support |
|
|
1000
|
+
|
|
1001
|
+
**Last Updated:** 2025-05-07
|
|
1002
|
+
**Status:** Production-Ready ✅
|