Settings vs Colors
Moved the fontFamily in the settings Theme is now called Colors (as in ColorScheme)
This commit is contained in:
parent
285321dcb9
commit
55bc7c9534
11 changed files with 45 additions and 46 deletions
|
|
@ -19,7 +19,7 @@ Rectangle {
|
|||
implicitHeight: size
|
||||
radius: width * 0.5
|
||||
|
||||
color: root.hovering ? Theme.accentPrimary : "transparent"
|
||||
color: root.hovering ? Colors.accentPrimary : "transparent"
|
||||
|
||||
Text {
|
||||
id: iconText
|
||||
|
|
@ -27,7 +27,7 @@ Rectangle {
|
|||
text: root.icon
|
||||
font.family: "Material Symbols Outlined"
|
||||
font.pointSize: Style.fontExtraLarge * scaling
|
||||
color: root.hovering ? Theme.onAccent : Theme.textPrimary
|
||||
color: root.hovering ? Colors.onAccent : Colors.textPrimary
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
opacity: root.enabled ? 1.0 : 0.5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue