-
Notifications
You must be signed in to change notification settings - Fork 3k
UI Color Themes
Pete Miller edited this page Nov 13, 2018
·
2 revisions
Brave has two built-in color themes: dark and light
The default theme is light for Release and Beta channels, and dark for Dev and Development.
WebUI pages can read, change and observe the theme value as of https://github.com/brave/brave-core/pull/774:
type ThemeType = 'Light' | 'Dark'
chrome.braveTheme.getBraveThemeType((themeType: ThemeType) => void): void
chrome.braveTheme.setBraveThemeType(themeType: ThemeType): void
chrome.braveTheme.onBraveThemeTypeChanged.addListener((themeType: ThemeType) => void): void