view include/sys/osx/dark_theme.h @ 294:99cbc51433e4

*: cleanup uses of QPalette I didn't know about setBackgroundRole() which is very useful in 99% of the cases where I even needed to edit the palette
author Paper <paper@paper.us.eu.org>
date Sun, 12 May 2024 18:16:08 -0400
parents 3ec7804abf17
children
line wrap: on
line source

#ifndef MINORI_SYS_OSX_DARK_THEME_H_
#define MINORI_SYS_OSX_DARK_THEME_H_

namespace osx {

bool DarkThemeAvailable();
bool IsInDarkTheme();
bool SetToDarkTheme();
bool SetToLightTheme();
void SetToAutoTheme();

} // namespace osx

#endif // MINORI_SYS_OSX_DARK_THEME_H_