Setting "light" theme as default for all users in admin dashboard

System Information
  • Strapi Version: 4.14.5
  • Operating System: macOS 13.5
  • Database: sqlite
  • Node Version: v18.16.0
  • NPM Version: 9.5.1
  • Yarn Version: 1.22.5

Hello everyone,

I’m using Strapi for my project and I’m wondering how to set the “light” theme as the default for all users in the admin dashboard. Currently, when new users log in for the first time, they get a different default theme. I’d like them to see the “light” theme by default.

Does anyone know how to achieve this? Thank you in advance for your assistance!


Hi Ayhid. I’ve tried so much in many ways but I did not find any solution without making patch-package.
You need to make the changes in this component:
./node_modules/@strapi/admin/admin/src/components/ThemeToggleProvider/index.js

1 Like

Thank a lot I ended up doing quite the same