if the styles only concern the context you work on, this could easily be done with vanilla scoped inline styles
If those declarations are relevant to multiple components within your codebase, then you'll still need to leave the context when your styles are inlined and therefore declared in multiple places