I managed to put a button in my theme following these instructions: https://doc.oroinc.com/frontend/storefront/templates/ but I wonder how to actually show a costum variables contents.
I defined "userName" via "vars" in mything.yml for mything.twig.html as shown in https://doc.oroinc.com/frontend/storefront/templates/#custom-variables , but
{{ text|trans({'%userName%': userName})}}
shows the same text as before, I tried
{{ dump(_context) }}
and the vars don't even turn up in the dumped variables.