Skip to content

Instantly share code, notes, and snippets.

@BenWard
Created September 25, 2011 08:28
Show Gist options
  • Save BenWard/1240383 to your computer and use it in GitHub Desktop.
Save BenWard/1240383 to your computer and use it in GitHub Desktop.
A simple TaskPaper theme to imitate Apple's Stickies.app notes.
<theme>
<!-- Color Variables -->
<color id="foreground" red="0" green="0" blue="0" alpha="1.0" />
<color id="background" red="1.0" green="0.95" blue="0.6" alpha="1.0" />
<color id="selection" red="0.7" green="0.835" blue="1" alpha="1.0" />
<color id="tag" extendsColorID="foreground" alpha="0.7" />
<color id="handle" extendsColorID="foreground" />
<color id="insertionPoint" extendsColorID="foreground" />
<color id="groupHeader" extendsColorID="foreground" />
<color id="project" extendsColorID="foreground" />
<color id="task" extendsColorID="foreground" />
<color id="note" extendsColorId="foreground" />
<!-- Fonts -->
<font id="base" name="Helvetica" size="0" />
<font id="groupHeader" extendsFontID="base" fontTraitMask="NSBoldFontMask" />
<font id="project" extendsFontID="base" fontTraitMask="NSBoldFontMask" />
<font id="task" extendsFontID="base" />
<!-- Window Style -->
<window foregroundColorID="foreground" backgroundColorID="background" shouldUseHUDScrollers="no" />
<!-- Text View Style -->
<characterStyle id="base" fontID="base" foregroundColorID="foreground" />
<paragraphStyle id="base" paragraphSpacingBefore="0" paragraphSpacing="0" lineSpacing="0" lineHeightMultiple="0.0" alignment="NSLeftTextAlignment" />
<paragraphStyle id="block" extendsParagraphId="base" paragraphSpacingBefore="5" paragraphSpacing="5" />
<textView
shouldAntialiasText="yes"
shouldShowNoteHandles="no"
shouldShowProjectHandles="no"
defaultCharacterStyleID="base"
textLeftEdgeAlignmentStyle="TPEntryAlignTasksAndNotesAlighmentStyle"
insertionPointColorID="insertionPoint"
selectionColorID="selection"
handleColorID="handle"
tagColorID="tag"
/>
<!-- Task style. This section defines the styles that are applied to task lines. -->
<characterStyle id="task" fontID="base" foregroundColorID="base" />
<entryRule matchesQuery="type = task" lineCharacterStyleID="task" paragraphStyleID="base" />
<!-- Project style. This section defines the styles that are applied to project lines. -->
<characterStyle id="project" fontID="project" foregroundColorID="project" />
<entryRule matchesQuery="type = &quot;project&quot;" lineCharacterStyleID="project" paragraphStyleID="block" />
<!-- Note style. This section defines the styles that are applied to note lines. -->
<characterStyle id="note" fontID="base" foregroundColorID="base" />
<entryRule matchesQuery="type = note" lineCharacterStyleID="note" paragraphStyleID="block" />
<!-- GroupHeader style. This section defines the styles that are applied to groupHeader lines. (top level projects) -->
<characterStyle id="groupHeader" fontID="groupHeader" foregroundColorID="groupHeader" />
<entryRule matchesQuery="isgroupheader" paragraphStyleID="block" lineCharacterStyleID="groupHeader" />
<!-- @done style. This section defines the styles that are applied to lines tagged with @done. -->
<characterStyle id="done" strikethroughStyle="NSUnderlineStyleSingle" />
<entryRule matchesQuery="@done" contentCharacterStyleID="done" />
</theme>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment