THEME: credits and custom colors
This commit is contained in:
parent
6098c78ccf
commit
917ada57b5
|
@ -1,3 +1,6 @@
|
|||
/* Based on: https://github.com/radareorg/cutter/blob/48b84bfa5c7fd7c7aa8595b8f742c9d8081d09fc/src/themes/qdarkstyle/style.qss */
|
||||
/* Modified for x64dbg by JustMagic: https://github.com/JustasMasiulis */
|
||||
|
||||
ShortcutEdit[error="true"] {
|
||||
color: #EF5350;
|
||||
}
|
||||
|
@ -706,10 +709,14 @@ QTabBar::close-button:pressed {
|
|||
|
||||
QTabBar::tab {
|
||||
color: #e0e0e0;
|
||||
background-color: #212121;
|
||||
background-color: #2c2c38;
|
||||
padding: 3px;
|
||||
min-width: 50px;
|
||||
/*min-width: 50px;*/
|
||||
padding: 4px 10px;
|
||||
|
||||
border: 1px solid #212121;
|
||||
border-top-left-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
}
|
||||
|
||||
QTabBar::tab:selected {
|
||||
|
|
|
@ -1,22 +1,3 @@
|
|||
[Color]
|
||||
CustomColor0=#EEFF99
|
||||
CustomColor1=#55AAFF
|
||||
CustomColor10=#FFFFFF
|
||||
CustomColor11=#FFFFFF
|
||||
CustomColor12=#FFFFFF
|
||||
CustomColor13=#FFFFFF
|
||||
CustomColor14=#FFFFFF
|
||||
CustomColor15=#FFFFFF
|
||||
CustomColor2=#55FFFF
|
||||
CustomColor3=#00AAFF
|
||||
CustomColor4=#FF55FF
|
||||
CustomColor5=#C8FF4F
|
||||
CustomColor6=#FFFFFF
|
||||
CustomColor7=#FFFFFF
|
||||
CustomColor8=#FFFFFF
|
||||
CustomColor9=#FFFFFF
|
||||
CustomColorCount=10
|
||||
|
||||
[Colors]
|
||||
AbstractTableViewBackgroundColor=#212121
|
||||
AbstractTableViewHeaderTextColor=#E0E0E0
|
||||
|
@ -26,6 +7,23 @@ AbstractTableViewTextColor=#E0E0E0
|
|||
BreakpointSummaryKeywordColor=#89A2F6
|
||||
BreakpointSummaryParenColor=#E0E0E0
|
||||
BreakpointSummaryStringColor=#B794F6
|
||||
CustomColor0=#212121
|
||||
CustomColor1=#313131
|
||||
CustomColor10=#F55F86
|
||||
CustomColor11=#F88478
|
||||
CustomColor12=#E0E0E0
|
||||
CustomColor13=#414141
|
||||
CustomColor14=#5F5F5F
|
||||
CustomColor15=#717171
|
||||
CustomColor2=#89A2F6
|
||||
CustomColor3=#B3F575
|
||||
CustomColor4=#B794F6
|
||||
CustomColor5=#E1EA76
|
||||
CustomColor6=#E6E976
|
||||
CustomColor7=#111111
|
||||
CustomColor8=#EF5350
|
||||
CustomColor9=#969600
|
||||
CustomColorCount=10
|
||||
DisassemblyAddressBackgroundColor=#XXXXXX
|
||||
DisassemblyAddressColor=#A0A0A0
|
||||
DisassemblyAutoCommentBackgroundColor=#XXXXXX
|
||||
|
|
|
@ -499,10 +499,6 @@ void MainWindow::themeTriggeredSlot()
|
|||
QString dir = action->data().toString();
|
||||
int nameIdx = dir.lastIndexOf('/');
|
||||
QString name = dir.mid(nameIdx + 1);
|
||||
QString styleCss = QString("%1/style.css").arg(dir);
|
||||
QString styleIni = QString("%1/style.ini").arg(dir);
|
||||
GuiAddLogMessage(QString("%1:%2").arg(styleCss).arg(styleIni).toUtf8().constData());
|
||||
|
||||
BridgeSettingSet("Theme", "Selected", name.toUtf8().constData());
|
||||
loadSelectedStyle();
|
||||
}
|
||||
|
@ -523,8 +519,6 @@ void MainWindow::setupThemesMenu()
|
|||
connect(action, SIGNAL(triggered()), this, SLOT(themeTriggeredSlot()));
|
||||
action->setText(name);
|
||||
action->setData(dir);
|
||||
GuiAddLogMessage(dir.toUtf8().constData());
|
||||
GuiAddLogMessage("\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2279,6 +2273,6 @@ void MainWindow::on_actionDefaultTheme_triggered()
|
|||
// Reset [Fonts] to default
|
||||
Config()->Fonts = Config()->defaultFonts;
|
||||
Config()->writeFonts();
|
||||
// delete [Color] section
|
||||
BridgeSettingSet("Color", nullptr, nullptr);
|
||||
// Remove custom colors
|
||||
BridgeSettingSet("Colors", "CustomColorCount", nullptr);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue