# Theme with variable width inside settings

**URL:** <https://meta.discourse.org/t/theme-with-variable-width-inside-settings/192790>\
**Category:** UX\
**Created:** [June 5, 2021, 8:00pm UTC](https://meta.discourse.org/t/theme-with-variable-width-inside-settings/192790 "2021-06-05T20:00:49Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![daemon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daemon/32/256632_2.png) [@daemon](https://meta.discourse.org/u/daemon)\
**Post date:** [June 5, 2021, 8:45pm UTC](https://meta.discourse.org/t/theme-with-variable-width-inside-settings/192790/3 "2021-06-05T20:45:02Z")

</div>

Thank you for the link!

Is it really that easy!? 👍

~~So, one more question.  
As width you can set px or %, so my variables need to be a string as data type?  
But how can I prevent such inputs like `1100 apples`?~~

I have a better idea with int and enum!

Thank you!

---

_[View the full topic](https://meta.discourse.org/t/theme-with-variable-width-inside-settings/192790)._
