2023-03-06 14:22:13 +08:00
|
|
|
|
#include "FluTheme.h"
|
|
|
|
|
|
|
|
|
|
#include "FluColors.h"
|
|
|
|
|
|
|
|
|
|
FluTheme* FluTheme::m_instance = nullptr;
|
|
|
|
|
|
|
|
|
|
FluTheme *FluTheme::getInstance()
|
|
|
|
|
{
|
|
|
|
|
if(FluTheme::m_instance == nullptr){
|
|
|
|
|
FluTheme::m_instance = new FluTheme;
|
|
|
|
|
}
|
|
|
|
|
return FluTheme::m_instance;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FluTheme::FluTheme(QObject *parent)
|
|
|
|
|
: QObject{parent}
|
|
|
|
|
{
|
|
|
|
|
primaryColor(FluColors::getInstance()->Blue());
|
2023-03-28 17:53:46 +08:00
|
|
|
|
textSize(14);
|
2023-03-11 21:15:36 +08:00
|
|
|
|
isNativeText(false);
|
2023-03-28 11:53:25 +08:00
|
|
|
|
isFrameless(true);
|
2023-03-06 14:22:13 +08:00
|
|
|
|
isDark(false);
|
|
|
|
|
}
|