Unnamed repository; edit this file 'description' to name the repository.
Enhance Sidra theme color palette and JS support (#14033)
Md Atiquz Zaman 7 months ago
parent 6479f74 · commit f4557d0
-rw-r--r--runtime/themes/sidra.toml55
1 files changed, 35 insertions, 20 deletions
diff --git a/runtime/themes/sidra.toml b/runtime/themes/sidra.toml
index 44a9474f..81a9222e 100644
--- a/runtime/themes/sidra.toml
+++ b/runtime/themes/sidra.toml
@@ -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 =====