Skip to content

Commit

Permalink
docs: Add some missing references to cancelled field to Styling.md
Browse files Browse the repository at this point in the history
  • Loading branch information
claremacrae committed Jan 2, 2024
1 parent 8d27779 commit e8e22db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/Advanced/Styling.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ The generic classes are:
- `task-created`
- `task-start`
- `task-scheduled`
- `task-cancelled`
- `task-done`
- `task-recurring`

Expand All @@ -89,7 +90,7 @@ The `normal` value is special: it is added as a default to a task's upper `task-

<!-- NEW_TASK_FIELD_EDIT_REQUIRED -->
A **date attribute** represents a due, created, start, scheduled or done date in a format relative to the current date.
The date attributes are `data-task-due`, `data-task-created`, `data-task-start`, `data-task-scheduled` and `data-task-done` and are populated with a relative expression that denotes the number of days this field represents compared to today:
The date attributes are `data-task-due`, `data-task-created`, `data-task-start`, `data-task-scheduled`, `data-task-cancelled` and `data-task-done` and are populated with a relative expression that denotes the number of days this field represents compared to today:

- `data-task-due="today"` (or `data-task-start="today"`, `data-task-start="today"` etc) represents today.
- `data-task-due="future-1d"` (or `data-task-start="future-1d"`) represents 1 day in the future, i.e. tomorrow.
Expand Down

0 comments on commit e8e22db

Please sign in to comment.