Closed patudom closed 1 week ago
Is there a way to specify theme colors (primary, secondary, etc), inside solara style specifications, like here? https://github.com/johnarban/hubbleds/blob/051c87c15d12ee78359dd844c5ab1a0499a5a71f/src/hubbleds/components/grid_viewer/grid_viewer.py#L12
style
If we ever decided to change the theme colors, this usage will be very messy to update.
Per @johnarban's suggestion, we now import our theme colors into the css here, but we still need to wire up functionality that allows the css colors to respond to light/dark theme changes.
Is there a way to specify theme colors (primary, secondary, etc), inside solara
style
specifications, like here? https://github.com/johnarban/hubbleds/blob/051c87c15d12ee78359dd844c5ab1a0499a5a71f/src/hubbleds/components/grid_viewer/grid_viewer.py#L12If we ever decided to change the theme colors, this usage will be very messy to update.