theme

package
v0.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package theme provides semantic color tokens for the scry TUI. All colors use standard ANSI codes so the terminal theme decides actual RGB.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Diff semantics.
	Added      = lipgloss.Color("2") // green
	Deleted    = lipgloss.Color("1") // red
	HunkHeader = lipgloss.Color("6") // cyan

	// Status semantics.
	Clean = Added               // green — same hue as diff additions
	Dirty = lipgloss.Color("3") // yellow
	Error = lipgloss.Color("1") // red

	// Chrome.
	Accent     = lipgloss.Color("4")   // blue — active pane border
	Muted      = lipgloss.Color("8")   // dim / bright-black
	StatusBg   = lipgloss.Color("235") // dark gray
	StatusFg   = lipgloss.Color("252") // light gray
	DividerFg  = lipgloss.Color("240") // medium gray
	BrightText = lipgloss.Color("15")  // white
)

Semantic color tokens mapped to UI roles.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL