{"repo":"charmbracelet/lipgloss","free":true,"listed":false,"github":"https://github.com/charmbracelet/lipgloss","clone":"git clone https://github.com/charmbracelet/lipgloss.git","description":"Style definitions for nice terminal layouts 👄","language":"Go","stars":11721,"topics":["tui","go","golang","cli","layout","style","hacktoberfest"],"license":"MIT","category":"cli-tools","readme_excerpt":"Lip Gloss Style definitions for nice terminal layouts. Built with TUIs in mind. Lip Gloss takes an expressive, declarative approach to terminal rendering. Users familiar with CSS will feel at home with Lip Gloss. Installation [!TIP] Upgrading from v1? Check out the upgrade guide, or point your LLM at it and let it go to town. Colors Lip Gloss supports the following color profiles: ANSI 16 colors (4-bit) ANSI 256 Colors (8-bit) True Color (16,777,216 colors; 24-bit) ...as well as a 1-bit ASCII profile, which is black and white only. There are also named constants for the 16 standard ANSI colors: Automatically Downsampling Colors Some users don't have Truecolor terminals. Other times, output might not support color at all (for example, in logs). Lip Gloss was designed to handle this gracefully by automatically downsampling colors to the best available profile. If you're using Lip Gloss with Bubble Tea, there’s nothing to do. If you're using Lip Gloss standalone, just use lipgloss.Println or lipgloss.Sprint (and their variants). For more, see advanced color usage. Color Utilities Lip Gloss ships with a handful of handy tools for working with colors: Advanced Color Tooling Lip Gloss also supports color blending, automatically choosing light or dark variants of colors at runtime, and a lot more. For details, see Advanced Color Usage and [the docs][docs]. Inline Formatting Lip Gloss supports the usual ANSI text formatting options: Underline Styles Beyond simple on/off, underlines s","default_branch":null,"files":null,"tree":[],"storefront":"/r/charmbracelet","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/charmbracelet/lipgloss/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}