ui

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DarkBlue is a colour used in the UI.
	DarkBlue = "#083759"
	// LightBlue is a colour used in the UI.
	LightBlue = "#e3f3ff"
	// Green is a colour used in the UI.
	Green = "#008033"
)
View Source
const AppDateTimeFormat string = "02-01-2006 15:04"

AppDateTimeFormat The format for date/times in the application.

Variables

This section is empty.

Functions

func RenderHeading

func RenderHeading(heading string) string

RenderHeading will render a heading in the output.

func RenderMoney

func RenderMoney(amount float64, currencyCode string) string

RenderMoney will return a symbolised string of money.

func RenderTitle

func RenderTitle(title, status string) lipgloss.Style

RenderTitle will render a nice coloured UI for a title based on status

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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