Strapi build undo changes in App.js

[details=“System Information”]

  • Strapi Version: 4.2.2
  • Operating System: Windows
  • Database: Mysql
  • Node Version: 16.13.1
  • NPM Version: 8.2
  • Yarn Version: –
    I am trying to custom my application dashboard in app.js
theme:{
  light:{
    colors:{
     primary100:"#hexcolor",
    ...}
},
dark:{
    colors:{
      primary100:"#hexcolor",
    ...}
},
locales: ["es"],
    translations: {
      "app.components.LeftMenu.navbrand.workplace": "WORKPLACE",
      "app.components.LeftMenu.navbrand.title": "COMPANY NAME",
    },
}

But when build it using npm run build all my changes dissapear, I have made some changes in auth: logo, head:favicon, etc. and changes commited.

Also tried inside

translations:{
  es:{
"app.components.LeftMenu.navbrand.workplace": "WORKPLACE",
      "app.components.LeftMenu.navbrand.title": "COMPANY NAME",
}
}

I am following docs: Admin panel customization - Strapi Developer Docs