diff --git a/pcsx2-qt/MainWindow.cpp b/pcsx2-qt/MainWindow.cpp index cfa87bc466..1094612409 100644 --- a/pcsx2-qt/MainWindow.cpp +++ b/pcsx2-qt/MainWindow.cpp @@ -672,6 +672,43 @@ void MainWindow::setStyleFromSettings() qApp->setStyleSheet("QToolTip { color: #ffffff; background-color: #2a82da; border: 1px solid white; }"); } + else if (theme == "PizzaBrown") + { + // Custom palette by KamFretoZ, a Pizza Tower Reference! + // With a mixtures of Light Brown, Peachy/Creamy White, Latte-like Color. + // Thanks to Jordan for the idea :P + // Alternative light theme. + qApp->setStyle(QStyleFactory::create("Fusion")); + + const QColor gray(192, 192, 192); + const QColor extr(248, 192, 88); + const QColor main(233, 187, 147); + const QColor comp(248, 230, 213); + + QPalette darkPalette; + darkPalette.setColor(QPalette::Window, main); + darkPalette.setColor(QPalette::WindowText, Qt::black); + darkPalette.setColor(QPalette::Base, comp); + darkPalette.setColor(QPalette::AlternateBase, extr); + darkPalette.setColor(QPalette::ToolTipBase, comp); + darkPalette.setColor(QPalette::ToolTipText, Qt::black); + darkPalette.setColor(QPalette::Text, Qt::black); + darkPalette.setColor(QPalette::Button, extr); + darkPalette.setColor(QPalette::ButtonText, Qt::black); + darkPalette.setColor(QPalette::Link, Qt::black); + darkPalette.setColor(QPalette::Highlight, extr); + darkPalette.setColor(QPalette::HighlightedText, Qt::black); + + darkPalette.setColor(QPalette::Active, QPalette::Button, extr); + darkPalette.setColor(QPalette::Disabled, QPalette::ButtonText, gray.darker()); + darkPalette.setColor(QPalette::Disabled, QPalette::WindowText, gray.darker()); + darkPalette.setColor(QPalette::Disabled, QPalette::Text, Qt::gray); + darkPalette.setColor(QPalette::Disabled, QPalette::Light, gray.lighter()); + + qApp->setPalette(darkPalette); + + qApp->setStyleSheet("QToolTip { color: #ffffff; background-color: #cc3f18; border: 1px solid white; }"); + } else if (theme == "PCSX2Blue") { // Custom palette by RedDevilus, White as main color and Blue as complimentary. @@ -761,7 +798,7 @@ void MainWindow::setStyleFromSettings() darkPalette.setColor(QPalette::ToolTipBase, darkishBlue); darkPalette.setColor(QPalette::ToolTipText, Qt::white); darkPalette.setColor(QPalette::Text, Qt::white); - darkPalette.setColor(QPalette::Button, royalBlue.darker()); + darkPalette.setColor(QPalette::Button, darkishBlue); darkPalette.setColor(QPalette::ButtonText, Qt::white); darkPalette.setColor(QPalette::Link, Qt::white); darkPalette.setColor(QPalette::Highlight, darkishBlue.lighter()); diff --git a/pcsx2-qt/Settings/InterfaceSettingsWidget.cpp b/pcsx2-qt/Settings/InterfaceSettingsWidget.cpp index 6a38a6bc98..d95a422f0f 100644 --- a/pcsx2-qt/Settings/InterfaceSettingsWidget.cpp +++ b/pcsx2-qt/Settings/InterfaceSettingsWidget.cpp @@ -34,6 +34,8 @@ static const char* THEME_NAMES[] = { //: Ignore what Crowdin says in this string about "[Light]/[Dark]" being untouchable here, these are not variables in this case and must be translated. QT_TRANSLATE_NOOP("InterfaceSettingsWidget", "Baby Pastel (Pink) [Light]"), //: Ignore what Crowdin says in this string about "[Light]/[Dark]" being untouchable here, these are not variables in this case and must be translated. + QT_TRANSLATE_NOOP("InterfaceSettingsWidget", "Pizza Time! (Brownish/Peachy White) [Light]"), + //: Ignore what Crowdin says in this string about "[Light]/[Dark]" being untouchable here, these are not variables in this case and must be translated. QT_TRANSLATE_NOOP("InterfaceSettingsWidget", "PCSX2 (White/Blue) [Light]"), //: Ignore what Crowdin says in this string about "[Light]/[Dark]" being untouchable here, these are not variables in this case and must be translated. QT_TRANSLATE_NOOP("InterfaceSettingsWidget", "Scarlet Devil (Red/Purple) [Dark]"), @@ -56,6 +58,7 @@ static const char* THEME_VALUES[] = { "darkfusionblue", "UntouchedLagoon", "BabyPastel", + "PizzaBrown", "PCSX2Blue", "ScarletDevilRed", "VioletAngelPurple",