Maybe this will come across as rude but that isn’t my intention. It probably does count as a rant.
The power to fix this problem right now, without waiting on the devs is just outside of your current abilities. To achieve it you’ll need to learn a couple new skills, specifically how to install the Stylus extension, and how to add a new style to it.
@Andrew already linked to the extension website. You can also (probably) find it in your browser’s extension library (here it is for Firefox).
The style itself was also provided for you.
I won’t give you the steps in excruciating detail since I think that goes against the “you can do it if you try” message I’m trying to convey*. But the basic process goes something like this:
- Install the extension
- Open a Typst project
- Click on the Stylus extension icon and click Manage
- Somewhere on the page there is a + icon that will create a new style. Click that
- Paste in the style that Andrew posted
- At the top of the page change it so this style is only applied to pages on the domain
typst.app
- Give this a meaningful name (top left of page)
- Save
Go back to your Typst project, search for some text, click on the Stylus icon again. There should be a checkbox next to the name you gave. If you toggle it on/off a few times you should see something changing on the page.
The feature request that matters to you, but may not matter to another soul on the planet, is now “implemented”.
If you got this to work, congratulations. Not only did you solve this single problem you are having, but you also learned something - extended what you as an individual are capable of.
To sum it up, you will be surprised at what you can achieve if you try.
I realize not everyone has the same experience or skills, and lack of time can restrict even more than those two, but I think I have more faith in the abilities of people on this forum asking questions than they do in themselves. People don’t know how to do things, that’s the default. But we also can make attempts, notice behaviours, learn skills, and just play around with things.
* Plus I am not invested enough in solving your problem to spend the time writing out the steps like that.