diff options
| author | Priyansh <[email protected]> | 2025-08-27 15:36:13 +0530 |
|---|---|---|
| committer | Priyansh <[email protected]> | 2025-08-27 15:36:13 +0530 |
| commit | c0599c3ba14ebebc777025418b39038238782740 (patch) | |
| tree | 2abcb46dced6438cc127ae43e93b4b9c1a92265e | |
| parent | 08084bf28832364bb4f3f4f1bfcb1e1ef0bbcbe8 (diff) | |
| download | nectar-c0599c3ba14ebebc777025418b39038238782740.tar.xz nectar-c0599c3ba14ebebc777025418b39038238782740.zip | |
Add styles package with Catppuccin theme
| -rw-r--r-- | styles/styles.go | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/styles/styles.go b/styles/styles.go new file mode 100644 index 0000000..9c37201 --- /dev/null +++ b/styles/styles.go @@ -0,0 +1,20 @@ +package styles + +import ( + catppuccin "github.com/catppuccin/go" + "github.com/charmbracelet/lipgloss" +) + +var ( + BaseStyle = lipgloss.NewStyle() + PaddedHorizontal = BaseStyle.Padding(0, 1) + StatusBar = BaseStyle. + Foreground(lipgloss.AdaptiveColor{ + Light: catppuccin.Latte.Crust().Hex, + Dark: catppuccin.Mocha.Crust().Hex, + }). + Background(lipgloss.AdaptiveColor{ + Light: catppuccin.Latte.Mauve().Hex, + Dark: catppuccin.Mocha.Mauve().Hex, + }) +) |
