Using a color scheme based on the elixir mentor gist clone tutorial. https://github.com/ElixirMentor/elixir_gist
This commit is contained in:
@ -15,7 +15,7 @@ Page {
|
|||||||
|
|
||||||
delegate: ListItemDelegate {}
|
delegate: ListItemDelegate {}
|
||||||
highlight: Rectangle {
|
highlight: Rectangle {
|
||||||
color: "lightgray"
|
color: wccLavenderDefault
|
||||||
radius: 5
|
radius: 5
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -36,13 +36,14 @@ Page {
|
|||||||
height: 50
|
height: 50
|
||||||
gradient: mainGradient
|
gradient: mainGradient
|
||||||
border {
|
border {
|
||||||
color: "lightgreen"
|
color: wccPurpleDark
|
||||||
width: 2
|
width: 2
|
||||||
}
|
}
|
||||||
Text {
|
Text {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: window.title
|
text: window.title
|
||||||
font.pixelSize: 32
|
font.pixelSize: 32
|
||||||
|
color: wccDarkLight
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -51,11 +52,11 @@ Page {
|
|||||||
id: mainGradient
|
id: mainGradient
|
||||||
GradientStop {
|
GradientStop {
|
||||||
position: 0.0
|
position: 0.0
|
||||||
color: "#56FF56"
|
color: wccPurpleDefault
|
||||||
}
|
}
|
||||||
GradientStop {
|
GradientStop {
|
||||||
position: 0.66
|
position: 0.66
|
||||||
color: "#7ED24E"
|
color: wccPurpleDark
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
15
Main.qml
15
Main.qml
@ -9,9 +9,22 @@ Window {
|
|||||||
visible: true
|
visible: true
|
||||||
title: `${Application.name}`
|
title: `${Application.name}`
|
||||||
|
|
||||||
property color textColor: "black"
|
|
||||||
property int fontSize: 16
|
property int fontSize: 16
|
||||||
|
|
||||||
|
property color textColor: "black"
|
||||||
|
|
||||||
|
property color wccDarkDark: "#010101"
|
||||||
|
property color wccDarkDefault: "#3C3B3B"
|
||||||
|
property color wccDarkLight: "#828282"
|
||||||
|
|
||||||
|
property color wccPurpleDark: "#631A61"
|
||||||
|
property color wccPurpleDefault: "#A834A5"
|
||||||
|
property color wccPurpleLight: "#E88FE5"
|
||||||
|
|
||||||
|
property color wccLavenderDark: "#8C52FF"
|
||||||
|
property color wccLavenderDefault: "#9D74EE"
|
||||||
|
property color wccLavenderLight: "#BC9AFF"
|
||||||
|
|
||||||
ListPage {
|
ListPage {
|
||||||
id: listPage
|
id: listPage
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|||||||
Reference in New Issue
Block a user