Wondering, if I need my text to be of the size spe...
# compose-web
e
Wondering, if I need my text to be of the size specified by a CSS
var
injected inside the HTML document where the view is hosted, is it doable at all?
d
What are you trying to do exactly?
e
@David Herman the built app should be hosted inside a VS Code webview, and should inherit some style properties injected by VS Code itself.
I guess I could apply CSS classes to Compose elements?
Although, if it's built with WASM, that wouldn't work, or would it?
d
I'm not too familiar with WASM. That said, I'm assuming you can use JS standard library methods to query the state of the system, maybe something like this: https://stackoverflow.com/a/6338234 (but apologies as I'm taking a stab in the dark here)