1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
//! Terminal text styling with comprehensive formatting capabilities.
//!
//! This module provides the [`Style`] struct and all related functionality for creating
//! beautiful terminal user interfaces. The style system supports a wide range of visual
//! properties including colors, text attributes, borders, spacing, and layout.
//!
//! # Core Concepts
//!
//! - **Builder Pattern**: All style methods return `Self` for easy chaining
//! - **Property Tracking**: Efficiently tracks which properties have been set
//! - **Rendering**: Converts styled content to ANSI escape sequences
//! - **Inheritance**: Styles can inherit from other styles with proper precedence
//!
//! # Quick Start
//!
//! ```rust,no_run
//! use lipgloss::Style;
//!
//! // Create a basic styled text
//! let hello = Style::new()
//! .bold(true)
//! .foreground("bright-blue")
//! .render("Hello, World!");
//!
//! println!("{}", hello);
//! ```
//!
//! # Features
//!
//! ## Text Attributes
//! - Bold, italic, underline, strikethrough
//! - Blink, faint, reverse video
//!
//! ## Colors
//! - Full color profile support (truecolor, 256-color, 16-color)
//! - Adaptive colors for light/dark backgrounds
//! - Named colors and hex values
//!
//! ## Layout & Spacing
//! - Width and height constraints
//! - Padding and margins
//! - Text alignment (horizontal and vertical)
//!
//! ## Borders
//! - Multiple border styles (normal, rounded, thick, double, etc.)
//! - Per-side border control
//! - Border colors (foreground and background)
//!
//! ## Advanced Features
//! - Text transformations
//! - Custom renderers
//!
//! Style module containing all style-related functionality
// Property definitions
pub
// Core Style struct and basic implementation
pub use Style;
// Specialized functionality modules