Get current theme.
(self)
| 219 | json.dump(self.preferences.to_dict(), f, indent=2) |
| 220 | |
| 221 | def get_theme(self) -> str: |
| 222 | """Get current theme.""" |
| 223 | return self.preferences.ui.theme |
| 224 | |
| 225 | def set_theme(self, theme: str) -> None: |
| 226 | """Set and persist theme. |
no outgoing calls