Strapi 4.3.9 Doesn't override theme colors

System Information
  • Strapi Version: 4.3.9
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

I am following the Admin Guide Customization and I updated the .src/admin/app.js as said but the colors don’t change, it keeps the default color on my Admin Dashboard.
What else should I do? Am I missing something?

Thanks,

Above is the code:

export default {
  config: {
    theme: {
      colors: {
        primary100: '#FF5400',
        primary200: '#FF5400',
        primary500: '#FF5400',
        primary600: '#60bdb2',
        primary700: '#0a7a7f',
      },
    },
    tutorials: false,
   // Disable notifications about new Strapi releases
    notifications: { release: false },
  },

bootstrap() {},
};

Do you rebuild the admin panel with npm run build before npm run develop ?

Yes you do :slight_smile:

npm install (install updates or changes to package.json)
npm run build (build UI admin)
npm run develop (launch UI admin )

Thanks for answering. Yes, I did. I did both commands build and develop but nothing changed

Thanks for answering. Yes, I did. I did both commands build and develop but nothing changed

  • I am using yarn instead of npm.