summaryrefslogtreecommitdiff
path: root/core/lib_syntax.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/lib_syntax.zig')
-rw-r--r--core/lib_syntax.zig5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/lib_syntax.zig b/core/lib_syntax.zig
index 2c771b72..448ac7f3 100644
--- a/core/lib_syntax.zig
+++ b/core/lib_syntax.zig
@@ -103,9 +103,10 @@ pub const Span = syntax.Span;
pub const walkNodes = syntax.walkNodes;
pub const Theme = colors.Theme;
-/// Every theme: pardes's own, then those imported from helix and zed. The
-/// first is the default.
+/// Every theme: pardes's own, then those imported from helix and zed.
pub const themes: []const Theme = &colors.themes;
+/// The one a session starts in (`orchard`), its place in `themes`.
+pub const default_theme = colors.default_theme;
/// The theme named `name`, whatever its case.
pub fn theme(name: []const u8) ?*const Theme {
return &colors.themes[colors.themeIndex(name) orelse return null];