style

package
v0.60.2 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package style provides shared CLI styling that is safe for non-interactive processes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdaptiveColor

type AdaptiveColor struct {
	Light color.Color
	Dark  color.Color
}

AdaptiveColor selects a color for the terminal background when the color is rendered.

func (AdaptiveColor) RGBA

func (c AdaptiveColor) RGBA() (uint32, uint32, uint32, uint32)

RGBA returns the color selected for the current terminal background.

Jump to

Keyboard shortcuts

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