styles

package
v0.0.0-...-3ddbc71 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package styles keeps default styles.

Index

Constants

This section is empty.

Variables

View Source
var (
	MainDocStyle = lipgloss.NewStyle()

	MainTextStyle = MainDocStyle.
					Foreground(DefaultTheme.MainText).
					Bold(true)
)

MainStyle is the general application text style. nolint:gochecknoglobals // global on purpose

View Source
var DefaultTheme = Theme{
	MainText:     lipgloss.AdaptiveColor{Light: "#242347", Dark: "#E2E1ED"},
	InactiveText: lipgloss.AdaptiveColor{Light: "#DDDADA", Dark: "#5C5C5C"},
}

DefaultTheme is an application default theme. nolint:gochecknoglobals // global on purpose

Functions

This section is empty.

Types

type Theme

type Theme struct {
	MainText     lipgloss.AdaptiveColor
	InactiveText lipgloss.AdaptiveColor
}

Theme is a struct to keep all the application styles.

Jump to

Keyboard shortcuts

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