repositories / dotfiles
dotfiles
bugabingas dorkfiles
owned by admin
quickshell/nuguland/NuguText.qml
Rawimport QtQuick
Text {
required property Theme theme
property string variant: "body"
property bool selected: false
// Text a person or an app wrote (a notification body, a clip, a track title),
// not a line Nuguland authored; the suites' narration guard leaves it alone.
property bool userText: false
color: !theme ? "transparent" : (variant === "title" ? theme.ui.important_global : (variant === "meta" ? theme.ui.normal : theme.content.normal))
font.family: variant === "mono" ? theme.fontMono : theme.fontSans
font.pixelSize: variant === "title" ? theme.textTitle : (variant === "meta" ? theme.textMeta : theme.textBody)
font.bold: variant === "title"
elide: Text.ElideRight
}