mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-03 10:13:42 +00:00
Change default theme to OneDark like
This commit is contained in:
parent
437ea16d7c
commit
b1ed3c26c0
19 changed files with 94 additions and 28 deletions
|
@ -15,7 +15,7 @@ RowLayout {
|
|||
|
||||
function getFormatedText() {
|
||||
if (task?.time && task.time != "") {
|
||||
return `<font color=\"${colorPalette.selected.palette.overlay1}\">${task.time} \></font> ${task.text}`
|
||||
return `<font color=\"${"blue"}\">${task.time} \></font> ${task.text}`
|
||||
}
|
||||
return task.text
|
||||
}
|
||||
|
@ -24,7 +24,8 @@ RowLayout {
|
|||
id: checkbox
|
||||
text: control.getFormatedText()
|
||||
checked: task.state === 'DONE'
|
||||
textComponent.color: task.date < internal.todayDate ? colorPalette.selected.palette.pink
|
||||
textComponent.font.pointSize: 14
|
||||
textComponent.color: task.date < internal.todayDate ? colorPalette.selected.red
|
||||
// : task.date === internal.todayDate ? colorPalette.selected.palette.sapphire
|
||||
: colorPalette.selected.text
|
||||
onClicked: {
|
||||
|
@ -38,9 +39,7 @@ RowLayout {
|
|||
Layout.alignment: Qt.AlignVCenter
|
||||
text: modelData
|
||||
backgroundColor: colorPalette.selected.fieldBackground
|
||||
textColor: colorPalette.selected.palette.sapphire
|
||||
textColor: colorPalette.selected.accent
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue