package
Version:
v0.6.7
Opens a new window with list of versions in this module.
Published: Jan 2, 2026
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package color provides CLI color constants matching the yapi theme.
Uses ANSI true color (24-bit) for exact RGB color matching.
Accent formats text with the theme accent color (#ff9e64 orange)
AccentBg formats text with white on accent background
Cyan formats text with theme cyan/info (#7aa2f7)
Dim formats text with faint/dim style
Green formats text with theme green (#69DB7C)
Red formats text with theme red (#FF6B6B)
func SetNoColor(disabled bool)
SetNoColor globally disables color output.
Yellow formats text with theme yellow (#FFE066)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.