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

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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