Modal dialog for theme selection with live preview.
Displays available themes in an OptionList. Navigating the option list
applies a live preview by swapping the app theme. Returns the selected
theme name on Enter, or None on Esc (restoring the original theme).
ThemeSelectorScreen(
self,
current_theme: str,
)ModalScreen[str | None]| Name | Type | Description |
|---|---|---|
current_theme* | str | The currently active theme name (to highlight). |
| Name | Type |
|---|---|
| current_theme | str |