Use json file based themes instead of code to create them (theme editor + theme mode settings)

This commit is contained in:
luisangelsm
2026-03-02 21:23:39 +01:00
parent 87fada611d
commit 547e48cc04
42 changed files with 2776 additions and 1145 deletions

View File

@ -2,10 +2,12 @@
#define THEME_H
#include <QtGui>
#include <QJsonObject>
#include "yacreader_icon.h"
#include "help_about_dialog_theme.h"
#include "whats_new_dialog_theme.h"
#include "theme_meta.h"
struct ComicVineThemeTemplates {
QString defaultLabelQSS = "QLabel {color:%1; font-size:12px;font-family:Arial;}";
@ -452,6 +454,9 @@ struct ComicVineTheme {
};
struct Theme {
ThemeMeta meta;
QJsonObject sourceJson;
QColor defaultContentBackgroundColor;
ComicFlowColors comicFlow;