Skip to main content
Coding Theme

Cockpit Glass for Obsidian

Cockpit Glass by hang is an Obsidian theme with dark and light modes and 524 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 “Cockpit Glass” 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/Cockpit Glass/theme.css
.obsidian/themes/Cockpit Glass/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#202226
Secondary background#292c31
Border#ebedf026
Text#eceef0
Muted text#b6bac0
Base 00#18191c
Base 05#1c1e21
Base 10#202226
Base 20#25272b
Base 25#292c31
Base 30#33363c
Base 35#3d4047
Base 40#50545b
Base 50#6c7179
Base 60#959ba3
Base 70#b6bac0
Base 100#eceef0

Light

Background#f6f6f6
Secondary background#e9e9e9
Border#1e1e1e29
Text#222222
Muted text#4c4c4c
Base 00#ffffff
Base 05#fbfbfb
Base 10#f6f6f6
Base 20#efefef
Base 25#e9e9e9
Base 30#e1e1e1
Base 35#d2d2d2
Base 40#b6b6b6
Base 50#888888
Base 60#5c5c5c
Base 70#474747
Base 100#1c1c1c

Contrast — Dark

A cool, muted dark palette anchored on #202226, pairing note text (#ECEEF0) at 13.69:1 (AAA). All 3 graded roles clear WCAG AA (4.5:1+) for normal code and UI text.

Background

#202226

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
Appearance
Dark
Temperature
Cool
Saturation
Muted
  • Note

    #ECEEF0

    13.69:1AAA

  • Muted

    #B6BAC0

    8.17:1AAA

  • Faint

    #959BA3

    5.68: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. Not set here: Accent, Code.

Contrast — Light

A neutral, muted light palette anchored on #F6F6F6, pairing note text (#222222) at 14.72:1 (AAA). All 3 graded roles clear WCAG AA (4.5:1+) for normal code and UI text.

Background

#F6F6F6

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
Appearance
Light
Temperature
Neutral
Saturation
Muted
  • Note

    #222222

    14.72:1AAA

  • Muted

    #4C4C4C

    7.94:1AAA

  • Faint

    #5E5E5E

    5.99:1AA

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. Not set here: Accent, Code.