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 | import type { ThemeDefinition } from '../src/types';
// Sendcloud-inspired theme tuned for the video chatbot
export const sendcloudTheme: ThemeDefinition = {
name: 'sendcloud',
version: 4,
radix: { appearance: 'light', accentColor: 'blue', grayColor: 'slate', radius: 'large' },
cssVars: {
// Palette
'--bt-color-accent': '#00B0FF', // sky blue
'--bt-color-navy': '#003366', // deep navy
'--bt-bg': '#FFFFFF',
'--bt-text': 'rgb(17, 40, 87)',
'--bt-text-dim': 'rgba(17, 40, 87, 0.85)',
'--bt-bg-subtle': 'hsl(215 33% 98%)',
'--bt-bg-hero': 'linear-gradient(180deg, rgba(210,226,248,1) 0%, rgba(198,218,244,1) 100%)',
// Typographic tokens from sampled CSS
'--bt-body-size': '17px',
'--bt-body-leading': '30px',
'--bt-heading-3-size': '20px',
'--bt-heading-3-leading': '26px',
'--bt-heading-3-weight': '600',
// On-dark body text (white text on navy backgrounds)
'--bt-body-on-dark-size': '17px',
'--bt-body-on-dark-leading': '30px',
'--bt-body-on-dark-weight': '400',
// Legacy compatibility keys used elsewhere
'--bt-color-accent-9': '#2563eb',
'--bt-color-border': 'hsl(215 16% 85%)',
// Radii
'--bt-radius-sm': '8px',
'--bt-radius-md': '12px',
'--bt-radius-video': '32px', // outer video container
'--bt-radius-button-lg': '23px',
// Shadows / outlines
'--bt-shadow-soft': '0 0 8px rgba(0,0,0,0.10)',
'--bt-shadow-overlay': '0 6px 24px rgba(0,0,0,0.14)',
'--bt-outline-accent': '0 0 0 2px rgba(0,176,255,0.6)',
// CTA / motion
'--bt-cta-text': '#ffffff',
'--bt-cta-transition': '0.2s ease-out',
'--bt-cta-press-scale': '0.98',
'--bt-cta-gradient': 'linear-gradient(90deg, rgb(0,211,247) 0%, rgb(13,156,255) 100%)',
'--bt-cta-gradient-hover': 'linear-gradient(90deg, rgb(0,231,255) 0%, rgb(33,176,255) 100%)',
// Dark section / tiles (optional variants)
'--bt-bg-section-dark': 'rgb(18, 34, 64)',
'--bt-text-on-dark': '#ffffff',
'--bt-text-on-dark-dim': 'rgba(255,255,255,0.8)',
'--bt-card-radius': '28px',
'--bt-card-border-width': '2px',
'--bt-card-border-color': 'rgb(13, 156, 255)',
'--bt-card-bg': 'linear-gradient(180deg, rgba(16,36,81,1) 0%, rgba(13,45,115,1) 100%)',
'--bt-card-shadow': '0 8px 24px rgba(0,0,0,0.12)',
// Container sizing tokens
'--bt-size-minimal-width': '80px',
'--bt-size-minimal-height': '48px',
'--bt-size-medium-width': '450px',
'--bt-size-medium-height': '500px',
'--bt-size-large-width': '98vw',
'--bt-size-large-height': '96vh',
// Responsive size adjustments
'--bt-size-minimal-width-mobile': '60px',
'--bt-size-minimal-height-mobile': '40px',
'--bt-size-medium-width-tablet': '400px',
'--bt-size-medium-height-tablet': '450px',
// Size mode transitions
'--bt-size-transition': '0.3s cubic-bezier(0.2, 0, 0, 1)',
'--bt-size-shadow': '0 8px 32px rgba(0,0,0,0.12)',
'--bt-size-border': '1px solid rgba(0,176,255,0.15)',
},
typography: {
base: "'Inter', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif",
heading: "'Inter', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif",
sizes: { '1': '17px', '2': '20px', '3': '32px', '4': '44px' },
lineHeights: { '1': '30px', '2': '26px', '3': '40px', '4': '44px' },
weights: { regular: 400, medium: 600, bold: 700 },
},
spacing: { '1': '4px', '2': '8px', '3': '12px', '4': '16px', '5': '24px', '6': '32px', '7': '40px' },
radii: { sm: '8px', md: '12px', lg: '16px', rounded: '999px' },
borders: {
widths: { '1': '1px', '2': '2px' },
color: 'hsl(215 16% 85%)',
focusRing: 'var(--bt-outline-accent)',
},
density: 'comfortable',
controls: {
heights: { sm: '30px', md: '36px', lg: '56px' },
gaps: { sm: '6px', md: '8px', lg: '10px' },
icon: { sm: '14px', md: '16px', lg: '20px' },
},
motion: { durations: { fast: '120ms', normal: '180ms' }, easings: { standard: 'cubic-bezier(0.2, 0, 0, 1)' } },
icons: { pack: 'fontawesome' },
fonts: {
files: [
// Font Awesome CDN (CSS file)
{ family: 'Font Awesome 6 Free', weight: 400, src: 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css' },
],
},
};
|