should use Styling
This commit is contained in:
parent
fdf61a0e90
commit
7a04cccf0c
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ StyledPanelWindow {
|
||||||
id: circle
|
id: circle
|
||||||
radius: 150
|
radius: 150
|
||||||
borderColor: Styling.theme.base100
|
borderColor: Styling.theme.base100
|
||||||
strokeColor: PomodoroService.state == "timer" ? Theme.palette.primary : Theme.palette.warning
|
strokeColor: PomodoroService.state == "timer" ? Styling.theme.primary : Styling.theme.warning
|
||||||
strokeWidth: 12
|
strokeWidth: 12
|
||||||
fillColor: button.hovered ? Styling.theme.primary : "transparent"
|
fillColor: button.hovered ? Styling.theme.primary : "transparent"
|
||||||
percentage: (PomodoroService.state == "timer" ? (PomodoroService.initialTime - PomodoroService.remainingTime) : PomodoroService.remainingTime) / PomodoroService.initialTime % 1
|
percentage: (PomodoroService.state == "timer" ? (PomodoroService.initialTime - PomodoroService.remainingTime) : PomodoroService.remainingTime) / PomodoroService.initialTime % 1
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue