mirror of
https://github.com/YACReader/yacreader
synced 2025-07-19 05:24:57 -04:00
Add new them properties to store specific styles for library items.
This commit is contained in:
committed by
Luis Ángel San Martín
parent
f504c83436
commit
8a003dbfa8
@ -17,12 +17,18 @@ public:
|
||||
t.disableClassicViewCollapsing = true;
|
||||
|
||||
t.comicsViewTransitionBackground = "#FFFFFF";
|
||||
|
||||
t.itemLibrarySelectedStyleSheet = "color: white; background-color:#91c4f4; border-bottom:1px solid #91c4f4;";
|
||||
t.itemLibraryNoSelectedStyleSheet = "background-color:transparent;";
|
||||
} else {
|
||||
t.isMacosNative = false;
|
||||
|
||||
t.disableClassicViewCollapsing = false;
|
||||
|
||||
t.comicsViewTransitionBackground = "#2A2A2A";
|
||||
|
||||
t.itemLibrarySelectedStyleSheet = "color: white; background-color:#2E2E2E; font-weight:bold;";
|
||||
t.itemLibraryNoSelectedStyleSheet = "background-color:transparent; color:#DDDFDF;";
|
||||
}
|
||||
|
||||
return t;
|
||||
@ -35,6 +41,10 @@ public:
|
||||
|
||||
//
|
||||
QString comicsViewTransitionBackground;
|
||||
|
||||
//library item
|
||||
QString itemLibrarySelectedStyleSheet;
|
||||
QString itemLibraryNoSelectedStyleSheet;
|
||||
};
|
||||
|
||||
#endif // THEME_H
|
||||
|
Reference in New Issue
Block a user