import { readFileSync } from 'node:fs';
import { dirname, join } from 'node:path';
import { fileURLToPath } from 'node:url';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
// Load themes from JSON at startup — keeps 50 theme definitions out of source code.
// Path resolves from dist/config/ back to source/config/themes.json (included in package.json files).
const themesPath = join(__dirname, '../../source/config/themes.json');
export const themes = JSON.parse(readFileSync(themesPath, 'utf-8'));
export function getThemeColors(themePreset) {
    return themes[themePreset].colors;
}
export const defaultTheme = 'tokyo-night';
//# sourceMappingURL=themes.js.map