move theme to styling
This commit is contained in:
parent
467c9bc0e3
commit
4375f6e13d
36 changed files with 68 additions and 67 deletions
|
|
@ -53,10 +53,10 @@ StyledWindow {
|
|||
Circle {
|
||||
id: circle
|
||||
radius: 150
|
||||
borderColor: Theme.palette.base100
|
||||
strokeColor: Pomodoro.state == "timer" ? Theme.palette.primary : Theme.palette.warning
|
||||
borderColor: Styling.theme.base100
|
||||
strokeColor: Pomodoro.state == "timer" ? Styling.theme.primary : Styling.theme.warning
|
||||
strokeWidth: 12
|
||||
fillColor: button.hovered ? Theme.palette.primary : "transparent"
|
||||
fillColor: button.hovered ? Styling.theme.primary : "transparent"
|
||||
percentage: (Pomodoro.state == "timer" ? (Pomodoro.initialTime - Pomodoro.remainingTime) : Pomodoro.remainingTime) / Pomodoro.initialTime % 1
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue