This ticket is to figure out how we want to move shared styles out of CSS.
Create a SceneNodeDetailsHeader component which wraps all the styles as a component.
Create a styles.js file in which we share styles.
Im definitely not a huge fan of option 2 because I have seen that pattern become easy to abuse where such file just has a whole bunch non semantic 1 off css styles.
We are working on moving stuff out of index.css in favor of style object. I have started that transition here https://github.com/MiguelCastillo/scenic/pull/16
This ticket is to figure out how we want to move shared styles out of CSS.
SceneNodeDetailsHeader
component which wraps all the styles as a component.styles.js
file in which we share styles.Im definitely not a huge fan of option 2 because I have seen that pattern become easy to abuse where such file just has a whole bunch non semantic 1 off css styles.
Sample component