Created
February 11, 2024 12:09
-
-
Save nemishkor/966879b56cbb5a6bd20ad7a1c7b602f1 to your computer and use it in GitHub Desktop.
Sailfish colors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Repeater { | |
enabled: false | |
model: ListModel { | |
ListElement { text: "primaryColor" } | |
ListElement { text: "darkPrimaryColor" } | |
ListElement { text: "lightPrimaryColor" } | |
ListElement { text: "secondaryColor" } | |
ListElement { text: "secondaryHighlightColor" } | |
ListElement { text: "darkSecondaryColor" } | |
ListElement { text: "lightSecondaryColor" } | |
ListElement { text: "errorColor" } | |
ListElement { text: "highlightColor" } | |
ListElement { text: "highlightDimmerColor" } | |
ListElement { text: "highlightBackgroundColor" } | |
ListElement { text: "backgroundGlowColor" } | |
ListElement { text: "overlayBackgroundColor" } | |
ListElement { text: "backgroundGlowColor" } | |
} | |
delegate: Item { | |
width: parent.width | |
height: Theme.itemSizeSmall + label.height + Theme.paddingMedium | |
Rectangle { | |
anchors { | |
top: parent.top | |
left: parent.left | |
right: parent.right | |
} | |
height: Theme.itemSizeSmall | |
color: Theme[model.text] | |
} | |
Label { | |
id: label | |
anchors.bottom: parent.bottom | |
anchors.bottomMargin: Theme.paddingMedium | |
anchors.horizontalCenter: parent.horizontalCenter | |
text: model.text | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment