render

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Vesper = Theme{
	Bg:      "#171717",
	Surface: "#1D1D1D",
	Border:  "#2D2D2D",
	Fg:      "#D4D4D4",
	Accent:  "#FFC799",
	Warning: "#FFCB8B",
	Error:   "#FF8080",
	Muted:   "#6A6A6A",

	Keyword:  "#FFC799",
	Type:     "#FFCB8B",
	String:   "#99FFE4",
	Function: "#FFC799",
	Number:   "#FFC799",
	Comment:  "#6A6A6A",
	Operator: "#D4D4D4",
}

Functions

This section is empty.

Types

type StreamRenderer

type StreamRenderer struct {
	// contains filtered or unexported fields
}

func NewStreamRenderer

func NewStreamRenderer(width int) *StreamRenderer

func (*StreamRenderer) Render

func (r *StreamRenderer) Render(text string) string

type Theme

type Theme struct {
	Bg      string
	Surface string
	Border  string
	Fg      string
	Accent  string
	Warning string
	Error   string
	Muted   string

	Keyword  string
	Type     string
	String   string
	Function string
	Number   string
	Comment  string
	Operator string
}

Jump to

Keyboard shortcuts

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