Update app config

This commit is contained in:
Andrew 2024-02-03 19:39:04 +03:00
parent 934fe48327
commit 536ccc2f96
5 changed files with 98 additions and 35 deletions

View File

@ -1,35 +0,0 @@
export default {
config: {
locales: [
// 'ar',
// 'fr',
// 'cs',
// 'de',
// 'dk',
// 'es',
// 'he',
// 'id',
// 'it',
// 'ja',
// 'ko',
// 'ms',
// 'nl',
// 'no',
// 'pl',
// 'pt-BR',
// 'pt',
// 'ru',
// 'sk',
// 'sv',
// 'th',
// 'tr',
// 'uk',
// 'vi',
// 'zh-Hans',
// 'zh',
],
},
bootstrap(app) {
console.log(app);
},
};

98
strapi/src/admin/app.tsx Normal file
View File

@ -0,0 +1,98 @@
import CMSLogo from './extensions/book.png'
import favicon from './extensions/favicon.ico'
export default {
config: {
auth: {
logo: CMSLogo,
},
head: {
favicon: favicon,
},
menu: {
logo: CMSLogo,
},
locales: [
// 'ar',
// 'fr',
// 'cs',
// 'de',
// 'dk',
// 'es',
// 'he',
// 'id',
// 'it',
// 'ja',
// 'ko',
// 'ms',
// 'nl',
// 'no',
// 'pl',
// 'pt-BR',
// 'pt',
'ru',
// 'sk',
// 'sv',
// 'th',
// 'tr',
// 'uk',
// 'vi',
// 'zh-Hans',
// 'zh',
],
},
theme: {
dark: {
color: {
alternative100: '#050511',
alternative200: '#4a4a6a',
alternative500: '#ac73e6',
alternative600: '#ac73e6',
alternative700: '#e0c1f4',
buttonNeutral0: '#ffffff',
buttonPrimary500: '#7b79ff',
buttonPrimary600: '#4945ff',
danger100: '#050511',
danger200: '#4a4a6a',
danger500: '#ee5e52',
danger600: '#ee5e52',
danger700: '#ee5e52',
neutral0: '#141433',
neutral100: '#050511',
neutral1000: '#ffffff',
neutral150: '#32324d',
neutral200: '#4a4a6a',
neutral300: '#666687',
neutral400: '#a5a5ba',
neutral500: '#c0c0cf',
neutral600: '#a5a5ba',
neutral700: '#eaeaef',
neutral800: '#ffffff',
neutral900: '#ffffff',
primary100: '#050511',
primary200: '#4a4a6a',
primary500: '#4945ff',
primary600: '#7b79ff',
primary700: '#7b79ff',
secondary100: '#050511',
secondary200: '#4a4a6a',
secondary500: '#66b7f1',
secondary600: '#66b7f1',
secondary700: '#b8e1ff',
success100: '#050511',
success200: '#4a4a6a',
success500: '#5cb176',
success600: '#5cb176',
success700: '#c6f0c2',
warning100: '#050511',
warning200: '#4a4a6a',
warning500: '#f29d41',
warning600: '#f29d41',
warning700: '#fae7b9',
}
}
},
bootstrap(app) {
console.log(app);
},
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB