This commit is contained in:
朱子楚\zhuzi
2024-04-11 20:29:59 +08:00
parent 3997daaa11
commit 44acdbcf7f
11 changed files with 13 additions and 23 deletions

View File

@ -109,7 +109,7 @@ FluColors::FluColors(QObject *parent) : QObject{parent} {
_Green = green;
}
[[maybe_unused]] FluAccentColor *FluColors::createAccentColor(QColor primaryColor) {
[[maybe_unused]] FluAccentColor *FluColors::createAccentColor(const QColor& primaryColor) {
auto accentColor = new FluAccentColor(this);
accentColor->normal(primaryColor);
accentColor->dark(FluTools::getInstance()->withOpacity(primaryColor, 0.9));