
Catppuccin for Fyne
-
Run
go get github.com/catppuccin/fyne -
Add an import of
github.com/catppuccin/fyneto your code -
Call the app's
Settings.().SetTheme()method with an instantiated theme struct:func main() { a := app.New() ctp := catppuccin.New() // this creates a Theme struct with blue as the accent color. //you can instead call NewWithAccent() for a different accent color ctp.SetFlavor(catppuccin.Frappe) // if you want to follow the system theme don't set flavor manually. // by default uses Latte for light and Mocha for dark a.Settings().SetTheme(ctp) ... }
Copyright © 2021-present Catppuccin Org




