Construct ORC application themes from packaged stylesheets. More...
Functions | |
| ThemeBundle | theme_bundle (ThemeMode mode) |
Return the packaged theme bundle for mode. | |
| ThemeController | create_theme_controller (ThemeMode initial_mode=ThemeMode.DARK) |
| Create a controller backed by the packaged ORC CSS themes. | |
Construct ORC application themes from packaged stylesheets.
| ThemeBundle apps.orcUi.theme_runtime.theme_bundle | ( | ThemeMode | mode | ) |
Return the packaged theme bundle for mode.
The parsed CSS bundle is immutable presentation data, so it is safe to share between panels instead of reparsing the same stylesheet whenever a panel is constructed.