Skip to content

Commit

Permalink
fix: 馃悰 Add strikethrough to completed tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenull committed Dec 7, 2022
1 parent 09426ac commit 8311175
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/util/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,9 @@ export const POMODORO_INTERRUPTION_SEPARATOR = '|`~|'
export const DEFAULT_PROJECT = { id: undefined, bgColor: '#b8e986', textColor: '#4a4a4a', borderColor: '#047857', enabled: true }


const CALENDAR_DONN_TASK_BASE_STYLE = 'opacity: 0.6; background-image: var(--ls-checked-img); background-size: 18px; background-repeat: no-repeat; padding-left: 20px;'
export const CALENDAR_DONN_TASK_ALLDAY_STYLE = CALENDAR_DONN_TASK_BASE_STYLE + 'background-position: 2px center;'
export const CALENDAR_DONN_TASK_TIME_STYLE = CALENDAR_DONN_TASK_BASE_STYLE + 'background-position: 8px center;'
// const CALENDAR_DONN_TASK_BASE_STYLE = 'opacity: 0.6; background-image: var(--ls-checked-img); background-size: 18px; background-repeat: no-repeat; padding-left: 20px;'
// export const CALENDAR_DONN_TASK_ALLDAY_STYLE = CALENDAR_DONN_TASK_BASE_STYLE + 'background-position: 2px center;'
// export const CALENDAR_DONN_TASK_TIME_STYLE = CALENDAR_DONN_TASK_BASE_STYLE + 'background-position: 8px center;'
const CALENDAR_DONN_TASK_BASE_STYLE = 'opacity: 0.6; text-decoration: line-through;'
export const CALENDAR_DONN_TASK_ALLDAY_STYLE = CALENDAR_DONN_TASK_BASE_STYLE
export const CALENDAR_DONN_TASK_TIME_STYLE = CALENDAR_DONN_TASK_BASE_STYLE

0 comments on commit 8311175

Please sign in to comment.