1+ <%# Auto-generated from config/design/tokens.json - DO NOT EDIT MANUALLY %>
2+ <%# Run: node scripts/build-tokens.js to regenerate %>
3+
4+ <%
5+ # Get style variables with dynamic overrides from website
6+ vars = @current_website&.style_variables || {}
7+ %>
8+
9+ :root {
10+ /* ===== Pwb ===== */
11+ --pwb-color-primary: <%= vars["color_primary"] || "#3b82f6" %> ;
12+ --pwb-color-secondary: <%= vars["color_secondary"] || "#64748b" %> ;
13+ --pwb-color-accent: <%= vars["color_accent"] || "#f59e0b" %> ;
14+ --pwb-color-success: <%= vars["color_success"] || "#28a745" %> ;
15+ --pwb-color-warning: <%= vars["color_warning"] || "#ffc107" %> ;
16+ --pwb-color-error: <%= vars["color_error"] || "#dc3545" %> ;
17+ --pwb-color-info: <%= vars["color_info"] || "#17a2b8" %> ;
18+ --pwb-color-background-light: <%= vars["color_background_light"] || "#f8f9fa" %> ;
19+ --pwb-color-background-dark: <%= vars["color_background_dark"] || "#1a1a2e" %> ;
20+ --pwb-color-background-body: <%= vars["color_background_body"] || "#ffffff" %> ;
21+ --pwb-color-background-surface: <%= vars["color_background_surface"] || "#ffffff" %> ;
22+ --pwb-color-background-muted: <%= vars["color_background_muted"] || "#f1f3f4" %> ;
23+ --pwb-color-text-primary: <%= vars["color_text_primary"] || "#212529" %> ;
24+ --pwb-color-text-secondary: <%= vars["color_text_secondary"] || "#6c757d" %> ;
25+ --pwb-color-text-muted: <%= vars["color_text_muted"] || "#9ca3af" %> ;
26+ --pwb-color-text-light: <%= vars["color_text_light"] || "#ffffff" %> ;
27+ --pwb-color-text-on-primary: <%= vars["color_text_on_primary"] || "#ffffff" %> ;
28+ --pwb-color-text-on-secondary: <%= vars["color_text_on_secondary"] || "#ffffff" %> ;
29+ --pwb-color-border-default: <%= vars["color_border_default"] || "#e5e7eb" %> ;
30+ --pwb-color-border-dark: <%= vars["color_border_dark"] || "#d1d5db" %> ;
31+ --pwb-color-footer-background: <%= vars["color_footer_background"] || "#2c3e50" %> ;
32+ --pwb-color-footer-text: <%= vars["color_footer_text"] || "#ffffff" %> ;
33+ --pwb-color-footer-link: <%= vars["color_footer_link"] || "#3498db" %> ;
34+ --pwb-typography-font-family-primary: <%= vars["typography_font_family_primary"] || "Inter, system-ui, sans-serif" %> ;
35+ --pwb-typography-font-family-secondary: <%= vars["typography_font_family_secondary"] || "Georgia, serif" %> ;
36+ --pwb-typography-font-family-mono: <%= vars["typography_font_family_mono"] || "ui-monospace, monospace" %> ;
37+ --pwb-typography-font-size-xs: <%= vars["typography_font_size_xs"] || "0.75rem" %> ;
38+ --pwb-typography-font-size-sm: <%= vars["typography_font_size_sm"] || "0.875rem" %> ;
39+ --pwb-typography-font-size-base: <%= vars["typography_font_size_base"] || "1rem" %> ;
40+ --pwb-typography-font-size-lg: <%= vars["typography_font_size_lg"] || "1.125rem" %> ;
41+ --pwb-typography-font-size-xl: <%= vars["typography_font_size_xl"] || "1.25rem" %> ;
42+ --pwb-typography-font-size-2xl: <%= vars["typography_font_size_2xl"] || "1.5rem" %> ;
43+ --pwb-typography-font-size-3xl: <%= vars["typography_font_size_3xl"] || "1.875rem" %> ;
44+ --pwb-typography-font-size-4xl: <%= vars["typography_font_size_4xl"] || "2.25rem" %> ;
45+ --pwb-typography-font-size-5xl: <%= vars["typography_font_size_5xl"] || "3rem" %> ;
46+ --pwb-typography-line-height-tight: <%= vars["typography_line_height_tight"] || "1.25" %> ;
47+ --pwb-typography-line-height-base: <%= vars["typography_line_height_base"] || "1.6" %> ;
48+ --pwb-typography-line-height-relaxed: <%= vars["typography_line_height_relaxed"] || "1.75" %> ;
49+ --pwb-typography-font-weight-normal: <%= vars["typography_font_weight_normal"] || "400" %> ;
50+ --pwb-typography-font-weight-medium: <%= vars["typography_font_weight_medium"] || "500" %> ;
51+ --pwb-typography-font-weight-semibold: <%= vars["typography_font_weight_semibold"] || "600" %> ;
52+ --pwb-typography-font-weight-bold: <%= vars["typography_font_weight_bold"] || "700" %> ;
53+ --pwb-spacing-unit: <%= vars["spacing_unit"] || "1rem" %> ;
54+ --pwb-spacing-xs: <%= vars["spacing_xs"] || "0.25rem" %> ;
55+ --pwb-spacing-sm: <%= vars["spacing_sm"] || "0.5rem" %> ;
56+ --pwb-spacing-md: <%= vars["spacing_md"] || "1rem" %> ;
57+ --pwb-spacing-lg: <%= vars["spacing_lg"] || "1.5rem" %> ;
58+ --pwb-spacing-xl: <%= vars["spacing_xl"] || "2rem" %> ;
59+ --pwb-spacing-2xl: <%= vars["spacing_2xl"] || "3rem" %> ;
60+ --pwb-spacing-3xl: <%= vars["spacing_3xl"] || "4rem" %> ;
61+ --pwb-layout-container-padding: <%= vars["layout_container_padding"] || "1rem" %> ;
62+ --pwb-layout-container-max-width: <%= vars["layout_container_max_width"] || "1200px" %> ;
63+ --pwb-layout-container-narrow: <%= vars["layout_container_narrow"] || "800px" %> ;
64+ --pwb-layout-container-wide: <%= vars["layout_container_wide"] || "1400px" %> ;
65+ --pwb-border-radius-sm: <%= vars["border_radius_sm"] || "0.25rem" %> ;
66+ --pwb-border-radius-default: <%= vars["border_radius_default"] || "0.5rem" %> ;
67+ --pwb-border-radius-lg: <%= vars["border_radius_lg"] || "1rem" %> ;
68+ --pwb-border-radius-full: <%= vars["border_radius_full"] || "9999px" %> ;
69+ --pwb-shadow-sm: <%= vars["shadow_sm"] || "0 1px 2px rgba(0,0,0,0.05)" %> ;
70+ --pwb-shadow-default: <%= vars["shadow_default"] || "0 4px 6px rgba(0,0,0,0.1)" %> ;
71+ --pwb-shadow-lg: <%= vars["shadow_lg"] || "0 10px 25px rgba(0,0,0,0.15)" %> ;
72+ --pwb-shadow-inner: <%= vars["shadow_inner"] || "inset 0 2px 4px rgba(0,0,0,0.06)" %> ;
73+ --pwb-transition-fast: <%= vars["transition_fast"] || "150ms" %> ;
74+ --pwb-transition-normal: <%= vars["transition_normal"] || "300ms" %> ;
75+ --pwb-transition-slow: <%= vars["transition_slow"] || "500ms" %> ;
76+ --pwb-transition-timing: <%= vars["transition_timing"] || "cubic-bezier(0.4, 0, 0.2, 1)" %> ;
77+ --pwb-z-index-dropdown: <%= vars["z_index_dropdown"] || "1000" %> ;
78+ --pwb-z-index-sticky: <%= vars["z_index_sticky"] || "1020" %> ;
79+ --pwb-z-index-fixed: <%= vars["z_index_fixed"] || "1030" %> ;
80+ --pwb-z-index-modal-backdrop: <%= vars["z_index_modal_backdrop"] || "1040" %> ;
81+ --pwb-z-index-modal: <%= vars["z_index_modal"] || "1050" %> ;
82+ --pwb-z-index-popover: <%= vars["z_index_popover"] || "1060" %> ;
83+ --pwb-z-index-tooltip: <%= vars["z_index_tooltip"] || "1070" %> ;
84+
85+ }
0 commit comments