ui

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package ui handles ui stuff

Index

Constants

This section is empty.

Variables

View Source
var AppListStyle = lipgloss.NewStyle().
	MarginTop(1).
	MarginRight(2).
	MarginLeft(0)

AppListStyle sets the style of our application list

View Source
var FooterStyle = lipgloss.NewStyle().
	BorderStyle(lipgloss.ThickBorder()).
	BorderTop(true).
	BorderRight(false).BorderLeft(false).BorderBottom(false).
	BorderForeground(lipgloss.Color("198")).
	Bold(true).
	Foreground(lipgloss.Color("99"))

FooterStyle sets the style of our footer

View Source
var FooterStyleDark = lipgloss.NewStyle().
	BorderStyle(lipgloss.ThickBorder()).
	BorderTop(true).
	BorderRight(false).BorderLeft(false).BorderBottom(false).
	BorderForeground(lipgloss.Color("198")).
	Bold(true).
	Foreground(lipgloss.Color("236"))

FooterStyleDark sets the style of our footer

View Source
var HeaderStyle = lipgloss.NewStyle().
	BorderStyle(lipgloss.ThickBorder()).
	BorderBottom(true).
	BorderTop(false).BorderRight(false).BorderLeft(false).
	BorderForeground(lipgloss.Color("198")).
	Bold(true).
	Foreground(lipgloss.Color("99")).
	MarginTop(1)

HeaderStyle sets the style header

View Source
var HeaderStyleDark = lipgloss.NewStyle().
	BorderStyle(lipgloss.ThickBorder()).
	BorderBottom(true).
	BorderTop(false).BorderRight(false).BorderLeft(false).
	BorderForeground(lipgloss.Color("198")).
	Bold(true).
	Foreground(lipgloss.Color("236")).
	MarginTop(1)

HeaderStyleDark sets the dark style header

View Source
var ViewportStyle = lipgloss.NewStyle().
	PaddingLeft(3).
	BorderStyle(lipgloss.NormalBorder()).
	BorderLeft(true).
	BorderForeground(lipgloss.Color("236")).
	Foreground(lipgloss.Color("99"))

ViewportStyle sets the style of the viewport

View Source
var ViewportStyleDark = lipgloss.NewStyle().
	PaddingLeft(3).
	BorderStyle(lipgloss.NormalBorder()).
	BorderLeft(true).
	BorderForeground(lipgloss.Color("236")).
	Foreground(lipgloss.Color("236"))

ViewportStyleDark sets the style of the viewport

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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