# One Dark — Atom's iconic dark theme
# https://github.com/atom/atom/tree/master/packages/one-dark-syntax

[meta]
name = "One Dark"
author = "Atom"
variant = "dark"
version = "1.0"
description = "Atom's iconic dark syntax theme"

[palette]
# Backgrounds
bg0 = "#21252b"
bg1 = "#282c34"
bg2 = "#2c323c"
bg3 = "#3e4451"
bg4 = "#4b5363"

# Foregrounds
fg = "#abb2bf"
fg_dim = "#828997"
fg_dark = "#5c6370"

# Colors
red = "#e06c75"
red_dark = "#be5046"
green = "#98c379"
yellow = "#e5c07b"
yellow_dark = "#d19a66"
blue = "#61afef"
magenta = "#c678dd"
cyan = "#56b6c2"
gutter = "#636d83"

[tokens]
"text.primary" = "fg"
"text.secondary" = "fg_dim"
"text.muted" = "fg_dark"
"text.dim" = "gutter"

"bg.base" = "bg0"
"bg.panel" = "bg1"
"bg.code" = "bg1"
"bg.highlight" = "bg2"
"bg.elevated" = "bg3"
"bg.active" = "bg4"
"bg.selection" = "bg3"

"accent.primary" = "blue"
"accent.secondary" = "cyan"
"accent.tertiary" = "magenta"
"accent.deep" = "blue"

success = "green"
error = "red"
warning = "yellow"
info = "cyan"

"border.focused" = "blue"
"border.unfocused" = "bg4"

"code.keyword" = "magenta"
"code.function" = "blue"
"code.string" = "green"
"code.number" = "yellow_dark"
"code.comment" = "fg_dark"
"code.type" = "yellow"
"code.line_number" = "gutter"

[styles]
keyword = { fg = "accent.primary", bold = true }
line_number = { fg = "code.line_number" }
cursor_line = { bg = "bg.highlight" }
selected = { fg = "accent.secondary", bg = "bg.highlight" }
active_selected = { fg = "accent.primary", bg = "bg.active", bold = true }
focused_border = { fg = "border.focused" }
unfocused_border = { fg = "border.unfocused" }
success_style = { fg = "success" }
error_style = { fg = "error" }
warning_style = { fg = "warning" }
info_style = { fg = "info" }
dimmed = { fg = "text.dim" }
muted = { fg = "text.muted" }
inline_code = { fg = "success", bg = "bg.code" }

[gradients]
primary = ["blue", "cyan"]
warm = ["yellow_dark", "yellow"]
success_gradient = ["green", "cyan"]
error_gradient = ["red", "red_dark"]
aurora = ["magenta", "blue", "cyan", "green", "yellow"]
