2026-01-17 16:19:35 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en" class="h-full">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
|
<meta name="csrf-token" content={get_csrf_token()} />
|
|
|
|
|
<.live_title><%= assigns[:page_title] || @theme_settings.site_name %></.live_title>
|
2026-01-17 16:22:11 +00:00
|
|
|
<link phx-track-static rel="stylesheet" href={~p"/assets/css/app.css"} />
|
|
|
|
|
<script defer phx-track-static type="text/javascript" src={~p"/assets/js/app.js"}>
|
2026-01-17 16:19:35 +00:00
|
|
|
</script>
|
|
|
|
|
<!-- Generated theme CSS (only active values, not all variants) -->
|
|
|
|
|
<style id="theme-css"><%= Phoenix.HTML.raw(@generated_css) %></style>
|
|
|
|
|
</head>
|
|
|
|
|
<body class="h-full">
|
|
|
|
|
<div
|
2026-01-17 21:43:26 +00:00
|
|
|
class="themed shop-root h-full"
|
2026-01-17 16:19:35 +00:00
|
|
|
data-mood={@theme_settings.mood}
|
|
|
|
|
data-typography={@theme_settings.typography}
|
|
|
|
|
data-shape={@theme_settings.shape}
|
|
|
|
|
data-density={@theme_settings.density}
|
|
|
|
|
data-grid={@theme_settings.grid_columns}
|
|
|
|
|
data-header={@theme_settings.header_layout}
|
|
|
|
|
data-sticky={to_string(@theme_settings.sticky_header)}
|
|
|
|
|
data-layout={@theme_settings.layout_width}
|
|
|
|
|
data-shadow={@theme_settings.card_shadow}
|
2026-01-17 21:43:26 +00:00
|
|
|
data-button-style={@theme_settings.button_style}
|
2026-01-17 16:19:35 +00:00
|
|
|
>
|
|
|
|
|
<%= @inner_content %>
|
|
|
|
|
</div>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|