Documentation
¶
Overview ¶
Package glossy contains a glossy table
Index ¶
Constants ¶
View Source
const KeyWidth = 15
KeyWidth is the width of the key column in the key value layout
Variables ¶
View Source
var ( // MainTableStyle is the style to use for tables MainTableStyle = lipgloss.NewStyle(). BorderStyle(lipgloss.NormalBorder()). BorderForeground(cli.AccentColor) // TableStyles is the style to use for tables TableStyles = table.Styles{ Selected: lipgloss.NewStyle().Bold(true).Foreground(cli.SecondaryColor), Header: lipgloss.NewStyle().Bold(true).Padding(0, 1).Foreground(cli.PrimaryColor), Cell: lipgloss.NewStyle().Padding(0, 1), } // TableHiddenSelectStyles is the style to use for tables. It hides the selection // indicator. TableHiddenSelectStyles = table.Styles{ Header: lipgloss.NewStyle().Bold(true).Padding(0, 1).Foreground(cli.PrimaryColor), Cell: lipgloss.NewStyle().Padding(0, 1), Selected: lipgloss.NewStyle(), } )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.