All files / shared/themes/neon tokens.ts

0% Statements 0/1
100% Branches 0/0
100% Functions 0/0
0% Lines 0/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                                                                                         
import type { ThemeDefinition } from '../src/types';
 
// Bold, high-contrast demo theme to make differences obvious
export const neonTheme: ThemeDefinition = {
  name: 'neon',
  version: 1,
  radix: { appearance: 'dark', accentColor: 'purple', grayColor: 'slate', radius: 'none' },
  cssVars: {
    '--bt-color-accent-9': '#ff2bd6', // neon magenta
    '--bt-color-border': 'hsl(270 90% 40%)',
    '--bt-text': 'hsl(270 20% 96%)',
    '--bt-bg': '#0b0b14',
    '--bt-scroll-thumb': 'rgba(255,255,255,0.25)',
    '--bt-scroll-track': 'transparent',
    '--bt-panel-bg': 'hsl(245 32% 12%)',
    '--bt-focus-ring': '2px solid #ff2bd6',
  },
  typography: {
    base: "'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",
    heading: "'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",
    sizes: { '1': '12px', '2': '14px', '3': '16px', '4': '22px' },
    lineHeights: { '1': '16px', '2': '20px', '3': '22px', '4': '28px' },
    weights: { regular: 500, medium: 600, bold: 800 },
  },
  spacing: { '1': '2px', '2': '6px', '3': '10px', '4': '14px', '5': '18px' },
  radii: { sm: '0px', md: '0px', lg: '0px', rounded: '0px' },
  borders: { widths: { '1': '2px', '2': '3px' }, color: 'hsl(270 90% 40%)', focusRing: '0 0 0 3px #ff2bd6' },
  density: 'compact',
  controls: {
    heights: { sm: '22px', md: '26px', lg: '32px' },
    gaps: { sm: '4px', md: '6px', lg: '8px' },
    icon: { sm: '12px', md: '14px', lg: '18px' },
  },
  motion: { durations: { fast: '80ms', normal: '120ms' }, easings: { standard: 'cubic-bezier(.34,.01,.12,.99)' } },
  icons: { pack: 'lucide' },
  fonts: {
    files: [
      { family: 'JetBrains Mono', weight: 500, src: '/fonts/neon/JetBrainsMono-Medium.woff2' },
      { family: 'JetBrains Mono', weight: 800, src: '/fonts/neon/JetBrainsMono-ExtraBold.woff2' },
    ],
  },
};