ui-theme/dist/index.js

21 lines
1.3 KiB
JavaScript
Raw Normal View History

// Styled-components type augmentation (imported so tsc emits it to dist/)
import './styled-augmentation';
// Provider, hook, showcase, and CSS variables
export { ThemeProvider, ThemeCssVariables, useTheme, ThemeShowcase } from './components';
// CSS variable utilities
export { flattenThemeToCssVars } from './utils/css-variables';
// Theme adapters
export { cyberpunkAdapter, luxeAdapter, lilithAdapter, pitchDeckAdapter, pitchDeckLightAdapter, neutralThemeAdapter, creatorPortalThemeAdapter, corporateThemeAdapter, synthwaveAdapter, synthwaveLightAdapter, } from './adapters';
// Global styles
export { AdminGlobalStyles } from './AdminGlobalStyles';
// Scrollbar utilities
export { scrollbarStyles, thinScrollbarStyles, GlobalScrollbarStyles } from './scrollbar';
// Contrast utilities
export { isHexColor, isOpaqueHexColor, hexToRgb, relativeLuminance, contrastRatio, meetsWCAG } from './utils/contrast';
// Color manipulation utilities
export { lighten, darken, mix, rgba, withAlpha } from './utils/color';
// Theme customization utilities
export { createCustomTheme } from './utils/merge-theme';
// Type helpers (re-export for consumers building themes externally)
export { createColorScale, createSemanticColor, createBorderColor } from './types/ThemeInterface';
//# sourceMappingURL=index.js.map