Skip to main content
Coding Theme

Zed preview

macOS Zed window using this variant's theme style.

Contrast

A cool, balanced dark palette anchored on #1D212E, pairing foreground text (#ABB2BF) at 7.52:1 (AAA). 3 of 4 graded roles clear WCAG AA (4.5:1+); Comment (#7F848E, 4.27:1) sits below 4.5:1 for softer contrast.

Background

#1D212E

  • ForegroundThe editor text sits on this background.
  • Comment// a note written in the margin
  • String"strings keep their own ink"
  • Keywordreturn function if else
Appearance
Dark
Temperature
Cool
Saturation
Balanced
  • Foreground

    #ABB2BF

    7.52:1AAA

  • Comment

    #7F848E

    4.27:1Fail

  • String

    #98C379

    7.95:1AAA

  • Keyword

    #D55FDE

    4.98: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.

colors

154 keys

UI color keys from this variant's theme style.

key
keyHEXRGB
background
border
border.disabled
border.focused
border.selected
border.transparent
border.variant
conflict
conflict.background
conflict.border
created
created.background
created.border
deleted
deleted.background
deleted.border
drop_target.background
editor.active_line_number
editor.active_line.background
editor.active_wrap_guide
editor.background
editor.document_highlight.read_background
editor.document_highlight.write_background
editor.foreground

syntax

39 captures

Syntax capture colors from the theme style. Italic and bold are not listed — the preview above shows them in the code.

capture
captureHEXRGB
attribute
boolean
comment
comment.doc
constant
constructor
embedded
emphasis
emphasis.strong
enum
function
hint
keyword
label
link_text
link_uri
number
operator
predictive
preproc
primary
property
punctuation
punctuation.bracket

Configuring One Dark Ocean Theme

Search for "One Dark Ocean" in the Zed extensions store, then paste the settings below.

{
  "theme": {
    "mode": "dark",
    "light": "One Dark Ocean",
    "dark": "One Dark Ocean"
  }
}