UNPKG

@ngzard/ui

Version:

An alternative to shadcn/ui for angular

34 lines 958 B
import * as themes from '../core/themes/theme-definitions.js'; export function getAvailableThemes() { return themes.availableThemes; } export function getThemeContent(themeName) { const content = (() => { switch (themeName) { case 'neutral': return themes.neutral; case 'stone': return themes.stone; case 'zinc': return themes.zinc; case 'gray': return themes.gray; case 'slate': return themes.slate; default: return themes.neutral; } })(); return content.trim(); } export function getThemeDisplayName(themeName) { const names = { neutral: 'Neutral (Default)', stone: 'Stone', zinc: 'Zinc', gray: 'Gray', slate: 'Slate', }; return names[themeName] || themeName; } //# sourceMappingURL=theme-selector.js.map