mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-02 01:13:19 +00:00
Add color for events and source tags
This commit is contained in:
parent
d208fc6ca4
commit
4bca7fac3e
12 changed files with 95 additions and 39 deletions
|
@ -93,6 +93,7 @@ export component MainView inherits Rectangle {
|
|||
TaskLine {
|
||||
title: task.title;
|
||||
source-name: AppModels.get-source-name-from-id(task.sourceId);
|
||||
source-color: AppModels.get-source-color-from-id-as-color(task.sourceId);
|
||||
scheduled: task.date.year != 0;
|
||||
date: day.date;
|
||||
checked: task.checked;
|
||||
|
@ -136,6 +137,7 @@ export component MainView inherits Rectangle {
|
|||
TaskLine {
|
||||
title: task.title;
|
||||
source-name: AppModels.get-source-name-from-id(task.sourceId);
|
||||
source-color: AppModels.get-source-color-from-id-as-color(task.sourceId);
|
||||
checked: task.checked;
|
||||
allow-edit-date: true;
|
||||
delete => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue