Hey Team, I have created a theme same as default with different name and i am trying to set as defau

U04SGT8JDL3
U04SGT8JDL3 Posts: 14 🧑🏻‍🚀 - Cadet
edited June 2023 in Spryker Development

Hey Team, I have created a theme same as default with different name and i am trying to set as default and extended TwigConfig file and getYvesThemeNameDefault() function and also set defaultTheme in frontend-build-config.json but when i run command it gives me error.

Comments

  • Hidran Arias
    Hidran Arias Senior Technical Trainer Sprykee Posts: 83 🏛 - Council (mod)
    edited March 2023

    Could you please try this:?
    set in frontend-build-config.json defaultTheme to default and then run
    npm run yves:watch -- -t green

    It should work and generate the assets for the green theme

  • U04SGT8JDL3
    U04SGT8JDL3 Posts: 14 🧑🏻‍🚀 - Cadet
    edited March 2023

    i have tried that and my assets are also generating but it is no working.

  • U04SGT8JDL3
    U04SGT8JDL3 Posts: 14 🧑🏻‍🚀 - Cadet