andyferra (owner)

Revisions

gist: 65933 Download_button fork
public
Description:
A minimal, focused theme for TaskPaper with extra styles for tasks tagged with @upcoming, @today, and @overdue
Public Clone URL: git://gist.github.com/65933.git
Embed All Files: show embed
For That Matter.taskpapertheme #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<theme>
  
  <!-- For That Matter Theme for TaskPaper
       by Andy Ferra (andyferra.com)
       based on Dark Matter Theme -->
  
  <!-- Colors -->
  
  <color id="tag" red="0.1" green="0.1" blue="0.1" alpha="1.0" />
  <color id="handle" red="0.25" green="0.25" blue="0.25" alpha="1.0" />
  <color id="insertionPoint" red="1.0" green="1.0" blue="1.0" alpha="1.0" />
  <color id="selection" red="0.2" green="0.2" blue="0.2" alpha="1.0" />
  
  
  <!-- Window Style -->
  
  <color id="foreground" red="1.0" green="1.0" blue="1.0" alpha="1.0" />
  <color id="background" red="0.15" green="0.15" blue="0.15" alpha="1.0" />
  
  <window foregroundColorID = "foreground"
          backgroundColorID = "background"
          shouldUseHUDScrollers = "yes" />
 
 
  <!-- Text View Style -->
  
  <font id = "base"
                  name = "Lucida Grande"
                  size = "0" />
  
  <characterStyle id = "base"
                  fontID = "base"
                  foregroundColorID = "foreground" />
  
  <paragraphStyle id = "base"
                  paragraphSpacingBefore = "0"
                  paragraphSpacing = "0"
                  lineSpacing = "0"
                  lineHeightMultiple = "1.3"
                  alignment = "NSLeftTextAlignment" />
 
  <textView shouldAntialiasText = "yes"
                  shouldShowNoteHandles = "no"
                  shouldShowProjectHandles = "yes"
                  defaultCharacterStyleID = "base"
                  textLeftEdgeAlignmentStyle = "TPEntryAlignProjectsAndTasksAndNotesAlighmentStyle"
                  insertionPointColorID = "insertionPoint"
                  selectionColorID = "selection"
                  handleColorID = "handle"
                  tagColorID = "tag" />
 
  <!-- Task style.
       This section defines the styles that are applied to task lines. -->
  
  <color id="task" red="0.9" green="0.9" blue="0.9" alpha="1.0" />
  
  <font id = "task"
                  extendsFontID = "base"
                  size = "14" />
 
  <characterStyle id = "task"
                  fontID = "task"
                  foregroundColorID = "task" />
 
  <entryRule matchesQuery = "type = task"
                  lineCharacterStyleID = "task"
                  paragraphStyleID = "base" />
 
 
  <!-- Project style.
       This section defines the styles that are applied to project lines. -->
  
  <color id="project" red="0.8" green="1.0" blue="0.4" alpha="1.0" />
  
  <font id = "project"
                  extendsFontID = "base"
                  fontTraitMask = "NSBoldFontMask" />
 
  <characterStyle id = "project"
                  fontID = "project"
                  foregroundColorID = "project" />
                  
  <entryRule matchesQuery = "type = &quot;project&quot;"
                  lineCharacterStyleID = "project"
                  paragraphStyleID = "base" />
 
  
  <!-- GroupHeader style.
       This section defines the styles that are applied to groupHeader lines.
       This effects projects too. -->
  
  <color id="groupHeader" extendsColorID="foreground" />
  <color id="groupHeaderGradStart" red="0.2" green="0.2" blue="0.2" alpha="1.0" />
  <color id="groupHeaderGradEnd" red="0.2" green="0.2" blue="0.2" alpha="1.0" />
  
  <font id = "groupHeader"
                   extendsFontID = "base"
                   fontTraitMask = "NSBoldFontMask"
                   size = "18" />
                   
  <characterStyle id = "groupHeader"
                   fontID = "groupHeader"
                   foregroundColorID = "groupHeader" />
                   
  <paragraphStyle id = "groupHeader"
                   extendsParagraphStyleID = "base"
                   lineHeightMultiple = "1.0"
                   paragraphSpacingBefore = "40"
                   paragraphSpacing = "13" />
                   
  <gradient id = "groupHeader"
                   startColorID = "groupHeaderGradStart"
                   endColorID = "groupHeaderGradEnd"
                   angle = "0" />
  
  <backgroundStyle id = "groupHeader"
                   maxWidth = "0"
                   xWeight = "0"
                   maxHeight = "1"
                   yWeight = "-0.5"
                   cornerRadiusX = "0"
                   cornerRadiusY = "0"
                   fillGradientID = "groupHeader" />
 
  <entryRule matchesQuery = "isgroupheader"
                   paragraphStyleID = "groupHeader"
                   lineCharacterStyleID = "groupHeader"
                   frontParagraphBackgroundStyleID = "groupHeader" />
 
  
  <!-- Note style. This section defines the styles that are applied to note lines. -->
  <color id="note" red="0.6" green="0.6" blue="0.6" alpha="1.0" />
  <font id="note" extendsFontID="base" size="11" />
  <characterStyle id="note" fontID="note" foregroundColorID="note" />
  <entryRule matchesQuery="type = note" lineCharacterStyleID="note" paragraphStyleID="base" />
 
  <!-- @done style. This section defines the styles that are applied to lines tagged with @done. -->
  <color id="done" red="0.5" green="0.5" blue="0.5" alpha="1.0" />
  <characterStyle id="done" foregroundColorID="done" />
  <entryRule matchesQuery="@done" contentCharacterStyleID="done" />
  
  <!-- @today style. This section defines the styles that are applied to lines tagged with @today. -->
  <color id="todayFG" red="0.565" green="1.0" blue="0.412" alpha="1.0" />
  <characterStyle id="today" foregroundColorID="todayFG" />
  <entryRule matchesQuery="(@today) and (not @done)" contentCharacterStyleID="today" />
  
  <!-- @overdue style. This section defines the styles that are applied to lines tagged with @overdue. -->
  <color id="overdueFG" red="0.565" green="1.0" blue="0.412" alpha="1.0" />
  <color id="overdueBG" red="0.161" green="0.302" blue="0.125" alpha="1.0" />
  <characterStyle id="overdue" backgroundColorID="overdueBG" foregroundColorID="overdueFG" />
  <entryRule matchesQuery="(@overdue) and (not @done)" contentCharacterStyleID="overdue" />
  
  <!-- @upcoming style. This section defines the styles that are applied to lines tagged with @upcoming. -->
  <color id="upcomingFG" red="1.0" green="0.97" blue="0.5" alpha="1.0" />
  <characterStyle id="upcoming" foregroundColorID="upcomingFG" />
  <entryRule matchesQuery="(@upcoming) and (not @done)" contentCharacterStyleID="upcoming" />
 
</theme>