use crate::SettingsUI;
use std::collections::HashSet;
mod cursor_section;
mod fonts_section;
pub fn show(
ui: &mut egui::Ui,
settings: &mut SettingsUI,
changes_this_frame: &mut bool,
collapsed: &mut HashSet<String>,
) {
fonts_section::show_theme_section(ui, settings, changes_this_frame, collapsed);
fonts_section::show_auto_dark_mode_section(ui, settings, changes_this_frame, collapsed);
fonts_section::show_fonts_section(ui, settings, changes_this_frame, collapsed);
fonts_section::show_font_variants_section(ui, settings, changes_this_frame, collapsed);
fonts_section::show_text_shaping_section(ui, settings, changes_this_frame, collapsed);
fonts_section::show_font_rendering_section(ui, settings, changes_this_frame, collapsed);
cursor_section::show_cursor_section(ui, settings, changes_this_frame, collapsed);
cursor_section::show_cursor_locks_section(ui, settings, changes_this_frame, collapsed);
cursor_section::show_cursor_effects_section(ui, settings, changes_this_frame, collapsed);
crate::badge_tab::show(ui, settings, changes_this_frame, collapsed);
crate::progress_bar_tab::show(ui, settings, changes_this_frame, collapsed);
}
pub fn keywords() -> &'static [&'static str] {
&[
"theme",
"color",
"scheme",
"dark",
"light",
"auto dark mode",
"auto",
"dark mode",
"light mode",
"system theme",
"system appearance",
"automatic",
"font",
"family",
"size",
"bold",
"italic",
"line spacing",
"char spacing",
"text shaping",
"shaping",
"ligatures",
"kerning",
"anti-alias",
"antialias",
"hinting",
"thin strokes",
"smoothing",
"minimum contrast",
"contrast",
"cursor",
"style",
"block",
"beam",
"underline",
"blink",
"interval",
"cursor color",
"text color",
"unfocused cursor",
"hollow",
"lock",
"visibility",
"cursor guide",
"guide",
"cursor shadow",
"shadow",
"cursor boost",
"boost",
"glow",
"bold-italic",
"bold italic",
"font variant",
"variant",
"badge",
"badge enabled",
"badge format",
"badge color",
"badge opacity",
"badge font",
"margin",
"top margin",
"right margin",
"max width",
"max height",
"variable",
"session",
"hostname",
"username",
"path",
"overlay",
"label",
"progress",
"progress bar",
"bar",
"percent",
"osc 934",
"osc 9;4",
"indeterminate",
"normal",
"warning",
"error",
"bar height",
"bar style",
"bar position",
"bar color",
"opacity",
"fonts",
"font variants",
"font fallback",
"font rendering",
"harfbuzz",
"complex scripts",
"opentype",
"readability",
"brightness",
"hidpi",
"retina",
"color scheme",
"preset",
"colors",
"cursor locks",
"cursor effects",
"cursor text color",
"prevent applications",
"horizontal line",
"drop shadow",
"shadow blur",
"cursor row",
"badge variables",
"variables",
"placement",
"exit code",
]
}