ascii-chat 0.11.33
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 62 of file colorscheme.h.

Field Documentation

◆ description

char color_scheme_t::description[256]

Scheme description

Definition at line 64 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 70 of file colorscheme.h.

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

◆ is_builtin

bool color_scheme_t::is_builtin

Whether scheme is built-in

Definition at line 74 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 67 of file colorscheme.h.

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

◆ log_colors_light

rgb_pixel_t color_scheme_t::log_colors_light[8]

Light variant colors

Definition at line 71 of file colorscheme.h.

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

◆ name

char color_scheme_t::name[64]

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

Definition at line 63 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 75 of file colorscheme.h.

Referenced by colorscheme_load_from_file().


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