Merge pull request #777 from crowning-/UI_Enhancements

[UI] Change default theme to "DASH-light"
This commit is contained in:
Evan Duffield 2016-05-19 11:36:47 -07:00
commit a69a643c6e
2 changed files with 4 additions and 4 deletions

View File

@ -881,7 +881,7 @@ QString getThemeName()
if(!theme.isEmpty()){ if(!theme.isEmpty()){
return theme; return theme;
} }
return QString("drkblue"); return QString("light");
} }
// Open CSS when configured // Open CSS when configured
@ -896,8 +896,8 @@ QString loadStyleSheet()
cssName = QString(":/css/") + theme; cssName = QString(":/css/") + theme;
} }
else { else {
cssName = QString(":/css/drkblue"); cssName = QString(":/css/light");
settings.setValue("theme", "drkblue"); settings.setValue("theme", "light");
} }
QFile qFile(cssName); QFile qFile(cssName);

View File

@ -87,9 +87,9 @@ OptionsDialog::OptionsDialog(QWidget *parent, bool enableWallet) :
} }
/* Theme selector */ /* Theme selector */
ui->theme->addItem(QString("DASH-light"), QVariant("light"));
ui->theme->addItem(QString("DASH-blue"), QVariant("drkblue")); ui->theme->addItem(QString("DASH-blue"), QVariant("drkblue"));
ui->theme->addItem(QString("DASH-Crownium"), QVariant("crownium")); ui->theme->addItem(QString("DASH-Crownium"), QVariant("crownium"));
ui->theme->addItem(QString("DASH-light"), QVariant("light"));
ui->theme->addItem(QString("DASH-traditional"), QVariant("trad")); ui->theme->addItem(QString("DASH-traditional"), QVariant("trad"));
/* Language selector */ /* Language selector */