mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +03:00
Make theme visible to qml
This commit is contained in:
parent
3cd7898a0d
commit
e828e012ea
1 changed files with 3 additions and 0 deletions
|
@ -6,10 +6,13 @@
|
|||
|
||||
#include <QColor>
|
||||
#include <QPalette>
|
||||
#include <QQmlEngine>
|
||||
|
||||
class Theme final : public QPalette
|
||||
{
|
||||
Q_GADGET
|
||||
QML_ANONYMOUS
|
||||
|
||||
Q_PROPERTY(QColor sidebarBackground READ sidebarBackground CONSTANT)
|
||||
Q_PROPERTY(QColor alternateButton READ alternateButton CONSTANT)
|
||||
Q_PROPERTY(QColor separator READ separator CONSTANT)
|
||||
|
|
Loading…
Reference in a new issue