Grex Theme Builder is Step 3 of the Post-1.0 GRAB Ecosystem — a responsive-first visual page and conditional theme builder powered purely by GRAB v1.1.0, GrabLab CMS v1.0.0, and Grex JS v1.0.0 (zero Vue, Pinia, Node, Webpack, or Vite bloat).
It packages and installs as a first-class, exclusive mode: "visual" theme inside GrabLab CMS. When activated, it disables any prior theme and takes 100% exclusive template rendering control with clean semantic HTML (zero wrapper <div> bloat).
- Exclusive
mode: "visual"GrabLab Theme: Ships withtheme/theme.json("mode": "visual","engine": "grex-visual") and zero-<div>.grab.htmltemplate shells — never a third-party plugin. - Pure
Grex JS v1.0.0Reactive Studio: Signal-driven state (createBuilderStore), 20-element catalog (grex.elements.json),validateElementNode(), and liveauditAccessibility()WCAG AA checks. - Deterministic Undo/Redo Command Stack: Serializable mutation commands (
createCommandStack) shared safely by human designers and Grex AI (grab mcp). - Fluid Grisp /
--read-onlyDocker Sync: Live split-screen edits patch browser memory via origin-checkedGrexPreviewBridge; Save Draft isolates drafts inuse data; Publish invalidatesuse cacheand writes compiled CSS strictly to/static/grex/forserver.asset?v=<hash>. - NextGen Dynamic & Component Studio (
v1.4.0): Visual Query Loop Builder UI, Typed Dynamic Data Tags withint64exact formatters, Server-Evaluated Conditional Visibility, and Global Synced<grab-component>Studio.
grab migrate --db-config grab.data.json --allow-db main:migrate migrations/001_studio_schema.grab
grab migrate --db-config grab.data.json --allow-db main:migrate migrations/002_revisions_schema.grab
grab serve --allow-scripts --db-config grab.data.json --allow-db main:read-write --platform-config grab.platform.json --allow-cache studio:read-write --static public --allow-read . --allow-write public/grex --allow-write storage src/studio.grabOpen http://127.0.0.1:8080/studio to edit templates, global --grex-* theme tokens, reusable .grex-c-* classes, responsive breakpoints, conditional template rules, ForEach Query Loops, dynamic bindings, live Preview As contexts, immutable revision diffs/rollback (Revisions), live GRAB-DESIGN-SYSTEM.md (/api/design-system.md), and WCAG AA guarded grab mcp AI layout updates (/api/mcp/layout), then publish compiled CSS to public/grex/.
Package theme/ (python scripts/package_release.py --version 1.0.0) or copy theme/ to themes/grex-builder/ and theme/assets/theme.css to public/themes/grex-builder/theme.css, then activate Grex Theme Builder (slug grex-builder) from /admin/themes.
node --test tests/*.test.js
python tests/integration_e2e.py- Repositories:
urbanspress/grex-builder.progress(active development) /urbanspress/grex-builder.stable(verified releases) - Latest Release:
v1.4.0— NextGen Visual Query Loop, Dynamic Data Tags, Conditional Visibility & Global Synced<grab-component>Studio (Verified & Released; see CHANGELOG.md). - Governance & Roadmap: See GREX-BUILDER-EXPERT.md, AGENTS.md, docs/ROADMAP.md, and deploy/README.md.
MIT License — see LICENSE.