import { describe, it, expect } from './runner.js'; describe('Theme', () => { it('CSS custom properties set', () => { const style = getComputedStyle(document.documentElement); for (const prop of ['--t-bg', '--t-accent', '--t-text', '--t-surface', '--t-border', '--t-muted', '--t-dim', '--t-bright']) { expect(style.getPropertyValue(prop).trim()).toBeTruthy(); } }); it('theme persisted in localStorage', () => { expect(localStorage.getItem('hyprcrd-theme')).toBeTruthy(); }); it('applyTheme function exists', () => { expect(typeof window.applyTheme).toBe('function'); }); it('themes object available', () => { expect(window.themes).toExist(); expect(Object.keys(window.themes).length).toBeGreaterThan(5); }); it('card layout CSS vars set', () => { const style = getComputedStyle(document.documentElement); expect(style.getPropertyValue('--card-min-h').trim()).toBeTruthy(); }); }); describe('Keyboard Shortcuts', () => { it('Ctrl+Shift+T bound (test runner)', () => { // Just verify we got here — the test runner itself proves this works expect(true).toBe(true); }); });