Rename YACReaderLibrary json theme sections to be more user friendly

This commit is contained in:
luisangelsm
2026-03-02 22:31:56 +01:00
parent 547e48cc04
commit e0930d7a68
28 changed files with 372 additions and 387 deletions

View File

@ -10,12 +10,12 @@ ComicsViewTransition::ComicsViewTransition(QWidget *parent)
void ComicsViewTransition::applyTheme(const Theme &theme)
{
setStyleSheet(QString("QWidget {background:%1}").arg(theme.defaultContentBackgroundColor.name()));
setStyleSheet(QString("QWidget {background:%1}").arg(theme.gridAndInfoView.backgroundColor.name()));
update();
}
void ComicsViewTransition::paintEvent(QPaintEvent *)
{
QPainter painter(this);
painter.fillRect(0, 0, width(), height(), theme.defaultContentBackgroundColor);
painter.fillRect(0, 0, width(), height(), theme.gridAndInfoView.backgroundColor);
}