Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: How to extend custom theme with theme-generator?
Hi all,
I have created a custom theme using theme generator. I now want to customise this theme for different sites. "gulp extend" only allos for extending sytled and unstyled. How can I get gulp to extend my custom theme?
thanks
I have created a custom theme using theme generator. I now want to customise this theme for different sites. "gulp extend" only allos for extending sytled and unstyled. How can I get gulp to extend my custom theme?
thanks
After a fruitless search to find out how to extend a custom theme or if this is even possible I opted to use git branches as a solutions with the master branch changes being sync to the sub themes.
Hi Mark,
before you can use gulp extend with your custom themes / themelets, you need to run "npm link" within the directory of those themes. Afterwards you can select them from the globally installed npm modules within the extend-command.
before you can use gulp extend with your custom themes / themelets, you need to run "npm link" within the directory of those themes. Afterwards you can select them from the globally installed npm modules within the extend-command.
Thanks for the reply. Will give it a try with my next set of themes.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™