mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-06 01:53:25 -08:00
[Fonts] Restore DeckList Serif default and live-update all role readers
This commit is contained in:
parent
64d7e28192
commit
239642b8a0
18 changed files with 119 additions and 8 deletions
|
|
@ -151,8 +151,8 @@ public:
|
|||
QColor appColor(AppColor::Role role) const;
|
||||
/** @brief Resolves an application font role: the theme's stored [Fonts]
|
||||
* value when present, otherwise a per-role fallback (monospace for
|
||||
* ChatLog, serif basis for CardText, the application font for the
|
||||
* remaining roles). */
|
||||
* ChatLog, serif basis for CardText and DeckList, the application
|
||||
* font for the remaining roles). */
|
||||
QFont appFont(AppFont::Role role) const;
|
||||
/** @brief Whether the active theme defines this role in fonts.toml. */
|
||||
bool hasAppFont(AppFont::Role role) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue