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. The terminal's color profile will be automatically detected, and colors outside the gamut of the current palette will be automatically coerced to their closest available value. The terminal's background color will automatically be detected and the appropriate color will be chosen at runtime. There are also shorthand functions for defining borders, which follow a similar pattern to the margin and padding shorthand functions. Sometimes, such as when developing a component, you want to make sure style definitions respect their intended purpose in the UI. This is where Inline and MaxWidth, and MaxHeight come in.

Features

  • Supports ANSI 16 colors (4-bit)
  • Supports ANSI 256 Colors (8-bit)
  • Supports True Color (16,777,216 colors; 24-bit)
  • You can also specify color options for light and dark backgrounds
  • Lip Gloss supports the usual ANSI text formatting options
  • Lip Gloss also supports rules for block-level formatting

Project Samples

Project Activity

See All Activity >

Categories

Terminals, Design

License

MIT License

Follow Lip Gloss

Lip Gloss Web Site

Other Useful Business Software
Ship AI Apps Faster with Vertex AI Icon
Ship AI Apps Faster with Vertex AI

Go from idea to deployed AI app without managing infrastructure. Vertex AI offers one platform for the entire AI development lifecycle.

Ship AI apps and features faster with Vertex AI—your end-to-end AI platform. Access Gemini 3 and 200+ foundation models, fine-tune for your needs, and deploy with enterprise-grade MLOps. Build chatbots, agents, or custom models. New customers get $300 in free credit.
Try Vertex AI Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Lip Gloss!

Additional Project Details

Operating Systems

Windows

Programming Language

Go

Related Categories

Go Terminals, Go Design Software

Registered

2022-05-13