|
SILICON
|
#include <array>#include <optional>#include <QApplication>#include <QColor>#include <QJsonObject>#include <QPalette>#include <QStringView>

Go to the source code of this file.
Classes | |
| class | ColorTokens |
| struct | Theme |
| class | ThemeEngine |
Namespaces | |
| namespace | SILICON |
| namespace | SILICON::ui |
| namespace | SILICON::ui::theme |
Enumerations | |
| enum class | Mode { Light , Dark } |
| enum class | ColorToken { Orange , Lorange , Blue , Green , Violet , Internal , Ink , Background , Surface , SurfaceRaised , Grid , Grey , Disabled , Selected , Hover , MenuHover , Error , ErrorHover , ErrorFill , SignalLow , OnAccent , OnViolet , Count } |
Functions | |
| QStringView | tokenName (ColorToken token) |
| std::optional< ColorToken > | tokenFromName (QStringView name) |
| const Theme & | light () |
| const Theme & | dark () |