Hi Guys,
I was looking into the theme generator of Outsystems and to my curiosity thought if we can implement the same in our application where user will be able to configure [at the time of registration] what type of colors, fonts etc he/she wants to see when he/she logs into the application.
Did someone tried to do this here. Please guide me the right direction.
Thanks and Regards
Atul Patel
Hi Atul,
For that you can use css tricks, in css you can use funcion "var()" helps in runtime, here i am attaching my oml for your reference, its working you expected.
ex:
Root declare
SyntaxEditor Code Snippet
:root { --mycolor: red; }
Page usage:
.customcolor { color: var(--mycolor); }
Thanks,
Balu