opaline 0.4.1

A token-based theme engine for Rust applications
Documentation
# One Light — Atom's iconic light theme
# https://github.com/atom/atom/tree/master/packages/one-light-syntax

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

[palette]
# Backgrounds
bg0 = "#fafafa"
bg1 = "#f0f0f0"
bg2 = "#e6e6e6"
bg3 = "#dcdcdc"
bg4 = "#c9c9c9"

# Foregrounds
fg = "#383a42"
fg_dim = "#a0a1a7"
fg_dark = "#818387"

# Colors
red = "#e45649"
red_dark = "#833b3b"
green = "#50a14f"
yellow = "#986801"
yellow_dark = "#c18401"
blue = "#4078f2"
magenta = "#a626a4"
cyan = "#0184bc"
gutter = "#a0a1a7"

[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"]