Skip to content

Commit a59456c

Browse files
author
ThePBone
committed
Change black color scheme (base)
1 parent 4b38f1b commit a59456c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dialog/palettedlg.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ void PaletteEditor::closeWin(){
3838
this->close();
3939
}
4040
void PaletteEditor::Reset(){
41-
appconf->setCustompalette("43,43,43;29,29,29;255,255,255;190,190,190;90,90,90");
41+
appconf->setCustompalette("40,40,43029,29,29;255,255,255;190,190,190;90,90,90");
4242
}
4343
int PaletteEditor::loadColor(int index,int rgb_index){
4444
QStringList elements = appconf->getCustompalette().split(';');
4545
if(elements.length()<5||elements[index].split(',').size()<3){
46-
if(index==0)return 43;
46+
if(index==0)return 40;
4747
else if(index==1)return 29;
4848
else if(index==2)return 255;
4949
else if(index==3)return 190;

misc/stylehelper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ int StyleHelper::loadColor(int index,int rgb_index){
115115
AppConfigWrapper* m_appconf = m_host->getACWrapper();
116116
QStringList elements = m_appconf->getCustompalette().split(';');
117117
if(elements.length()<5||elements[index].split(',').size()<3){
118-
if(index==0)return 43;
118+
if(index==0)return 40;
119119
else if(index==1)return 29;
120120
else if(index==2)return 255;
121121
else if(index==3)return 190;

misc/stylehelper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ static QMap<CS_UNIT> TABLE(){
7070
<< QPair<CS_UNIT>("darkblue",ColorStyle(true,QColor(14,19,29),QColor(19,25,38),Qt::white,QColor(70,79,89)))
7171
<< QPair<CS_UNIT>("honeycomb",ColorStyle(false,QColor(185,188,182),QColor(212,215,208),Qt::black,QColor(243,193,41),Qt::white))
7272
<< QPair<CS_UNIT>("pitchblack",ColorStyle(true,Qt::black,QColor(16,16,16),QColor(222,222,222),QColor(132,132,132)))
73-
<< QPair<CS_UNIT>("black",ColorStyle(true,QColor(43,43,43),QColor(29,29,29),Qt::white,QColor(190,190,190),Qt::black,QColor(90,90,90)))
73+
<< QPair<CS_UNIT>("black",ColorStyle(true,QColor(40,40,40),QColor(29,29,29),Qt::white,QColor(190,190,190),Qt::black,QColor(90,90,90)))
7474
<< QPair<CS_UNIT>("darkgreen",ColorStyle(true,QColor(30,30,30),QColor(27,34,36),QColor(197,209,217),QColor(153, 199, 190)))
7575
<< QPair<CS_UNIT>("green",ColorStyle(true,QColor(6,29,12),QColor(0,12,0),Qt::white,QColor(86,191,121)))
7676
<< QPair<CS_UNIT>("stone",ColorStyle(true,QColor(27,36,40),QColor(34,45,50),Qt::white,QColor(165,206,255)));

0 commit comments

Comments
 (0)