Documentation
¶
Overview ¶
Colors and chrome shared by every icebath surface
Index ¶
- func Hex(v uint32) color.Color
- func IcebathBorder() lipgloss.Border
- func Mix(a, b color.Color, t float64) color.Color
- func Names() []string
- func Register(fn func() Theme) error
- func Ring(n int, stops ...color.Color) []color.Color
- func Shade(c color.Color, amount float64) color.Color
- type Glyphs
- type Theme
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IcebathBorder ¶
Single line frame with square corners, the icebath border
Types ¶
type Glyphs ¶
type Glyphs struct {
Session string
Trace string
Agent string
Approval string
Metrics string
Findings string
Jobs string
Mission string
Sessions string
Settings string
Config string
Palette string
Terminal string
Card string
Profiles string
Models string
Rules string
Hooks string
MCP string
Tools string
Keys string
Ext string
Flow string
Read string
Write string
Edit string
Glob string
Grep string
Shell string
Output string
Kill string
Fetch string
Spawn string
Record string
Plan string
Server string
Tool string
Steer string
Thinking string
Compact string
Hook string
Note string
Error string
Flag string
Child string
Attach string
Cursor string
Marked string
Live string
Hollow string
Check string
Skip string
Todo string
Done string
Active string
Bullet string
Mask string
Fork string
Sep string
Ellipsis string
Close string
Prompt string
Notch string
Grip string
Back string
Info string
Success string
Warn string
Fail string
Search string
None string
Rule string
Dashed string
Bar string
Fill string
Slide string
Thumb string
SwitchOn string
SwitchOff string
Caret string
Up string
Down string
Track string
Heavy string
Tick string
HeavyTick string
Hit string
Full string
Empty string
// Eight levels of a bar graph from lowest to highest
Ramp []rune
// Frames of the working spinner
Spinner []string
// Characters text boils through while it materializes
Churn []rune
// One cell symbols of bare navigation chords such as pgup, text labels stand in for chords missing here
Chords map[string]string
}
Every mark the interface draws, swapped as one set so the whole surface keeps one look
func ASCIIGlyphs ¶
func ASCIIGlyphs() Glyphs
The same marks in printable ASCII for terminals without box drawing or symbol fonts
func IcebathGlyphs ¶
func IcebathGlyphs() Glyphs
Frost, signal and hazard marks in single cells, the icebath set
type Theme ¶
type Theme struct {
Name string
Bg color.Color
Surface color.Color
Text color.Color
TextDim color.Color
Steel color.Color
SteelBright color.Color
Ghost color.Color
Accent color.Color
Ice color.Color
Pulse color.Color
Alive color.Color
Alarm color.Color
Ring []color.Color
Border lipgloss.Border
Glyphs Glyphs
Plain bool
// Sixteen ANSI colors programs in a terminal paint with, a nil entry leaving the host terminal color
Terminal [16]color.Color
}
Palette and border set that a deck paints with
func Contrast ¶
func Contrast() Theme
Black and white palette with saturated signal colors and a thick border for low vision