SNIPPET
dedouwe26

Papyrus

Papyrus is a Obsidian snippet that handles styles and themes per note.

Papyrus 📜

Papyrus is a Obsidian snippet that handles styles and themes per note. Based on CyanVoxel/Obsidian-Notebook-Themes which is under the MIT License.

Usage

Copy and paste the Papyrus.css file into the .obsidian/snippets folder and enable it in the Appearance settings.

If you know a bit of CSS, you can configure Papyrus in the :root selector.

Here are the following defined css classes:

Themes

  • manilla-theme : Manilla theme
  • blue-theme : Blue theme
  • white-theme : White theme
  • black-theme : Black theme

Pens

Use this with a theme or papyrus-config.

  • white-pen : Enables a white text color.
  • black-pen : Enables a black text color.
  • red-pen : Enables a red text color.
  • green-pen : Enables a green text color.
  • blue-pen : Enables a blue text color.
  • purple-pen : Enables a purple text color.

Styles

  • newspaper-font : Adds a newspaper font.
  • monospace-font : Adds a monospace font.
  • handwritten-font : Adds a handdrawn font.
  • editing-font : Sets the previous fonts while in editing mode.
  • page-grid : Adds a background grid (uses a theme or papyrus-config).
  • white-img : Adds a white background to every image.
  • round-img : Makes the images round.
  • bordered-img : Adds a border to the images (uses a theme or papyrus-config).
  • compact : Removes some whitespace.
  • negate-header : Switches text color and background color for header 1 (uses a theme or papyrus-config).
  • center-header : Centers h1 headers.
  • hide-add-property : Hides the add property button.

Other

  • papyrus-config : Applies Papyrus configuration (may be used with pens).

Related

How to Install

  1. Download the repository ZIP below
  2. Unzip it and find the CSS snippet file
  3. Move the CSS file into your vault's .obsidian/snippets/ folder
  4. Open Obsidian → Settings → Appearance → CSS Snippets → Enable it

Stats

Stars

1

Forks

0

License

MIT

Last updated 7mo ago

Categories