Skip to content

Instantly share code, notes, and snippets.

@andyferra
Created February 17, 2009 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andyferra/65933 to your computer and use it in GitHub Desktop.
Save andyferra/65933 to your computer and use it in GitHub Desktop.
A minimal, focused theme for TaskPaper with extra styles for tasks tagged with @upcoming, @today, and @overdue
<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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment