FluentUI/src/FluTheme.cpp
2023-03-28 17:53:46 +08:00

24 lines
456 B
C++

#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());
textSize(14);
isNativeText(false);
isFrameless(true);
isDark(false);
}