Dynamic font and text size

Hi

For a project I’m looking at we will require some accessibility options for things like the font, font size, and colour set on a per user basis. I can’t currently think of a nice way to do this as I obviously don’t want to have a conditional on every single text display box!

Any ideas?

Thanks

Richard

Hey @richard16:

Easy, you go to the conditional in in the text element, You can use the logic:
When curreent user type is xxxx
Then would select a a property to change, and then set the style.
THanks

Thanks but as I said in my original post, I know I can do it with conditionals, but that will a LOT throughout the whole development and on every single text/display box! I’m looking for a project wide way to do so.

Hi @richard16:
Sorry, missed that, anyways.
Anyways, create a style and give that style a condition, wherever you will put that element it will take condition by it’s style so you don’t need to give condition on every single element.

We can have a 5 min call, and I can head you in the right direction.

Thanks
Book 15 min free consultancy
Or connect with me on Linkedin

1 Like

Ah brilliant, I didn’t realise that within the Style itself you could add a conditional based on some variables. And in this case, I could just store something like “user-font-size” in the “user” table and then user the “current user” for the conditional in the Style :+1:

That’s really useful to know so thanks again :raised_hands: