We already have an iframe wrapping over gephi-lite. Pass a css file through the iframe, and let the wrapper inject styles into the gephi-lite instance.
ref:
https://github.com/gephi/gephi-lite/blob/main/packages/gephi-lite/src/styles/gl/_variables.scss