All files / src/remotion Theme.ts

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117          3x                                                                                                                                                                                                                              
/**
 * Solid Dark Theme kinetic motion and design tokens for the Daguerre launch sequence.
 * Replaces liquid glass with high-contrast, obsidian dark surfaces matching the real app.
 */
 
export const THEME = {
  /**
   * Kinetic spring presets.
   * Derived from Apple iOS / macOS system animations.
   */
  springs: {
    /** Primary hero entrance spring as specified in launch requirements */
    hero: {
      damping: 24,
      mass: 0.8,
      stiffness: 120,
    },
    /** Snappy micro-interaction spring for badges and cursor hits */
    snappy: {
      damping: 20,
      mass: 0.6,
      stiffness: 180,
    },
    /** Smooth deceleration spring for ambient camera glides */
    soft: {
      damping: 28,
      mass: 1.0,
      stiffness: 100,
    },
    /** Tactile spring for card thuds and badge locks */
    tactile: {
      damping: 18,
      mass: 0.5,
      stiffness: 160,
    },
  },
 
  /**
   * Solid Dark palette matching the authentic Daguerre desktop dark theme.
   */
  colors: {
    canvasBackground: '#090A0D',
    surfaceObsidian: '#0E1015',
    surfaceCharcoal: '#14151B',
    surfaceCard: '#16171F',
    surfaceCardActive: '#181C26',
    surfaceElevated: '#1D1F2A',
 
    // Solid borders
    borderSubtle: '#222430',
    borderMuted: '#2A2C3A',
    borderActive: '#0A84FF',
    borderHighlight: '#36394A',
 
    // Glass surfaces and highlights
    glassBackground: 'rgba(255, 255, 255, 0.05)',
    glassBackgroundElevated: 'rgba(255, 255, 255, 0.09)',
    glassBorder: 'rgba(255, 255, 255, 0.14)',
    glassBorderHighlight: 'rgba(255, 255, 255, 0.32)',
    specularGlint: 'rgba(255, 255, 255, 0.85)',
 
    // Accents
    accentBlue: '#0A84FF',
    accentBlueGlow: 'rgba(10, 132, 255, 0.38)',
    accentCyan: '#64D2FF',
    accentGreen: '#30D158',
    accentGreenGlow: 'rgba(48, 209, 88, 0.32)',
    accentPurple: '#BF5AF2',
    accentPurpleGlow: 'rgba(191, 90, 242, 0.32)',
    accentGold: '#FFD60A',
    accentGoldGlow: 'rgba(255, 214, 10, 0.32)',
 
    // Typography
    textPrimary: '#FFFFFF',
    textSecondary: '#EBEBF5',
    textMuted: '#98989D',
    textTertiary: '#6E6E73',
 
    // Ambient background tones (subtle obsidian gradients, not washed out glass)
    ambientDeep: '#060709',
    ambientSubtleBlue: '#091526',
    ambientSubtlePurple: '#130C1E',
    ambientBlue: '#0C2D5A',
    ambientPurple: '#2E124D',
  },
 
  /**
   * Layered box shadows producing crisp solid elevation depth.
   */
  shadows: {
    windowDefault:
      '0 24px 64px rgba(0, 0, 0, 0.75), 0 4px 16px rgba(0, 0, 0, 0.5)',
    windowElevated:
      '0 32px 80px rgba(0, 0, 0, 0.85), 0 8px 24px rgba(0, 0, 0, 0.6)',
    glassDefault:
      '0 24px 64px rgba(0, 0, 0, 0.75), 0 4px 16px rgba(0, 0, 0, 0.5)',
    glassPillar: '0 24px 60px -8px rgba(0, 0, 0, 0.7)',
    solidCard: '0 12px 28px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4)',
    solidCardActive:
      '0 16px 36px rgba(0, 0, 0, 0.7), 0 0 24px rgba(10, 132, 255, 0.25)',
    badgeHover: '0 8px 24px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3)',
    textHero: '0 4px 20px rgba(0, 0, 0, 0.7)',
  },
 
  /**
   * System typography rules.
   */
  typography: {
    fontFamily:
      '-apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif',
    subheadlineFontFamily:
      '-apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif',
    codeFamily:
      '"SF Mono", Menlo, Monaco, "Cascadia Code", Consolas, monospace',
  },
} as const;