/*
* Copyright (C) 2024 Jonni Liljamo <jonni@liljamo.com>
*
* This file is licensed under GPL-3.0-only, see NOTICE and LICENSE for
* more information.
*/
// Package styles contains lipgloss styles for rendering.
package styles
import (
"github.com/charmbracelet/bubbles/list"
"github.com/charmbracelet/lipgloss"
)
// ANSI 256 Colors
// pastel palette from here:
// https://www.hackitu.de/termcolor256/
// nolint
var (
TopLevel = lipgloss.NewStyle().
BorderStyle(lipgloss.RoundedBorder()).
BorderForeground(lipgloss.Color("059")).
Width(78) // border takes 1 column each side
ListItem = lipgloss.NewStyle().PaddingLeft(4).Foreground(lipgloss.Color("102"))
ListItemSelected = lipgloss.NewStyle().PaddingLeft(2).Foreground(lipgloss.Color("170"))
ListPaginaton = list.DefaultStyles().PaginationStyle.PaddingLeft(4)
ListTitle = lipgloss.NewStyle().MarginLeft(2)
ActionExecString = lipgloss.NewStyle().
AlignHorizontal(lipgloss.Center).
Foreground(lipgloss.Color("145"))
)