public void SetTheme(ColorTheme theme) { colorTheme = theme; if (themeChanged != null) { themeChanged(colorTheme); } }
public ColorThemeObserver(ColorTheme theme) { SetTheme(theme); }