import type { StackablesTheme } from '../types'; /** * Maps theme object keys to CSS variable names. * Used by ThemeProvider to inject design tokens. */ export const THEME_VAR_MAP: Record, string> = { primary: '--stackables-primary', primaryHover: '--stackables-primary-hover', primaryForeground: '--stackables-primary-foreground', containerWidth: '--stackables-container-width', fontFamily: '--stackables-font-family', fontSizeBtn: '--stackables-font-size-btn', fontWeightBtn: '--stackables-font-weight-btn', fontWeightOutline: '--stackables-font-weight-outline', btnPaddingY: '--stackables-btn-padding-y', btnPaddingX: '--stackables-btn-padding-x', btnBorderRadius: '--stackables-btn-border-radius', btnFocusRing: '--stackables-btn-focus-ring', linkBtnLineHeight: '--stackables-link-btn-line-height', linkBtnArrowSize: '--stackables-link-btn-arrow-size', linkBtnArrowSpacing: '--stackables-link-btn-arrow-spacing', }; /** Default theme values (match styles.css :root) */ export const defaultTheme: StackablesTheme = { primary: '#715cdd', primaryHover: 'rgba(113, 92, 228, 0.7)', primaryForeground: '#fff', containerWidth: '1440px', fontFamily: '"Inter", sans-serif', fontSizeBtn: '14px', fontWeightBtn: '700', fontWeightOutline: '400', btnPaddingY: '12px', btnPaddingX: '28px', btnBorderRadius: '2px', btnFocusRing: 'rgba(13, 110, 253, 0.25)', linkBtnLineHeight: '22px', linkBtnArrowSize: '26px', linkBtnArrowSpacing: '5px', };