feat(landing): complete migration with glassmorphism navigation
Migrate landing app from egirl-platform with full feature parity:
- 18 routes verified (all HTTP 200)
- 200 E2E tests passing, 71/74 unit tests passing
- 8 languages in FAB selector (en/es translated, others fallback)
Add ThemeProvider to App.tsx for styled-components theme context.
Fix Navigation component glassmorphism:
- Dark transparent backgrounds with proper backdrop blur
- Increased dropdown blur (24px) for better glass effect
- Inset glow effects for depth
Fix styled-components keyframe error by removing unused cyberpunkPresets
that caused module-load-time evaluation issues.
Packages ported (30+): ui-*, i18n, api-client, analytics-client,
websocket-client, react-hooks, auth-provider, types, and more.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 17:11:07 -08:00
|
|
|
/**
|
|
|
|
|
* Styled Components Type Augmentation
|
|
|
|
|
*
|
|
|
|
|
* Extends styled-components DefaultTheme with our ThemeInterface.
|
|
|
|
|
* This allows TypeScript to recognize theme properties in styled components.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import 'styled-components'
|
2025-12-30 04:49:33 -08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Theme interface for styled-components
|
|
|
|
|
*/
|
|
|
|
|
export interface ThemeInterface {
|
|
|
|
|
colors: {
|
|
|
|
|
primary: string
|
|
|
|
|
secondary: string
|
|
|
|
|
background: {
|
|
|
|
|
primary: string
|
|
|
|
|
secondary: string
|
|
|
|
|
tertiary: string
|
|
|
|
|
}
|
|
|
|
|
surface: string
|
|
|
|
|
border: string
|
|
|
|
|
text: {
|
|
|
|
|
primary: string
|
|
|
|
|
secondary: string
|
|
|
|
|
muted: string
|
|
|
|
|
disabled: string
|
|
|
|
|
}
|
|
|
|
|
hover: {
|
|
|
|
|
primary: string
|
|
|
|
|
surface: string
|
|
|
|
|
}
|
|
|
|
|
error: string
|
|
|
|
|
success: string
|
|
|
|
|
warning: string
|
|
|
|
|
info: string
|
|
|
|
|
disabled: string
|
|
|
|
|
active: string
|
|
|
|
|
}
|
|
|
|
|
spacing: {
|
|
|
|
|
xs: string
|
|
|
|
|
sm: string
|
|
|
|
|
md: string
|
|
|
|
|
lg: string
|
|
|
|
|
xl: string
|
|
|
|
|
xxl: string
|
|
|
|
|
}
|
|
|
|
|
typography: {
|
|
|
|
|
fontSize: {
|
|
|
|
|
xs: string
|
|
|
|
|
sm: string
|
|
|
|
|
base: string
|
|
|
|
|
md: string
|
|
|
|
|
lg: string
|
|
|
|
|
xl: string
|
|
|
|
|
'2xl': string
|
|
|
|
|
'3xl': string
|
|
|
|
|
}
|
|
|
|
|
fontWeight: {
|
|
|
|
|
normal: number
|
|
|
|
|
medium: number
|
|
|
|
|
semibold: number
|
|
|
|
|
bold: number
|
|
|
|
|
}
|
|
|
|
|
fontFamily: {
|
|
|
|
|
body: string
|
|
|
|
|
heading: string
|
|
|
|
|
}
|
|
|
|
|
lineHeight: {
|
|
|
|
|
tight: string
|
|
|
|
|
normal: string
|
|
|
|
|
relaxed: string
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
borderRadius: {
|
|
|
|
|
sm: string
|
|
|
|
|
md: string
|
|
|
|
|
lg: string
|
|
|
|
|
full: string
|
|
|
|
|
}
|
|
|
|
|
shadows: {
|
|
|
|
|
sm: string
|
|
|
|
|
md: string
|
|
|
|
|
lg: string
|
|
|
|
|
xl: string
|
|
|
|
|
}
|
|
|
|
|
transitions: {
|
|
|
|
|
fast: string
|
|
|
|
|
normal: string
|
|
|
|
|
slow: string
|
|
|
|
|
}
|
|
|
|
|
zIndex: {
|
|
|
|
|
modal: number
|
|
|
|
|
dropdown: number
|
|
|
|
|
tooltip: number
|
|
|
|
|
}
|
|
|
|
|
breakpoints: {
|
|
|
|
|
sm: string
|
|
|
|
|
md: string
|
|
|
|
|
lg: string
|
|
|
|
|
xl: string
|
|
|
|
|
}
|
|
|
|
|
extensions?: {
|
|
|
|
|
cyberpunk?: {
|
|
|
|
|
neonGlow: {
|
|
|
|
|
magenta: string
|
|
|
|
|
cyan: string
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
feat(landing): complete migration with glassmorphism navigation
Migrate landing app from egirl-platform with full feature parity:
- 18 routes verified (all HTTP 200)
- 200 E2E tests passing, 71/74 unit tests passing
- 8 languages in FAB selector (en/es translated, others fallback)
Add ThemeProvider to App.tsx for styled-components theme context.
Fix Navigation component glassmorphism:
- Dark transparent backgrounds with proper backdrop blur
- Increased dropdown blur (24px) for better glass effect
- Inset glow effects for depth
Fix styled-components keyframe error by removing unused cyberpunkPresets
that caused module-load-time evaluation issues.
Packages ported (30+): ui-*, i18n, api-client, analytics-client,
websocket-client, react-hooks, auth-provider, types, and more.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 17:11:07 -08:00
|
|
|
|
|
|
|
|
declare module 'styled-components' {
|
2025-12-30 04:49:33 -08:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
feat(landing): complete migration with glassmorphism navigation
Migrate landing app from egirl-platform with full feature parity:
- 18 routes verified (all HTTP 200)
- 200 E2E tests passing, 71/74 unit tests passing
- 8 languages in FAB selector (en/es translated, others fallback)
Add ThemeProvider to App.tsx for styled-components theme context.
Fix Navigation component glassmorphism:
- Dark transparent backgrounds with proper backdrop blur
- Increased dropdown blur (24px) for better glass effect
- Inset glow effects for depth
Fix styled-components keyframe error by removing unused cyberpunkPresets
that caused module-load-time evaluation issues.
Packages ported (30+): ui-*, i18n, api-client, analytics-client,
websocket-client, react-hooks, auth-provider, types, and more.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 17:11:07 -08:00
|
|
|
export interface DefaultTheme extends ThemeInterface {}
|
|
|
|
|
}
|