Luigit
repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by admin

quickshell/nuguland/NuguText.qml

Raw
import QtQuick

Text {
    required property Theme theme
    property string variant: "body"
    property bool selected: false

    color: !theme ? "transparent" : (variant === "title" ? theme.ui.important_global : (variant === "meta" ? theme.ui.normal : theme.content.normal))
    font.family: variant === "mono" ? "IBM Plex Mono" : "IBM Plex Sans"
    font.pixelSize: variant === "title" ? 15 : (variant === "meta" ? 13 : 14)
    font.bold: variant === "title"
    elide: Text.ElideRight
}