Skip to main content
Coding Theme

Safi for Obsidian

Safi by Abdulkader Safi is an Obsidian theme with dark and light modes and 952 downloads.

Preview

Theme preview

An Obsidian window rendered with this theme’s palette.

Obsidian desktop preview

Syntax colors, highlights, links, tags, and checkboxes use this theme's palette; window chrome and layout follow Obsidian's default stylesheet.

Install

Install in Obsidian

  1. Open Settings → Appearance → Themes, then Manage.
  2. Search for “Safi” and install it. Obsidian keeps community themes updated.
  3. Or create the folder below and save both theme.css and manifest.json in it, then reload Obsidian.
Theme folder
.obsidian/themes/Safi/theme.css
.obsidian/themes/Safi/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#0c0b0a
Secondary background#110f0d
Border#f5f2ea1f
Text#f5f2ea
Muted text#8d887e
Text accent#d97a4f
Accent background#d97a4f
Selection background#d97a4f38
Code background#16140f
Code text#e9c9b4

Light

Background#f4f1ea
Secondary background#efebe2
Border#1a161124
Text#1a1611
Muted text#6b6358
Text accent#c75c33
Accent background#c75c33
Selection background#c75c332e
Code background#fbf9f3
Code text#8a4022

Contrast — Dark

A warm, muted dark palette anchored on #0C0B0A, pairing note text (#F5F2EA) at 17.57:1 (AAA). 6 of 7 graded roles clear WCAG AA (4.5:1+); Faint (#6A665D, 3.43:1) sits below 4.5:1 for softer contrast.

Background

#0C0B0A

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • Accentlinks and highlighted text
  • Codeinline code in the note
  • Selectiontext inside a selection
  • On accenta button label on the accent color
Appearance
Dark
Temperature
Warm
Saturation
Muted
  • Note

    #F5F2EA

    17.57:1AAA

  • Muted

    #8D887E

    5.57:1AA

  • Faint

    #6A665D

    3.43:1Fail

  • Accent

    #D97A4F

    6.41:1AA

  • Code

    #E9C9B4on #16140F

    11.81:1AAA

  • Selection

    #F5F2EAon #D97A4F38

    13.09:1AAA

  • On accent

    #0C0B0Aon #D97A4F

    6.41:1AA

AA is 4.5:1 for normal text, 3:1 only for large text (at least 24px, or 18.7px bold). AAA is 7:1 (4.5:1 for large text). Code and terminal text are normal text, so anything under 4.5:1 fails.

Note text, headings, links, code, selection, highlight, and accent text are graded on the surfaces they use. Code uses code-background; selection and highlight paint the normal text color on those backgrounds. Colors the theme leaves unset come from Obsidian's default theme and are not graded.

Contrast — Light

A warm, balanced light palette anchored on #F4F1EA, pairing note text (#1A1611) at 15.95:1 (AAA). 4 of 7 graded roles clear WCAG AA (4.5:1+); Faint (#938B7E, 2.98:1), Accent (#C75C33, 3.71:1), and On accent (#FBF9F3, 3.98:1) sit below 4.5:1 for softer contrast.

Background

#F4F1EA

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • Accentlinks and highlighted text
  • Codeinline code in the note
  • Selectiontext inside a selection
  • On accenta button label on the accent color
Appearance
Light
Temperature
Warm
Saturation
Balanced
  • Note

    #1A1611

    15.95:1AAA

  • Muted

    #6B6358

    5.24:1AA

  • Faint

    #938B7E

    2.98:1Fail

  • Accent

    #C75C33

    3.71:1Fail

  • Code

    #8A4022on #FBF9F3

    7.03:1AAA

  • Selection

    #1A1611on #C75C332E

    12.88:1AAA

  • On accent

    #FBF9F3on #C75C33

    3.98:1Fail

Note text, headings, links, code, selection, highlight, and accent text are graded on the surfaces they use. Code uses code-background; selection and highlight paint the normal text color on those backgrounds. Colors the theme leaves unset come from Obsidian's default theme and are not graded.