@damarkuncoro/agnostic-ui-theme-core
v1.0.1
Published
Theme core for Agnostic UI
Downloads
181
Maintainers
Readme
@damarkuncoro/agnostic-ui-theme-core
Theme core for Agnostic UI - provides type definitions, default themes, and validation for UI theme objects.
Installation
npm install @damarkuncoro/agnostic-ui-theme-coreUsage
import { themeCore, validateTheme, UiTheme } from '@damarkuncoro/agnostic-ui-theme-core';
// Use the default theme
const theme = themeCore;
// Validate a custom theme
validateTheme(customTheme);API
themeCore: Default theme implementationvalidateTheme(theme: UiTheme): Validates theme structure and versionUiTheme: TypeScript interface for theme objects
License
MIT
