use thag_styling::{
auto_help, display_terminal_attributes, display_theme_details, display_theme_roles,
help_system::check_help_and_exit, sprtln, ColorInitStrategy, Role, Style, TermAttributes,
};
fn main() {
let help = auto_help!();
check_help_and_exit(&help);
let term_attrs = TermAttributes::get_or_init_with_strategy(&ColorInitStrategy::Match);
let theme = &term_attrs.theme;
print!("\t");
sprtln!(
Style::from(Role::NORM).underline(),
"Current theme on this terminal\x1b[24m: {}\n",
Style::from(Role::HD1).underline().paint(&theme.name)
);
display_theme_roles(theme);
display_theme_details(theme);
display_terminal_attributes(theme);
}