type github.com/charmbracelet/x/ansi.Style
71 uses
github.com/charmbracelet/x/ansi (current package)
style.go#L18: type Style []string
style.go#L23: func NewStyle(attrs ...Attr) Style {
style.go#L25: return Style{}
style.go#L27: s := make(Style, 0, len(attrs))
style.go#L44: func (s Style) String() string {
style.go#L53: func (s Style) Styled(str string) string {
style.go#L62: func (s Style) Reset() Style {
style.go#L68: func (s Style) Bold() Style {
style.go#L74: func (s Style) Faint() Style {
style.go#L80: func (s Style) Italic(v bool) Style {
style.go#L89: func (s Style) Underline(v bool) Style {
style.go#L99: func (s Style) UnderlineStyle(u Underline) Style {
style.go#L120: func (s Style) Blink(v bool) Style {
style.go#L132: func (s Style) RapidBlink(v bool) Style {
style.go#L142: func (s Style) Reverse(v bool) Style {
style.go#L152: func (s Style) Conceal(v bool) Style {
style.go#L162: func (s Style) Strikethrough(v bool) Style {
style.go#L171: func (s Style) Normal() Style {
style.go#L178: func (s Style) NoItalic() Style {
style.go#L185: func (s Style) NoUnderline() Style {
style.go#L192: func (s Style) NoBlink() Style {
style.go#L199: func (s Style) NoReverse() Style {
style.go#L206: func (s Style) NoConceal() Style {
style.go#L213: func (s Style) NoStrikethrough() Style {
style.go#L220: func (s Style) DefaultForegroundColor() Style {
style.go#L227: func (s Style) DefaultBackgroundColor() Style {
style.go#L234: func (s Style) DefaultUnderlineColor() Style {
style.go#L241: func (s Style) ForegroundColor(c Color) Style {
style.go#L251: func (s Style) BackgroundColor(c Color) Style {
style.go#L261: func (s Style) UnderlineColor(c Color) Style {
github.com/charmbracelet/colorprofile
writer.go#L88: var style ansi.Style
github.com/charmbracelet/ultraviolet
cell.go#L201: var b ansi.Style
cell.go#L285: var b ansi.Style
charm.land/lipgloss/v2
align.go#L12: func alignTextHorizontal(str string, pos Position, width int, style *ansi.Style) string {
align.go#L61: func alignTextVertical(str string, pos Position, height int, _ *ansi.Style) string {
borders.go#L535: var style ansi.Style
borders.go#L548: var style ansi.Style
style.go#L276: te ansi.Style
style.go#L277: teSpace ansi.Style
style.go#L278: teWhitespace ansi.Style
style.go#L473: var st *ansi.Style
style.go#L481: var st *ansi.Style
style.go#L509: var st *ansi.Style
style.go#L578: style ansi.Style
style.go#L615: func padLeft(str string, n int, style *ansi.Style, r rune) string {
style.go#L620: func padRight(str string, n int, style *ansi.Style, r rune) string {
style.go#L630: func pad(str string, n int, style *ansi.Style, r rune) string {