2025-05-08 08:12:21 +00:00
|
|
|
|
/* @settings
|
|
|
|
|
|
name: Todo.txt Mode
|
|
|
|
|
|
id: obsidian-todo-txt-mode
|
|
|
|
|
|
settings:
|
|
|
|
|
|
- id: todo-txt-mode-project-color
|
|
|
|
|
|
title: Project Tag Color
|
|
|
|
|
|
description: Color for project tags (+project)
|
|
|
|
|
|
type: variable-color
|
|
|
|
|
|
format: hex
|
|
|
|
|
|
default: '#4285F4'
|
|
|
|
|
|
|
|
|
|
|
|
- id: todo-txt-mode-context-color
|
|
|
|
|
|
title: Context Tag Color
|
|
|
|
|
|
description: Color for context tags (@context)
|
|
|
|
|
|
type: variable-color
|
|
|
|
|
|
format: hex
|
|
|
|
|
|
default: '#34A853'
|
|
|
|
|
|
|
|
|
|
|
|
- id: todo-txt-mode-priority-color
|
|
|
|
|
|
title: Priority Color
|
|
|
|
|
|
description: Color for priority markers (A)
|
|
|
|
|
|
type: variable-color
|
|
|
|
|
|
format: hex
|
|
|
|
|
|
default: '#F44336'
|
|
|
|
|
|
|
|
|
|
|
|
- id: todo-txt-mode-due-date-color
|
|
|
|
|
|
title: Due Date Color
|
|
|
|
|
|
description: Color for due dates (due:yyyy-mm-dd)
|
|
|
|
|
|
type: variable-color
|
|
|
|
|
|
format: hex
|
|
|
|
|
|
default: '#607D8B'
|
|
|
|
|
|
|
|
|
|
|
|
- id: todo-txt-mode-completed-task-color
|
|
|
|
|
|
title: Completed Task Color
|
|
|
|
|
|
description: Color for completed tasks (starting with "x ")
|
|
|
|
|
|
type: variable-color
|
|
|
|
|
|
format: hex
|
|
|
|
|
|
default: '#808080'
|
2025-06-26 13:03:23 +00:00
|
|
|
|
|
|
|
|
|
|
- id: todo-txt-mode-completion-date-color
|
|
|
|
|
|
title: Completion Date Color
|
|
|
|
|
|
description: Color for completion dates in completed tasks (x 2011-03-02)
|
|
|
|
|
|
type: variable-color
|
|
|
|
|
|
format: hex
|
2025-06-30 14:16:14 +00:00
|
|
|
|
default: '#E6CC80'
|
2025-06-26 13:03:23 +00:00
|
|
|
|
|
|
|
|
|
|
- id: todo-txt-mode-creation-date-color
|
|
|
|
|
|
title: Creation Date Color
|
|
|
|
|
|
description: Color for creation dates (2011-03-01 Task or x date1 2011-03-01 Task)
|
|
|
|
|
|
type: variable-color
|
|
|
|
|
|
format: hex
|
2025-06-30 14:16:14 +00:00
|
|
|
|
default: '#C8A2C8'
|
|
|
|
|
|
|
|
|
|
|
|
- id: todo-txt-mode-recurring-task-color
|
|
|
|
|
|
title: Recurring Task Color
|
|
|
|
|
|
description: Color for recurring tasks (rec:value)
|
|
|
|
|
|
type: variable-color
|
|
|
|
|
|
format: hex
|
|
|
|
|
|
default: '#607D8B'
|
2025-05-08 08:12:21 +00:00
|
|
|
|
*/
|
2025-05-08 08:08:08 +00:00
|
|
|
|
|
2025-05-08 08:12:21 +00:00
|
|
|
|
/* Todo.txt Mode スタイル定義 */
|
2025-05-08 08:08:08 +00:00
|
|
|
|
|
2025-05-08 08:12:21 +00:00
|
|
|
|
/* 完了タスク(取り消し線) */
|
|
|
|
|
|
.todo-txt-mode-completed {
|
|
|
|
|
|
text-decoration: line-through;
|
|
|
|
|
|
opacity: 0.7;
|
|
|
|
|
|
color: var(--todo-txt-mode-completed-task-color, #808080);
|
|
|
|
|
|
}
|
2025-05-08 08:08:08 +00:00
|
|
|
|
|
2025-05-08 08:12:21 +00:00
|
|
|
|
/* プロジェクト(+project) */
|
|
|
|
|
|
.todo-txt-mode-project {
|
|
|
|
|
|
color: var(--todo-txt-mode-project-color, #4285F4);
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* コンテキスト(@context) */
|
|
|
|
|
|
.todo-txt-mode-context {
|
|
|
|
|
|
color: var(--todo-txt-mode-context-color, #34A853);
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* 優先度((A)) */
|
|
|
|
|
|
.todo-txt-mode-priority {
|
|
|
|
|
|
color: var(--todo-txt-mode-priority-color, #F44336);
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* 期日(due:yyyy-mm-dd) */
|
|
|
|
|
|
.todo-txt-mode-due-date {
|
|
|
|
|
|
color: var(--todo-txt-mode-due-date-color, #607D8B);
|
|
|
|
|
|
font-size: 90%;
|
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2025-06-26 13:03:23 +00:00
|
|
|
|
/* 完了日(x 2011-03-02) */
|
|
|
|
|
|
.todo-txt-mode-completion-date {
|
2025-06-30 14:16:14 +00:00
|
|
|
|
color: var(--todo-txt-mode-completion-date-color, #E6CC80);
|
|
|
|
|
|
font-size: 85%;
|
|
|
|
|
|
font-weight: normal;
|
2025-06-26 13:03:23 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* 作成日(2011-03-01 Task or x date1 2011-03-01 Task) */
|
|
|
|
|
|
.todo-txt-mode-creation-date {
|
2025-06-30 14:16:14 +00:00
|
|
|
|
color: var(--todo-txt-mode-creation-date-color, #C8A2C8);
|
|
|
|
|
|
font-size: 85%;
|
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* 繰り返しタスク(rec:value) */
|
|
|
|
|
|
.todo-txt-mode-recurring-task {
|
|
|
|
|
|
color: var(--todo-txt-mode-recurring-task-color, #607D8B);
|
2025-06-26 13:03:23 +00:00
|
|
|
|
font-size: 90%;
|
2025-06-30 14:16:14 +00:00
|
|
|
|
text-decoration: underline;
|
|
|
|
|
|
font-weight: normal;
|
2025-06-26 13:03:23 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2025-05-08 08:12:21 +00:00
|
|
|
|
/* ファイル識別のためのマーカー */
|
|
|
|
|
|
.todo-txt-mode-file .cm-line {
|
|
|
|
|
|
font-family: var(--font-monospace);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* リスト番号やバレットを非表示にする(オプション) */
|
|
|
|
|
|
.todo-txt-mode-file .cm-formatting-list {
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2025-06-09 12:19:24 +00:00
|
|
|
|
/* Todo files container styling */
|
|
|
|
|
|
.todo-txt-mode-files-container {
|
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2025-05-08 08:12:21 +00:00
|
|
|
|
/* スタイル設定案内メッセージのスタイル */
|
|
|
|
|
|
.todo-txt-style-settings-info {
|
|
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
|
font-size: 0.85em;
|
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.todo-txt-style-settings-info p {
|
|
|
|
|
|
margin: 4px 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.todo-txt-style-settings-link {
|
|
|
|
|
|
color: var(--text-accent);
|
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.todo-txt-style-settings-link:hover {
|
|
|
|
|
|
color: var(--text-accent-hover);
|
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
|
}
|