aboutsummaryrefslogtreecommitdiffstats
path: root/shared/Theme.qml
diff options
context:
space:
mode:
Diffstat (limited to 'shared/Theme.qml')
-rw-r--r--shared/Theme.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/shared/Theme.qml b/shared/Theme.qml
index 423dd49..6f172e7 100644
--- a/shared/Theme.qml
+++ b/shared/Theme.qml
@@ -39,6 +39,12 @@ Singleton {
readonly property string fontFamily: "Noto Sans"
readonly property int fontSize: 16
+ // Glyphs are Nerd Font private-use codepoints. They render with this
+ // family, not fontFamily: fontconfig otherwise falls back per codepoint
+ // and the same codepoint can be a different glyph in a different Nerd
+ // Font. Inconsolata Nerd Font is the desktop's monospaced font.
+ readonly property string iconFamily: "Inconsolata Nerd Font"
+
// Parsed rather than imported: a generated file cannot be a QML import
// without a qmldir next to it, and the cache directory has no reason to
// carry one. The format is fixed and machine-written, so a regex is enough.