theme.d.ts 707 B

123456789101112131415161718192021
  1. import { Theme as ThemeOptions, ThemeComponent } from '../runtime/types/component';
  2. export type Theme = ClassicTheme | ClassicDarkTheme | LightTheme | DarkTheme | AcademyTheme | CustomTheme;
  3. export type ThemeTypes = 'classic' | 'classicDark' | 'light' | 'dark' | 'academy' | ThemeComponent;
  4. export type ClassicTheme = {
  5. type?: 'classic';
  6. } & ThemeOptions;
  7. export type ClassicDarkTheme = {
  8. type?: 'classicDark';
  9. } & ThemeOptions;
  10. export type LightTheme = {
  11. type?: 'light';
  12. } & ThemeOptions;
  13. export type DarkTheme = {
  14. type?: 'dark';
  15. } & ThemeOptions;
  16. export type AcademyTheme = {
  17. type?: 'academy';
  18. } & ThemeOptions;
  19. export type CustomTheme = {
  20. type?: ThemeComponent;
  21. } & ThemeOptions;