There's a fair number of places in our UX code that want to render code in the same font that's used in the editor. Currently this is done with code such as:
Instead I think we can use css variables for this. This should reduce duplicate code and also fix a few places where we don't correctly watch for editor config change to force re-rendering of UI elements
There's a fair number of places in our UX code that want to render code in the same font that's used in the editor. Currently this is done with code such as:
Instead I think we can use css variables for this. This should reduce duplicate code and also fix a few places where we don't correctly watch for editor config change to force re-rendering of UI elements