Hello All, How to customize widget level scss in mendix version 9 like e did in mendix 8 where i can define the scss of any widget level instead of updating via custom-variable? Thanks & Regards Achal
asked
Achal Singh Rathore
1 answers
0
Hey there,
as mendix 9 uses a more decentralized styling, the styling should be either:
added to the module you are using as your UI resource
only do this if you have a custom theme module
added to a custom file within your theme
add a _custom.scss file to the “theme > web” folder
add an @import “_custom.scss” line to your main.scss
add custom styling to the _custom.scss file
don’t forget to import variables you want to use within the _custom.scss file