mirror of https://github.com/helix-editor/helix
Enhance Sidra theme color palette and JS support
Refined the color scheme for better readability and visual balance. Improved JavaScript syntax highlighting by tweaking keyword, function, and operator colors for a more distinct and pleasing appearance. Adjusted contrast and color choices to enhance overall viewing experience across all languages, with a focus on dark theme consistency.pull/14033/head
parent
dee30abf24
commit
7f16984603
|
@ -97,21 +97,36 @@ warning = "cl_warning"
|
||||||
|
|
||||||
# === ATTRIBUTES & KEYWORDS ===
|
# === ATTRIBUTES & KEYWORDS ===
|
||||||
attribute = "#a7bf67" # Olive green
|
attribute = "#a7bf67" # Olive green
|
||||||
keyword = "#A4A2B4" # Muted lavender gray
|
|
||||||
"keyword.directive" = "#D3D3D3" # Light gray (used to be "light-gray")
|
|
||||||
namespace = "#7095bf" # Steel blue
|
namespace = "#7095bf" # Steel blue
|
||||||
|
|
||||||
|
"keyword" = { fg = "#d37a78", modifiers = ["bold"] }
|
||||||
|
"keyword.control" = { fg = "#d37a78", modifiers = ["bold"] }
|
||||||
|
"keyword.control.conditional" = { fg = "#82AAFF", modifiers = ["bold"] }
|
||||||
|
"keyword.control.repeat" = { fg = "#d37a78", modifiers = ["bold"] }
|
||||||
|
"keyword.control.import" = { fg = "#C678DD", modifiers = ["bold"] }
|
||||||
|
"keyword.control.return" = { fg = "#88aece", modifiers = ["bold"] }
|
||||||
|
"keyword.control.exception" = { fg = "#FF79C6", modifiers = ["bold"] }
|
||||||
|
"keyword.operator" = { fg = "#528BFF" }
|
||||||
|
"keyword.function" = { fg = "#d37a78", modifiers = ["bold"] }
|
||||||
|
"keyword.storage" = { fg = "#C678DD", modifiers = ["bold"] }
|
||||||
|
"keyword.storage.type" = { fg = "#56B6C2", modifiers = ["bold"] }
|
||||||
|
"keyword.storage.modifier" = { fg = "#56B6C2", modifiers = ["bold"] }
|
||||||
|
|
||||||
|
|
||||||
# === SYMBOLS & OPERATORS ===
|
# === SYMBOLS & OPERATORS ===
|
||||||
punctuation = "#FFFFFF" # White
|
"punctuation" = "#FFFFFF" # White
|
||||||
"punctuation.delimiter" = "#FFFFFF" # White (delimiter punctuation)
|
"punctuation.delimiter" = "#F3F2CC" # White (delimiter punctuation)
|
||||||
operator = "#987654" # Dusty brown (used to be "muddy")
|
"punctuation.bracket" = "#FFFFFF" # Yellow
|
||||||
|
"punctuation.special" = "#ffd700" # Yello
|
||||||
|
operator = "#F3F2CC" # Dusty brown (used to be "muddy")
|
||||||
special = "#c90076" # Pink Color
|
special = "#c90076" # Pink Color
|
||||||
|
|
||||||
# === VARIABLES ===
|
# === VARIABLES ===
|
||||||
variable = "#7ec67f" # Soft green
|
"variable" = "#F3F2CC" # Soft green
|
||||||
"variable.other.member" = "#7ec67f" # Soft green (class or object members)
|
"variable.other" = "#cfba8b" # Pale mint green (special language svars)
|
||||||
"variable.parameter" = "#a8ffb4" # Pale mint green
|
"variable.other.member" = "#AB9DF2" # Pale mint green (special language svars)
|
||||||
"variable.builtin" = "#a8ffb4" # Pale mint green (special language vars)
|
"variable.builtin" = "#FC9867" # Blue
|
||||||
|
"variable.parameter" = "#F3F2CC" # Pale mint green
|
||||||
|
|
||||||
# === TYPES ===
|
# === TYPES ===
|
||||||
type = "#efbe4c" # Golden yellow
|
type = "#efbe4c" # Golden yellow
|
||||||
|
@ -119,30 +134,30 @@ type = "#efbe4c" # Golden yellow
|
||||||
constructor = "#c19ef7" # Light lilac
|
constructor = "#c19ef7" # Light lilac
|
||||||
|
|
||||||
# === FUNCTIONS ===
|
# === FUNCTIONS ===
|
||||||
function = "#987654" # Dusty brown (used to be "muddy")
|
"function" = "#FAD566" # Green
|
||||||
"function.macro" = "#987654" # Dusty brown (macro functions)
|
"function.macro" = "#FAD566" # Green
|
||||||
|
"function.method" = "#FAD566" # Green
|
||||||
"function.builtin" = "#db985e" # Orange tan
|
"function.builtin" = "#db985e" # Orange tan
|
||||||
|
"function.special" = "#db985e" # Orange tan
|
||||||
|
|
||||||
# === TAGS ===
|
# === TAGS ===
|
||||||
tag = "#d37a78" # Soft salmon pink
|
tag = "#d37a78" # Soft salmon pink
|
||||||
|
|
||||||
# === COMMENTS ===
|
# === COMMENTS ===
|
||||||
comment = "#D3D3D3" # Light gray
|
comment = "#646f69" # Light gray
|
||||||
|
|
||||||
# === CONSTANTS ===
|
# === CONSTANTS ===
|
||||||
constant = "#A5C4D4" # Pale blue
|
constant = "#A5C4D4" # Pale blue
|
||||||
"constant.builtin" = "#f1fa8c" # Bright yellow
|
"constant.builtin" = "#76c490" # Bright yellow
|
||||||
"constant.numeric" = "#b577b0" # Muted violet
|
"constant.numeric" = "#86c1b9" # Muted violet
|
||||||
"constant.character.escape" = "#c95c56" # Coral red (escape characters)
|
"constant.character.escape" = "#c95c56" # Coral red (escape characters)
|
||||||
|
|
||||||
# === STRINGS ===
|
# === STRINGS ===
|
||||||
string = "#d6a560" # Sandy yellow-orange
|
string = "#A9DC76" # Sandy yellow-orange
|
||||||
|
|
||||||
# === LABELS ===
|
# === LABELS ===
|
||||||
label = "#abcc8a" # Pale green
|
label = "#abcc8a" # Pale green
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# ===========================
|
# ===========================
|
||||||
# Color Palette
|
# Color Palette
|
||||||
# ===========================
|
# ===========================
|
||||||
|
@ -175,7 +190,7 @@ markup_raw = "#808080" # Medium gray
|
||||||
# ===== PRIMARY UI COLORS =====
|
# ===== PRIMARY UI COLORS =====
|
||||||
|
|
||||||
foreground = "#D3D3D3" # Light gray (default text)
|
foreground = "#D3D3D3" # Light gray (default text)
|
||||||
background = "#1f1f21" # Very dark gray (background)
|
background = "#232323" # Very dark gray (background)
|
||||||
|
|
||||||
# ===== UI INTERFACE COLORS =====
|
# ===== UI INTERFACE COLORS =====
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue