ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
color_scheme_t Struct Reference

Color scheme definition. More...

#include <include/ascii-chat/options/colorscheme.h>

Data Fields

char name [64]
char description [256]
rgb_pixel_t log_colors_dark [8]
bool has_light_variant
rgb_pixel_t log_colors_light [8]
bool is_builtin
char source_file [4096]

Detailed Description

Color scheme definition.

Defines a color scheme with RGB colors for logging levels. Supports both dark and light mode variants.

Definition at line 76 of file colorscheme.h.

Field Documentation

◆ description

char color_scheme_t::description[256]

Scheme description

Definition at line 78 of file colorscheme.h.

Referenced by colorscheme_export_scheme(), and colorscheme_load_from_file().

◆ has_light_variant

bool color_scheme_t::has_light_variant

Whether light variant is defined

Definition at line 84 of file colorscheme.h.

Referenced by colorscheme_compile_scheme(), colorscheme_current_palette(), colorscheme_export_scheme(), and colorscheme_load_from_file().

◆ is_builtin

bool color_scheme_t::is_builtin

Whether scheme is built-in

Definition at line 88 of file colorscheme.h.

Referenced by colorscheme_load_from_file().

◆ log_colors_dark

rgb_pixel_t color_scheme_t::log_colors_dark[8]

DEV, DEBUG, WARN, INFO, ERROR, FATAL, GREY, RESET

Definition at line 81 of file colorscheme.h.

Referenced by colorscheme_compile_scheme(), colorscheme_current_palette(), colorscheme_export_scheme(), and colorscheme_load_from_file().

◆ log_colors_light

rgb_pixel_t color_scheme_t::log_colors_light[8]

◆ name

char color_scheme_t::name[64]

Scheme name (e.g., "pastel", "nord")

Definition at line 77 of file colorscheme.h.

Referenced by colorscheme_export_scheme(), colorscheme_load_from_file(), and options_colorscheme_init_early().

◆ source_file

char color_scheme_t::source_file[4096]

Source file path if loaded from file

Definition at line 89 of file colorscheme.h.

Referenced by colorscheme_load_from_file().


The documentation for this struct was generated from the following file: