Release Notes > 5.40.0
Theme Folder Updates
Learn about the changes made to the `theme` folder in the Webiny v5.40.0 release.
Overview
As mentioned in the changelog, with this release, we’ve made a couple of changes to the theme folder, that was previously located in the apps folder.
In short, the main changes are:
- the
themefolder has been moved from theappsfolder to the newextensionsfolder - the actual theme-related code is now located in the
theme/srcfolder and not in the root of thethemefolder (onlypackage.jsonandtsconfig.jsonremain) - the Reset CSS
styles that have been residing in the
theme/global.scssfile have been removed (reference
)
And although these changes will be automatically applied to your project upon performing the upgrade (upon running the webiny upgrade command), it’s still useful to know the following.
global.scssBackup and Replacement
During the upgrade process, your existing global.scss will be automatically backed up and replaced with the new one. This ensures that you don’t lose any customizations you might have made to the global.scss file and that you can easily re-apply them to the new file.
Removal ofglobal.scssFile Imports
Existing imports of the global.scss file in your apps/admin and apps/website folders (Admin and Website project applications) will be removed, as the global.scss file is now imported within the theme folder itself.