Skip to content

πŸ“― Soothing pastel theme for Fyne

License

Notifications You must be signed in to change notification settings

catppuccin/fyne

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo
Catppuccin for Fyne

Previews

🌻 Latte
πŸͺ΄ FrappΓ©
🌺 Macchiato
🌿 Mocha

Usage

  1. Run go get github.com/catppuccin/fyne

  2. Add an import of github.com/catppuccin/fyne to your code

  3. 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)
        ...
    }

πŸ’ Thanks to

 

Copyright Β© 2021-present Catppuccin Org