Technitai TaskPaper Theme

If you use TaskPaper on OS X you may be interested in the theme I put together that supports a set of tags inspired by lean software development, Kanban in particular.

The tags are:

  • @priority(1)
  • @priority(2)
  • @priority(3)
  • @panic
  • @blocked

If I’m going to be talking about a theme then I better show what it looks like.

And the source!

<theme>
	<!-- Window Style -->
	<color id="foreground" red="0.84" green="0.84" blue="0.84" alpha="1.0" />
	<color id="background" red="0.28" green="0.28" blue="0.28" alpha=".97" />
	<window foregroundColorID="foreground" backgroundColorID="background" shouldUseHUDScrollers="no" />

	<!-- Text View Style -->
	<color id="tag" red="0.56" green="0.56" blue="0.56" alpha="1.0" />
	<color id="handle" extendsColorID="foreground" />
	<color id="insertionPoint" extendsColorID="foreground" />
	<color id="selection" red="0.30" green="0.36" blue="0.51" alpha="1.0" />
	<font id="base" name="Helvetica" size="0" />
	<characterStyle id="base" fontID="base" foregroundColorID="foreground" />
	<paragraphStyle id="base" paragraphSpacingBefore="0" paragraphSpacing="0" lineSpacing="0" lineHeightMultiple="0.0" alignment="NSLeftTextAlignment" />
	<textView
		shouldAntialiasText="yes"
		shouldShowNoteHandles="yes"
		shouldShowProjectHandles="yes"
		defaultCharacterStyleID="base"
		textLeftEdgeAlignmentStyle="TPEntryPlainTextAlignmentStyle"
		insertionPointColorID="insertionPoint"
		selectionColorID="selection"
		handleColorID="handle"
		tagColorID="tag"
	/>

	<!-- Task style. This section defines the styles that are applied to task lines. -->
	<color id="task" extendsColorID="foreground" />
	<font id="task" extendsFontID="base" size="12" />
	<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" extendsColorID="foreground" />
	<font id="project" extendsFontID="base" fontTraitMask="NSBoldFontMask" />
	<characterStyle id="project" fontID="project" foregroundColorID="project" />
	<entryRule matchesQuery="type = &quot;project&quot;" lineCharacterStyleID="project" paragraphStyleID="base" />

	<!-- Note style. This section defines the styles that are applied to note lines. -->
	<color id="note" red="0.65" green="0.65" blue="0.65" alpha="1.0" />
	<font id="note" name="Helvetica Neue Light" fontTraitMask="NSItalicFontMask" size="12" />
	<characterStyle id="note" fontID="note" foregroundColorID="note" />
	<entryRule matchesQuery="type = note" lineCharacterStyleID="note" paragraphStyleID="base" />

	<!-- GroupHeader style. This section defines the styles that are applied to groupHeader lines. (top level projects) -->
	<color id="groupHeader" extendsColorID="foreground" />
	<font id="groupHeader" name="Helvetica Neue UltraLight" size="24" />
	<characterStyle id="groupHeader" fontID="groupHeader" foregroundColorID="groupHeader" />
	<paragraphStyle id="groupHeader" extendsParagraphStyleID="base" paragraphSpacingBefore="10" paragraphSpacing="10" />
	<entryRule matchesQuery="isgroupheader" paragraphStyleID="groupHeader" lineCharacterStyleID="groupHeader" />

	<!-- @priority(1) -->
	<color id="priority1" red="0.8" green="1.0" blue="0.4" alpha="1.0" />
	<characterStyle id="priority1" foregroundColorID="priority1" />
	<entryRule matchesQuery="@priority=1" contentCharacterStyleID="priority1" />

	<!-- @priority(2) -->
	<color id="priority2" red="0.89" green="0.75" blue="0.4" alpha="1.0" />
	<characterStyle id="priority2" foregroundColorID="priority2" />
	<entryRule matchesQuery="@priority=2" contentCharacterStyleID="priority2" />

	<!-- @priority(3) -->
	<color id="priority3" red="0.4" green="0.75" blue="1.0" alpha="0.8" />
	<characterStyle id="priority3" foregroundColorID="priority3" />
	<entryRule matchesQuery="@priority=3" contentCharacterStyleID="priority3" />

	<!-- @panic -->
	<color id="panic" red=".95" green="0.25" blue="0.4" alpha="1.0" />
	<characterStyle id="panic" foregroundColorID="panic" />
	<entryRule matchesQuery="@panic" contentCharacterStyleID="panic" />

	<!-- @blocked -->
	<color id="blockedstart" red="0.8" green="0.2" blue="0.2" alpha=".75" />
	<color id="blockedend" red=".6" green=".2" blue=".2" alpha="0.55" />
    <gradient id="blocked" startColorID="blockedstart" endColorID="blockedend" angle="90" />
    <backgroundStyle id="blocked" extendsBackgroundStyleID="base" fillGradientID="blocked" shadowID="NULL" />
    <entryRule matchesQuery="@blocked" contentCharacterStyleID="blocked" backParagraphBackgroundStyleID="blocked" />

	<!-- @done -->
	<color id="done" red="0.0" green="0.0" blue="0.0" alpha=".5" />
	<characterStyle id="done" strikethroughStyle="NULL" foregroundColorID="done" />
	<entryRule matchesQuery="@done" contentCharacterStyleID="done" />
</theme>
Advertisements

2 thoughts on “Technitai TaskPaper Theme

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s