summaryrefslogtreecommitdiff
path: root/internal/client/ui/core
diff options
context:
space:
mode:
Diffstat (limited to 'internal/client/ui/core')
-rw-r--r--internal/client/ui/core/networklist/networklist.go41
1 files changed, 41 insertions, 0 deletions
diff --git a/internal/client/ui/core/networklist/networklist.go b/internal/client/ui/core/networklist/networklist.go
index 0f7ca7e..6548a1d 100644
--- a/internal/client/ui/core/networklist/networklist.go
+++ b/internal/client/ui/core/networklist/networklist.go
@@ -30,7 +30,48 @@ var (
)
)
+/*
+🭊🭂██🭍🬿
+██████
+🭥🭓██🭞🭚
+
+🭠🭘 🭣🭕
+
+🭏🬽 🭈🭄
+*/
+
func IconStyle(icon string, fg, bg lipgloss.Color) lipgloss.Style {
+ if true {
+ bgStyle := lipgloss.NewStyle().Background(bg).Foreground(colors.Background)
+ top := bgStyle.Render("🭠🭘 🭣🭕")
+ middle := lipgloss.NewStyle().Width(6).Align(lipgloss.Center).
+ Background(bg).Foreground(fg).Render(icon)
+ bgStyle2 := lipgloss.NewStyle().Foreground(bg)
+ bottom := bgStyle2.Render("🭥🭓██🭞🭚")
+ combined := lipgloss.JoinVertical(lipgloss.Left, top, middle, bottom)
+ return lipgloss.NewStyle().SetString(combined)
+ }
+ if true {
+ bgStyle := lipgloss.NewStyle().Background(bg).Foreground(colors.Background)
+ top := bgStyle.Render("🭠🭘 🭣🭕")
+ middle := lipgloss.NewStyle().Width(6).Align(lipgloss.Center).
+ Background(bg).Foreground(fg).Render(icon)
+ bottom := bgStyle.Render("🭏🬽 🭈🭄")
+ combined := lipgloss.JoinVertical(lipgloss.Left, top, middle, bottom)
+ return lipgloss.NewStyle().SetString(combined)
+ }
+ if true {
+ return partialIconStyle.Foreground(fg).SetString("\n" + icon)
+ }
+ if true {
+ bgStyle := lipgloss.NewStyle().Foreground(bg)
+ top := bgStyle.Render("🭊🭂██🭍🬿")
+ middle := lipgloss.NewStyle().Width(6).Align(lipgloss.Center).
+ Background(bg).Foreground(fg).Render(icon)
+ bottom := bgStyle.Render("🭥🭓██🭞🭚")
+ combined := lipgloss.JoinVertical(lipgloss.Left, top, middle, bottom)
+ return lipgloss.NewStyle().SetString(combined)
+ }
return partialIconStyle.Foreground(fg).Background(bg).SetString("\n" + icon)
}