Colors: slight rework of the default colorscheme and overall colors usage
This commit is contained in:
parent
ef5fff12d1
commit
63fb5bd290
13 changed files with 48 additions and 29 deletions
|
|
@ -11,7 +11,7 @@ Rectangle {
|
|||
implicitWidth: childrenRect.width
|
||||
implicitHeight: childrenRect.height
|
||||
|
||||
color: Colors.surfaceVariant
|
||||
color: Colors.surface
|
||||
radius: Style.radiusMedium * scaling
|
||||
border.color: Colors.backgroundTertiary
|
||||
border.width: Math.max(1, Style.borderThin * scaling)
|
||||
|
|
|
|||
|
|
@ -57,8 +57,8 @@ Rectangle {
|
|||
const endBg = Math.PI * 5 / 3
|
||||
ctx.reset()
|
||||
ctx.lineWidth = 6 * root.scaling * contentScale
|
||||
// Track uses backgroundPrimary for stronger contrast
|
||||
ctx.strokeStyle = Colors.backgroundPrimary
|
||||
// Track uses surfaceVariant for stronger contrast
|
||||
ctx.strokeStyle = Colors.surfaceVariant
|
||||
ctx.beginPath()
|
||||
ctx.arc(cx, cy, r, start, endBg)
|
||||
ctx.stroke()
|
||||
|
|
@ -89,7 +89,7 @@ Rectangle {
|
|||
width: 28 * scaling * contentScale
|
||||
height: width
|
||||
radius: width / 2
|
||||
color: Colors.backgroundSecondary
|
||||
color: Colors.surfaceVariant
|
||||
// border.color: Colors.accentPrimary
|
||||
// border.width: Math.max(1, Style.borderThin * scaling)
|
||||
anchors.right: parent.right
|
||||
|
|
|
|||
|
|
@ -138,11 +138,11 @@ Window {
|
|||
gradient: Gradient {
|
||||
GradientStop {
|
||||
position: 0.0
|
||||
color: Colors.backgroundTertiary
|
||||
color: Colors.backgroundSecondary
|
||||
}
|
||||
GradientStop {
|
||||
position: 1.0
|
||||
color: Colors.backgroundSecondary
|
||||
color: Colors.backgroundTertiary
|
||||
}
|
||||
}
|
||||
border.color: Colors.outline
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue