ATTENTION:
All the other answers here are for versions of Strapi BELOW 4.x.
The Strapi 4.x documentation is still being worked on, but Strapi 4.x makes customizing anything in the admin tool super easy! Check it out...
Just rename src/admin/app.example.js
to src/admin/app.js
, or just use my example below. I tried to fill in things you may find useful. Note you can change colors for the dark theme by using the same pattern, just swap out "light" with "dark".
Note: You can replace the favicon and logo as well, just place the files in src/admin/extensions
.
Note: Remember to run strapi build
to rebuild the strapi admin panel for your changes to take effect! These changes will not auto-reload.
For a complete list of colors you can change, see https://github.com/strapi/design-system/blob/main/packages/strapi-design-system/src/themes/lightTheme/light-colors.ts
import favicon from './extensions/favicon.png'
import logo from './extensions/logo.png'
const 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',
],
translations: {
en: {
'app.components.LeftMenu.navbrand.title': 'What Strapi calls itself (to the right of the logo_'
}
},
menu: {
logo
},
head: {
favicon
},
theme: {
light: {
colors: {
primary100: '#c9ffeb',
primary200: '#5effc3',
primary500: '#00f298',
buttonPrimary500: '#fff298',
primary600: '#00bd77',
buttonPrimary600: '#ffbd77',
primary700: '#008755',
}
}
}
}
const bootstrap = (app) => {
console.log(app)
}
export default {
config,
bootstrap
}