style

package
v0.0.0-...-54b116d Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var H1 = Style{
	Color: util.Black,
}
View Source
var H2 = Style{
	Color: util.Black,
}
View Source
var H3 = Style{
	Color: util.Black,
}
View Source
var H4 = Style{
	Color: util.Black,
}
View Source
var H5 = Style{
	Color: util.Black,
}
View Source
var H6 = Style{
	Color: util.Black,
}

Functions

This section is empty.

Types

type Style

type Style struct {
	// Color is the text color.
	Color color.RGBA
	Font  text.Font
	// Hint contains the text displayed when the editor is empty.
	Hint string
	// HintColor is the color of hint text.
	HintColor  color.RGBA
	CaretColor color.RGBA

	Shaper *text.Shaper
}

Jump to

Keyboard shortcuts

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