Go to file
Jamey Greenwood 476ec9667a fix: add data attributes and Google Fonts to enable theme visual changes
- Add Google Fonts link to root layout for typography presets
- Add data-mood, data-typography, data-shape, data-density attributes to preview-frame
- Create theme-layer2-attributes.css with attribute-based CSS from demo
- Move theme CSS files from priv/static/css to assets/css for proper compilation
- Update CSS import order (primitives → layer2 → semantic)
- Add 'css' to static_paths to serve theme CSS files

This fixes the issue where theme controls updated the database but didn't
visually affect the preview. The demo's attribute-based CSS system is now
properly integrated with the Phoenix LiveView implementation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-31 00:24:53 +00:00
assets fix: add data attributes and Google Fonts to enable theme visual changes 2025-12-31 00:24:53 +00:00
config mix phx.gen.auth Accounts User users 2025-12-30 12:26:46 +00:00
lib fix: add data attributes and Google Fonts to enable theme visual changes 2025-12-31 00:24:53 +00:00
priv fix: add data attributes and Google Fonts to enable theme visual changes 2025-12-31 00:24:53 +00:00
test fix: add data attributes and Google Fonts to enable theme visual changes 2025-12-31 00:24:53 +00:00
.formatter.exs mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
.gitignore mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
AGENTS.md mix phx.gen.auth Accounts User users 2025-12-30 12:26:46 +00:00
mix.exs add Tidewave 2025-12-30 12:27:41 +00:00
mix.lock add Tidewave 2025-12-30 12:27:41 +00:00
README.md mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
SIMPLESHOP_THEME_STUDIO_SPEC.md feat: add Settings and Media contexts with theme settings schema 2025-12-30 21:35:52 +00:00
theme-demo-v28.html feat: add Settings and Media contexts with theme settings schema 2025-12-30 21:35:52 +00:00

SimpleshopTheme

To start your Phoenix server:

  • Run mix setup to install and setup dependencies
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more