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

changed the word of hedgehog to animals

kaoritokashiki 6 лет назад
Родитель
Сommit
a029a7ec34

+ 1 - 1
config/webpack.common.js

@@ -44,7 +44,7 @@ module.exports = (options) => {
       'styles/theme-wood':          './src/client/styles/scss/theme/wood.scss',
       'styles/theme-christmas':          './src/client/styles/scss/theme/christmas.scss',
       'styles/theme-island':      './src/client/styles/scss/theme/island.scss',
-      'styles/theme-hedgehog':      './src/client/styles/scss/theme/hedgehog.scss',
+      'styles/theme-animals':      './src/client/styles/scss/theme/animals.scss',
       'styles/theme-antarctic':      './src/client/styles/scss/theme/antarctic.scss',
       // styles for external services
       'styles/style-hackmd':          './src/client/styles/hackmd/style.scss',

+ 1 - 1
src/client/js/components/Admin/Customize/CustomizeThemeOptions.jsx

@@ -28,7 +28,7 @@ class CustomizeThemeOptions extends React.Component {
     }, {
       name: 'antarctic', bg: '#ffffff', topbar: '#000080', theme: '#99cccc',
     }, {
-      name: 'hedgehog', bg: '#ffffff', topbar: '#334455', theme: '#112744',
+      name: 'animals', bg: '#ffffff', topbar: '#334455', theme: '#112744',
     }];
 
     const darkTheme = [{

+ 0 - 0
src/client/styles/agile-admin/inverse/colors/hedgehog.scss → src/client/styles/agile-admin/inverse/colors/animals.scss


+ 1 - 1
src/client/styles/scss/theme/hedgehog.scss → src/client/styles/scss/theme/animals.scss

@@ -1,5 +1,5 @@
 // import colors
-@import '../../agile-admin/inverse/colors/default-dark';
+@import '../../agile-admin/inverse/colors/animals';
 
 // apply agile-admin theme
 @import '../../agile-admin/inverse/style';

+ 1 - 1
src/server/routes/apiv3/customize-setting.js

@@ -95,7 +95,7 @@ module.exports = (crowi) => {
     layoutTheme: [
       body('layoutType').isString().isIn(['growi', 'kibela', 'crowi']),
       body('themeType').isString().isIn([
-        'default', 'nature', 'mono-blue', 'wood', 'island', 'christmas', 'antarctic', 'default-dark', 'future', 'blue-night', 'halloween',
+        'default', 'nature', 'mono-blue', 'wood', 'island', 'christmas', 'antarctic', 'default-dark', 'future', 'blue-night', 'halloween', 'animals'
       ]),
     ],
     behavior: [