Hi, I want to ask about creating a themes.
We have 1 custom theme, let’s say it’s called “prod”. Now we want to create a new theme called “test”. I want that when I add something to the prod theme, it will also show up on our server with the test theme in use. In the test theme I will change only 1 thing, for example .jmix-drawer .jmix-drawer-header and I will have different colors for the production and test server.
Now I have a prod and a test theme with the same values inside and if I add something to one, I have to add it to the other and that’s not the best solution. When we create 2 more themes for other servers , it will be really crazy to maintain it.
Is there any way to create 1 main theme, which will be parent for more themes and I will only change few things for prod, test, dev servers?
I tried it through @import and @mixin, but when I tried to compile themes, I get errors:
[ThemeCompile] Import ‘…/themes/test/test’ in ‘C:\dev<app>\build\tmp\themes\VAADIN\themes\test\styles.scss’ could not be found
[ThemeCompile] Mixin Definition: test not found
Thank you
Pavel