fork/helix
git clone https://git.julia.blue/fork/helix
974ac9ea
25.07
1# License: MIT License 2# Sidra Theme for the Helix Editor 3# Author: Md Atiquz Zaman <atiquzz42@gmail.com> 4# Repo: https://github.com/atiquz/sidra 5# Inspired by: One Monokai, Dracula, One Dark Pro 6# Description: A customizable, balanced dark theme built for readability and flexibility. 7 8 9# =========================== 10# UI Element Styling 11# =========================== 12 13 14# USER INTERFACE 15"ui.background" = { fg = "foreground" , bg = "background" } 16"ui.background.separator" = { fg = "white" } 17 18"ui.linenr" = { fg = "fg_linenr" } 19"ui.linenr.selected" = { fg = "fg_linenr_sld" } 20 21"ui.help" = { fg = "fg_help" , bg = "bg_help" } 22"ui.popup" = { bg = "bg_popup" } 23"ui.window" = { fg = "fg_window" } 24 25"ui.text" = { fg = "fg_text" } 26"ui.text.focus" = { fg = "fg_text_focus" } 27"ui.text.inactive" = { fg = "fg_text_inactive" } 28 29"ui.virtual" = { fg = "fg_virtual" } 30"ui.virtual.ruler" = { bg = "bg_virtual_ruler" } 31"ui.virtual.indent-guide" = { fg = "fg_virtual_indent" } 32 33"ui.debug" = { fg = "fg_debug" , modifiers = [ "bold" ] } 34"ui.debug.active" = { fg = "fg_debug_active" , modifiers = [ "bold" ] } 35"ui.debug.breakpoint" = { fg = "fg_debug_breakpoint" , modifiers = [ "bold" ] } 36 37"ui.menu" = { fg = "gray" , bg = "black" } 38"ui.menu.selected" = { fg = "black" , bg = "gray" } 39 40# CURSOR 41"ui.cursor" = { fg = "foreground" , bg = "bg_normal" , modifiers = [ "dim" ] } 42"ui.cursor.match" = { fg = "foreground" , bg = "bg_match" , modifiers = [ "dim" ] } 43"ui.cursor.normal" = { fg = "background" , bg = "bg_normal" , modifiers = [ "dim" ] } 44"ui.cursor.insert" = { fg = "background" , bg = "bg_insert" , modifiers = [ "dim" ] } 45"ui.cursor.select" = { fg = "background" , bg = "bg_select" , modifiers = [ "dim" ] } 46"ui.cursor.primary.normal" = { fg = "background" , bg = "bg_normal" } 47"ui.cursor.primary.insert" = { fg = "background" , bg = "bg_insert" } 48"ui.cursor.primary.select" = { fg = "background" , bg = "bg_select" } 49"ui.cursorline" = { bg = "bg_cursorline" } 50"ui.cursorline.primary" = { bg = "bg_cursorline" } 51 52 53# SELECTION 54"ui.selection" = { fg = "white" , bg = "bg_selection" } 55"ui.selection.primary" = { fg = "white" , bg = "bg_selection" } 56 57 58# STATUS LINE 59"ui.statusline" = { fg = "fg_statusline" , bg = "bg_statusline" } 60"ui.statusline.inactive" = { fg = "fg_inactive" , bg = "bg_inactive" } 61"ui.statusline.normal" = { fg = "black" , bg = "bg_normal" , modifiers = [ "bold" ] } 62"ui.statusline.insert" = { fg = "black" , bg = "bg_insert" , modifiers = [ "bold" ] } 63"ui.statusline.select" = { fg = "black" , bg = "bg_select" , modifiers = [ "bold" ] } 64 65# MARKUP 66"markup.heading" = { fg = "markup_heading" } 67"markup.bold" = { fg = "markup_bold" , modifiers = [ "bold" ] } 68"markup.italic" = { fg = "markup_italic" , modifiers = [ "italic" ] } 69"markup.strikethrough" = { fg = "markup_strikethrough" , modifiers = [ "crossed_out" , "bold" ] } 70"markup.link.url" = { fg = "markup_link_url" , modifiers = [ "underlined" ] } 71"markup.link.text" = { fg = "markup_link_text" } 72"markup.raw" = { fg = "markup_raw" } 73 74 75# GIT 76"diff.plus" = { fg = "plus" , modifiers = [ "bold" ] } 77"diff.minus" = { fg = "minus" , modifiers = [ "bold" ] } 78"diff.delta" = { fg = "delta" , modifiers = [ "bold" ] } 79 80 81# HINT INFO ERROR & WARNING 82"diagnostic.hint" = { underline = { color = "cl_hint" , style = "curl" } } 83"diagnostic.info" = { underline = { color = "cl_info" , style = "curl" } } 84"diagnostic.error" = { underline = { color = "cl_error" , style = "curl" } } 85"diagnostic.warning" = { underline = { color = "cl_warning" , style = "curl" } } 86 87hint = "cl_hint" 88info = "cl_info" 89error = "cl_error" 90warning = "cl_warning" 91 92 93# =========================== 94# SYNTAX COLORS 95# =========================== 96 97 98# === ATTRIBUTES & KEYWORDS === 99attribute = "#a7bf67" # Olive green 100keyword = "#A4A2B4" # Muted lavender gray 101"keyword.directive" = "#D3D3D3" # Light gray (used to be "light-gray") 102namespace = "#7095bf" # Steel blue 103 104# === SYMBOLS & OPERATORS === 105punctuation = "#FFFFFF" # White 106"punctuation.delimiter" = "#FFFFFF" # White (delimiter punctuation) 107operator = "#987654" # Dusty brown (used to be "muddy") 108special = "#c90076" # Pink Color 109 110# === VARIABLES === 111variable = "#7ec67f" # Soft green 112"variable.other.member" = "#7ec67f" # Soft green (class or object members) 113"variable.parameter" = "#a8ffb4" # Pale mint green 114"variable.builtin" = "#a8ffb4" # Pale mint green (special language vars) 115 116# === TYPES === 117type = "#efbe4c" # Golden yellow 118"type.builtin" = "#efbe4c" # Golden yellow (built-in types) 119constructor = "#c19ef7" # Light lilac 120 121# === FUNCTIONS === 122function = "#987654" # Dusty brown (used to be "muddy") 123"function.macro" = "#987654" # Dusty brown (macro functions) 124"function.builtin" = "#db985e" # Orange tan 125 126# === TAGS === 127tag = "#d37a78" # Soft salmon pink 128 129# === COMMENTS === 130comment = "#D3D3D3" # Light gray 131 132# === CONSTANTS === 133constant = "#A5C4D4" # Pale blue 134"constant.builtin" = "#f1fa8c" # Bright yellow 135"constant.numeric" = "#b577b0" # Muted violet 136"constant.character.escape" = "#c95c56" # Coral red (escape characters) 137 138# === STRINGS === 139string = "#d6a560" # Sandy yellow-orange 140 141# === LABELS === 142label = "#abcc8a" # Pale green 143 144 145 146# =========================== 147# Color Palette 148# =========================== 149 150[ palette ] 151 152# ===== MODES COLORS ===== 153 154bg_normal = "#BD93F9" # Light purple 155bg_insert = "#50fa7b" # Neon green 156bg_select = "#8be9fd" # Cyan blue 157bg_match = "#D3D3D3" # Light gray 158 159# ===== GIT COLORS ===== 160 161plus = "#4F6F52" # Forest green 162minus = "#B80000" # Vivid red 163delta = "#3876BF" # Steel blue 164 165# ===== MARKUP COLORS ===== 166 167markup_heading = "#ff69b4" # Hot pink 168markup_bold = "#e7c547" # Bright yellow 169markup_italic = "#b294bb" # Lavender 170markup_strikethrough = "#d7005f" # Deep pink-red 171markup_link_url = "#3876BF" # Steel blue 172markup_link_text = "#FFA500" # Orange 173markup_raw = "#808080" # Medium gray 174 175# ===== PRIMARY UI COLORS ===== 176 177foreground = "#D3D3D3" # Light gray (default text) 178background = "#1f1f21" # Very dark gray (background) 179 180# ===== UI INTERFACE COLORS ===== 181 182fg_linenr = "#747575" # Dull silver (line numbers) 183fg_linenr_sld = "#c7dddd" # Light cyan (selected line number) 184fg_help = "#D3D3D3" # Light gray (help text) 185bg_help = "#35353a" # Charcoal (help background) 186bg_popup = "#3b3b3d" # Dark gray (popup background) 187fg_window = "#F1DCA7" # Soft cream (window border/title) 188 189fg_text = "#D3D3D3" # Light gray (main text) 190fg_text_focus = "#83c679" # Light green (focused text) 191fg_text_inactive = "#93a56f" # Olive green (inactive text) 192 193# ===== VIRTUAL COLORS ===== 194 195fg_virtual = "#F1DCA7" # Cream (virtual text) 196bg_virtual_ruler = "#363638" # Deep gray (ruler background) 197fg_virtual_indent = "#5B5B5A" # Medium-dark gray (indent guides) 198 199# ===== DEBUGGING COLORS ===== 200 201fg_debug = "#634450" # Plum (debug info) 202fg_debug_active = "#3876BF" # Blue (active debug line) 203fg_debug_breakpoint = "#B80000" # Red (breakpoint marker) 204 205# ===== CURSOR, SELECTION, STATUSLINE ===== 206 207bg_cursorline = "#2d303e" # Slate blue-gray (cursor line) 208bg_selection = "#71797E" # Cool gray (selected text background) 209fg_statusline = "#D3D3D3" # Light gray (statusline text) 210bg_statusline = "#303030" # Dark gray (statusline background) 211fg_inactive = "#4b5059" # Dim gray (inactive statusline text) 212bg_inactive = "#303030" # Dark gray (inactive statusline bg) 213 214# ===== HINT INFO ERROR & WARNING COLORS ===== 215 216cl_hint = "#f1fa8c" # Bright yellow 217cl_info = "#f1fa8c" # Same as hint 218cl_error = "#ff69b4" # Bright pink 219cl_warning = "#f1fa8c" # Same as hint