diff options
Diffstat (limited to 'core/lib_syntax.zig')
| -rw-r--r-- | core/lib_syntax.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/lib_syntax.zig b/core/lib_syntax.zig index 759720ec..fa6812ee 100644 --- a/core/lib_syntax.zig +++ b/core/lib_syntax.zig @@ -102,13 +102,13 @@ pub const NodeWalk = syntax.NodeWalk; pub const Span = syntax.Span; pub const walkNodes = syntax.walkNodes; -pub const Theme = colors.Theme; +pub const Theme = colors.LegacyTheme; /// Every theme: pardes's own, then those imported from helix and zed. The /// first is the default. -pub const themes: []const Theme = &colors.themes; +pub const themes: []const Theme = &colors.legacy_themes; /// The theme named `name`, whatever its case. pub fn theme(name: []const u8) ?*const Theme { - return &colors.themes[colors.themeIndex(name) orelse return null]; + return &colors.legacy_themes[colors.themeIndex(name) orelse return null]; } /// A theme's page and its text's ink as a file pane has them: its own, or /// its tag's for the one theme with none (`dark`, a terminal's own). |
