growi-theme-metadata.ts 440 B

123456789101112131415161718
  1. import { ColorScheme } from './color-scheme';
  2. export const GrowiThemeSchemeType = {
  3. ...ColorScheme,
  4. BOTH: 'both',
  5. } as const;
  6. export type GrowiThemeSchemeType = typeof GrowiThemeSchemeType[keyof typeof GrowiThemeSchemeType];
  7. export type GrowiThemeMetadata = {
  8. name: string,
  9. manifestKey: string,
  10. schemeType: GrowiThemeSchemeType,
  11. bg: string,
  12. topbar: string,
  13. sidebar: string,
  14. accent: string,
  15. isPresetTheme?: boolean,
  16. };