Dark and light themes for Obsidian, ported from VS Code's Dark Modern 2026: red keywords, purple functions, teal types and light-blue strings.
| Target | Repository | |
|---|---|---|
| Neovim | code-2026-theme/nvim | colorscheme plugin |
| Ghostty | code-2026-theme/ghostty | terminal theme |
| kitty | code-2026-theme/kitty | terminal theme |
| Xcode | code-2026-theme/xcode | editor theme |
| Obsidian | code-2026-theme/obsidian | this repo |
| Yazi | code-2026-theme/yazi | file manager |
Every port shares one palette, so your notes, :terminal inside Neovim and the host
terminal all render the same colors.
From Settings ▸ Appearance ▸ Manage, search for Dark 2026, then install and use it. The theme supports both dark and light modes — Obsidian will automatically switch based on your appearance setting.
Manual install works too. Use the install script:
./install.sh ~/path/to/vaultOr copy the files yourself. One gotcha: the folder name under themes must match the
name in manifest.json exactly, spaces included, or Obsidian won't list the theme.
mkdir -p "<vault>/.obsidian/themes/Dark 2026"
cp theme.css manifest.json "<vault>/.obsidian/themes/Dark 2026/"Restart Obsidian and pick Dark 2026 under Settings ▸ Appearance ▸ Theme. Manifests are only read at startup, so the restart matters.
The sixteen shared ANSI colors:
| Normal | Bright | ||
|---|---|---|---|
| black | #202122 |
bright black | #555555 |
| red | #ff7b72 |
bright red | #ffa198 |
| green | #7ee787 |
bright green | #91eb99 |
| yellow | #cd9731 |
bright yellow | #ffa657 |
| blue | #79c0ff |
bright blue | #a5d6ff |
| magenta | #d2a8ff |
bright magenta | #b267e6 |
| cyan | #4ec9b0 |
bright cyan | #71d4c0 |
| white | #bbbebf |
bright white | #ffffff |
Background #121314, foreground #bbbebf, selection #276782, search match
#1e4252. Sidebars and the tab bar sit on #191a1b, menus and code blocks on
#202122, hover and the active line on #242526. The accent is #3994bc, links are
#48a0c7.
What gets which color
Headings follow the Xcode markup mapping: H1 purple #d2a8ff, H2 teal #4ec9b0, H3
blue #79c0ff, then #ffa657, #48a0c7, #8c8c8c. Bold pops to white.
Code blocks use the same syntax colors as every other port: keywords and operators
red #ff7b72, strings #a5d6ff, numbers and properties blue #79c0ff, comments
grey #8b949e in italics, types teal #4ec9b0, functions purple #d2a8ff,
attributes orange #ffa657, macros #48a0c7. Works in both reading view and the
live editor.
Callouts use the diagnostics palette (error #f44747, warning #cd9731, info
#6796e6, success #7ee787) over diff-style tinted backgrounds. Unresolved links
and tags are amber, frontmatter keys are teal, and the graph view, tables,
checkboxes, scrollbars and status bar are all themed from the same palette.
Background #FFFFFF, foreground #202020, selection #C2DAF5, search match
#B3D7F2. Sidebars and the tab bar sit on #FAFAFD, hover and the active line on
#EAEAEA. The accent is #0069CC, links are #0069CC.
Light syntax colors
Headings: H1 purple #8250df, H2 green #116329, H3 blue #0550ae, then
#953800, #0069CC, #606060. Bold pops to black.
Keywords and operators red #cf222e, strings dark blue #0a3069, numbers and
properties blue #0550ae, comments grey #6e7781 in italics, types green
#116329, functions purple #8250df, attributes orange #953800.
Palette from Microsoft's VS Code Dark Modern 2026 theme, by way of D0nw0r/dark2026.nvim (MIT).
