ThemePrefs

abstract class ThemePrefs(val preferenceHelper: PreferenceHelper)

Base class for theme preferences (light/dark/system). Holds the current theme state and a PreferenceHelper for persistence.

Parameters

preferenceHelper

Backing storage for the selected theme; platform-specific.

Constructors

Link copied to clipboard
constructor(preferenceHelper: PreferenceHelper)

Properties

Link copied to clipboard
Link copied to clipboard

Current theme selection. Reading is reactive; updates persist via preferenceHelper.