move theme to styling
This commit is contained in:
parent
467c9bc0e3
commit
4375f6e13d
36 changed files with 68 additions and 67 deletions
|
|
@ -24,7 +24,7 @@ StyledButton {
|
|||
}
|
||||
LucideIcon {
|
||||
text: Styling.lucide.icons.gpu
|
||||
color: root.hovered ? Theme.palette.primarycontent : Theme.palette.basecontent
|
||||
color: root.hovered ? Styling.theme.primarycontent : Styling.theme.basecontent
|
||||
}
|
||||
|
||||
StyledText {
|
||||
|
|
@ -32,7 +32,7 @@ StyledButton {
|
|||
|
||||
font.pixelSize: Dimensions.gpu.fontSize
|
||||
text: ` ${(SystemInfo.gpuPerc * 100).toFixed().toString().padStart(2, "_")}%`
|
||||
color: root.hovered ? Theme.palette.primarycontent : Theme.palette.basecontent
|
||||
color: root.hovered ? Styling.theme.primarycontent : Styling.theme.basecontent
|
||||
|
||||
states: [
|
||||
State {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue