diff options
| author | Priyansh <[email protected]> | 2025-08-28 13:09:22 +0530 |
|---|---|---|
| committer | Priyansh <[email protected]> | 2025-08-28 13:09:22 +0530 |
| commit | 9e82811a2a963be962fc3ffc426c137e01d56e2d (patch) | |
| tree | 9cde1691f6e8dafb7204b7247dea12af0aa22bf6 /components/shared/colors.go | |
| parent | 18b897a36805d1acb6e2352ca536c1eee9249fe3 (diff) | |
| download | nectar-main.tar.xz nectar-main.zip | |
Restructure codebase with proper organization, fix file picker navigation, and add utils packageHEADmain
Diffstat (limited to 'components/shared/colors.go')
| -rw-r--r-- | components/shared/colors.go | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/components/shared/colors.go b/components/shared/colors.go new file mode 100644 index 0000000..2dbb113 --- /dev/null +++ b/components/shared/colors.go @@ -0,0 +1,56 @@ +package shared + +import ( + catppuccin "github.com/catppuccin/go" + "github.com/charmbracelet/lipgloss" +) + +type ColorOption struct { + Name string + Color lipgloss.AdaptiveColor +} + +var ConnectionColors = []ColorOption{ + { + Name: "Red", + Color: lipgloss.AdaptiveColor{ + Light: catppuccin.Latte.Red().Hex, + Dark: catppuccin.Mocha.Red().Hex, + }, + }, + { + Name: "Green", + Color: lipgloss.AdaptiveColor{ + Light: catppuccin.Latte.Green().Hex, + Dark: catppuccin.Mocha.Green().Hex, + }, + }, + { + Name: "Blue", + Color: lipgloss.AdaptiveColor{ + Light: catppuccin.Latte.Blue().Hex, + Dark: catppuccin.Mocha.Blue().Hex, + }, + }, + { + Name: "Yellow", + Color: lipgloss.AdaptiveColor{ + Light: catppuccin.Latte.Yellow().Hex, + Dark: catppuccin.Mocha.Yellow().Hex, + }, + }, + { + Name: "Mauve", + Color: lipgloss.AdaptiveColor{ + Light: catppuccin.Latte.Mauve().Hex, + Dark: catppuccin.Mocha.Mauve().Hex, + }, + }, + { + Name: "Teal", + Color: lipgloss.AdaptiveColor{ + Light: catppuccin.Latte.Teal().Hex, + Dark: catppuccin.Mocha.Teal().Hex, + }, + }, +} |
