graph

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GH_GRAPH_CELL                 = "■"
	GH_GRAPH_CELL_NONE            = lipgloss.NewStyle().PaddingRight(1).Foreground(lipgloss.AdaptiveColor{Light: "#EBEDF0", Dark: "#2D333B"}).Render(GH_GRAPH_CELL)
	GH_GRAPH_CELL_FIRST_QUARTILE  = lipgloss.NewStyle().PaddingRight(1).Foreground(lipgloss.AdaptiveColor{Light: "#9BE9A8", Dark: "#0E4429"}).Render(GH_GRAPH_CELL)
	GH_GRAPH_CELL_SECOND_QUARTILE = lipgloss.NewStyle().PaddingRight(1).Foreground(lipgloss.AdaptiveColor{Light: "#40C463", Dark: "#006D32"}).Render(GH_GRAPH_CELL)
	GH_GRAPH_CELL_THIRD_QUARTILE  = lipgloss.NewStyle().PaddingRight(1).Foreground(lipgloss.AdaptiveColor{Light: "#30A14E", Dark: "#26A641"}).Render(GH_GRAPH_CELL)
	GH_GRAPH_CELL_FOURTH_QUARTILE = lipgloss.NewStyle().PaddingRight(1).Foreground(lipgloss.AdaptiveColor{Light: "#216E39", Dark: "#39D353"}).Render(GH_GRAPH_CELL)
)

Functions

func BuildGraphDisplay

func BuildGraphDisplay(weeklyContributions []models.WeeklyContribution) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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