Просмотр исходного кода

remove dependencies to PresetThemes.DEFAULT

Yuki Takei 1 год назад
Родитель
Сommit
3f45460936
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      apps/app/src/server/models/config.ts

+ 1 - 2
apps/app/src/server/models/config.ts

@@ -1,4 +1,3 @@
-import { PresetThemes } from '@growi/preset-themes';
 import type { Types } from 'mongoose';
 import { Schema } from 'mongoose';
 import uniqueValidator from 'mongoose-unique-validator';
@@ -124,7 +123,7 @@ export const defaultCrowiConfigs: { [key: string]: any } = {
   'customize:title' : undefined,
   'customize:highlightJsStyle' : 'github',
   'customize:highlightJsStyleBorder' : false,
-  'customize:theme' : PresetThemes.DEFAULT,
+  'customize:theme' : 'default', // PresetThemes.DEFAULT
   'customize:theme:forcedColorScheme' : null,
   'customize:isContainerFluid' : false,
   'customize:isEnabledTimeline' : true,