# Notebook theme

**URL:** <https://support.doubledogsoftware.com/t/notebook-theme/1112>\
**Category:** FoldingText\
**Tags:** theme\
**Created:** [June 4, 2020, 8:27pm UTC](https://support.doubledogsoftware.com/t/notebook-theme/1112 "2020-06-04T20:27:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![join](https://support.doubledogsoftware.com/letter_avatar_proxy/v4/letter/j/ecccb3/32.png) [@join](https://support.doubledogsoftware.com/u/join)\
**Post date:** [June 4, 2020, 8:27pm UTC](https://support.doubledogsoftware.com/t/notebook-theme/1112/1 "2020-06-04T20:27:40Z")

</div>

Hi folks, this is a theme inspired from Fred LeBlanc’s [NoteBook](https://github.com/fredleblanc/Notebook) TextMate theme.  
It is designed to clearly display the different heading levels in a long document with a light background, while adding a nice touch of color.

It should look like this:

![FT-NotebookTheme](https://support.doubledogsoftware.com/images/transparent.png)

If unsure how to use the code below, please check [how to install a theme](http://support.foldingtext.com/t/how-to-install-a-theme/76).

```auto
@inkColor: black;
@indicatedColor: #7F755F;
@focusedSelectionBackgroundColor: mix(#7F755F, transparent, 30%);
@sidebarFontFamily: -apple-system, "Lucida Grande", Times;
@sidebarTextColor: black;
@sidebarBackgroundColor: #dbd3ba;

.nbheading() {
	padding: 5px;
}
.nbteal() {
	color: #2E6765;
	background-color: #8FE6D3A0;
}
.nbyellow() {
	color: #605C2B;
	background-color: #E9D92BA0;
}
.nbgreen() {
	color: #2F5D20;
	background-color: #9AFF42A0;
}
.nbbrown() {
	color: #493934;
	background-color: #ADA3898F;
}
.nbred() {
	color: #603546;
	background-color: #DA919BA0;
}
.nbblue() {
	color: #3E6566;
	background-color: #78D0C9A0;
}

.CodeMirror {
	.cm-heading-background {
		// background-color: #BEB69D;
	}
	.cm-heading {
		font-weight: normal;
		.cm-keyword {
			font-weight: bold;
		}
		> span {
			.nbheading();
		}
	}

	.cm-heading[cm-level="1"] {
		font-style: normal;
		font-weight: bold;
		line-height: @lineHeight * 1.5;
		font-size: @fontSize * 1.25;

		> span {
			.nbbrown();
		}
	}

	.cm-heading[cm-level="2"] {
		font-style: normal;
		font-weight: bold;

		> span {
			.nbyellow();
		}
	}
	.cm-heading[cm-level="3"] {
		font-style: italic;
		font-weight: bold;
		font-size: @fontSize * 0.95;

		> span {
			.nbgreen();
		}
	}
	.cm-heading[cm-level="4"] {
		font-style: normal;
		font-weight: bold;
		font-size: @fontSize * 0.85;

		> span {
			.nbred();
		}
	}
	.cm-heading[cm-level="5"] {
		font-style: normal;
		font-weight: normal;
		font-size: @fontSize * 0.75;

		> span {
			.nbblue();
		}
	}
	.cm-heading[cm-level="6"] {
		font-style: normal;
		font-weight: bold;
		font-size: @fontSize * 0.65;

		> span {
			.nbteal();
		}
	}
}

```

---

<div class="post-metadata">

**Author:** ![jeremycherfas](https://support.doubledogsoftware.com/letter_avatar_proxy/v4/letter/j/2acd7d/32.png) [@jeremycherfas](https://support.doubledogsoftware.com/u/jeremycherfas)\
**Post date:** [June 12, 2020, 12:37pm UTC](https://support.doubledogsoftware.com/t/notebook-theme/1112/2 "2020-06-12T12:37:58Z")

</div>

Thanks; very handy.
