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
Md Atiquz Zaman 2025-07-22 10:33:22 +05:30 committed by GitHub
parent dee30abf24
commit 7f16984603
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 35 additions and 20 deletions

View File

@ -96,22 +96,37 @@ warning = "cl_warning"
# === ATTRIBUTES & KEYWORDS ===
attribute = "#a7bf67" # Olive green
keyword = "#A4A2B4" # Muted lavender gray
"keyword.directive" = "#D3D3D3" # Light gray (used to be "light-gray")
namespace = "#7095bf" # Steel blue
attribute = "#a7bf67" # Olive green
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 ===
punctuation = "#FFFFFF" # White
"punctuation.delimiter" = "#FFFFFF" # White (delimiter punctuation)
operator = "#987654" # Dusty brown (used to be "muddy")
"punctuation" = "#FFFFFF" # White
"punctuation.delimiter" = "#F3F2CC" # White (delimiter punctuation)
"punctuation.bracket" = "#FFFFFF" # Yellow
"punctuation.special" = "#ffd700" # Yello
operator = "#F3F2CC" # Dusty brown (used to be "muddy")
special = "#c90076" # Pink Color
# === VARIABLES ===
variable = "#7ec67f" # Soft green
"variable.other.member" = "#7ec67f" # Soft green (class or object members)
"variable.parameter" = "#a8ffb4" # Pale mint green
"variable.builtin" = "#a8ffb4" # Pale mint green (special language vars)
"variable" = "#F3F2CC" # Soft green
"variable.other" = "#cfba8b" # Pale mint green (special language svars)
"variable.other.member" = "#AB9DF2" # Pale mint green (special language svars)
"variable.builtin" = "#FC9867" # Blue
"variable.parameter" = "#F3F2CC" # Pale mint green
# === TYPES ===
type = "#efbe4c" # Golden yellow
@ -119,30 +134,30 @@ type = "#efbe4c" # Golden yellow
constructor = "#c19ef7" # Light lilac
# === FUNCTIONS ===
function = "#987654" # Dusty brown (used to be "muddy")
"function.macro" = "#987654" # Dusty brown (macro functions)
"function" = "#FAD566" # Green
"function.macro" = "#FAD566" # Green
"function.method" = "#FAD566" # Green
"function.builtin" = "#db985e" # Orange tan
"function.special" = "#db985e" # Orange tan
# === TAGS ===
tag = "#d37a78" # Soft salmon pink
# === COMMENTS ===
comment = "#D3D3D3" # Light gray
comment = "#646f69" # Light gray
# === CONSTANTS ===
constant = "#A5C4D4" # Pale blue
"constant.builtin" = "#f1fa8c" # Bright yellow
"constant.numeric" = "#b577b0" # Muted violet
"constant.builtin" = "#76c490" # Bright yellow
"constant.numeric" = "#86c1b9" # Muted violet
"constant.character.escape" = "#c95c56" # Coral red (escape characters)
# === STRINGS ===
string = "#d6a560" # Sandy yellow-orange
string = "#A9DC76" # Sandy yellow-orange
# === LABELS ===
label = "#abcc8a" # Pale green
# ===========================
# Color Palette
# ===========================
@ -175,7 +190,7 @@ markup_raw = "#808080" # Medium gray
# ===== PRIMARY UI COLORS =====
foreground = "#D3D3D3" # Light gray (default text)
background = "#1f1f21" # Very dark gray (background)
background = "#232323" # Very dark gray (background)
# ===== UI INTERFACE COLORS =====