diff options
| author | Bobby <[email protected]> | 2024-09-08 18:34:58 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2024-09-08 18:34:58 -0400 |
| commit | e25611bde49fe2db28a006aca3ea49eece046c5f (patch) | |
| tree | dae68f8784010ff9002fe0e3c5d228879c15a25f /config | |
| parent | 61bc5b38044bc52442415f83390ba72ed3b27491 (diff) | |
| download | yato-main.tar.xz yato-main.zip | |
Diffstat (limited to 'config')
| -rw-r--r-- | config/colors.go | 15 | ||||
| -rw-r--r-- | config/constants.go | 4 |
2 files changed, 19 insertions, 0 deletions
diff --git a/config/colors.go b/config/colors.go new file mode 100644 index 0000000..8824511 --- /dev/null +++ b/config/colors.go @@ -0,0 +1,15 @@ +package config + +import "github.com/charmbracelet/lipgloss" + +type ColorConfig struct { + Primary lipgloss.AdaptiveColor + Text lipgloss.AdaptiveColor +} + +var ( + Colors = ColorConfig{ + Primary: lipgloss.AdaptiveColor{Light: "#2F51A2", Dark: "#2F51A2"}, + Text: lipgloss.AdaptiveColor{Light: "#F5F5F5", Dark: "#F5F5F5"}, + } +) diff --git a/config/constants.go b/config/constants.go index 47c3ab1..d04a8aa 100644 --- a/config/constants.go +++ b/config/constants.go @@ -8,11 +8,15 @@ import ( var ( AppName = "yato" + PrettyAppName = "Yato" Version = "0.1.0" MALOAuthBaseURL = "https://myanimelist.net/v1/oauth2/authorize" MALClientID string MALClientSecret string MALRedirectURI = "http://localhost:42069/authenticate" + MALAPIBaseURL = "https://api.myanimelist.net/v2" + JikanAPIBaseURL = "https://api.jikan.moe/v4" + ConfigDir, _ = os.UserConfigDir() ) // These variables will be set by the linker during build |
