func ImportThemes(want string, themes []ThemeHex) (Theme, error) {
	// First check if want is in the provided config (override)
	for _, t := range themes {
		if t.Name == want {
			return t.Theme(), nil
		}
	}

	return Theme{}, errors.New("theme: no theme found")
}
// ImportThemes returns a converted Theme from a slice of ThemeHex
// entities if its name matches the want argument
ImportThemes returns a converted Theme from a slice of ThemeHex
entities if its name matches the want argument
// ImportThemes returns a converted Theme from a slice of ThemeHex // entities if its name matches the want argument
func ImportThemes(want string, themes []ThemeHex) (Theme, error) {
	for _, t := range themes {
		if t.Name == want {
			return t.Theme(), nil
		}
	}
	return Theme{}, errors.New("theme: no theme found")
}
func ImportThemes ( want string , themes [ ] ThemeHex ) ( Theme , error ) { for _ , t := range themes { if t . Name == want { return t . Theme ( ) , nil } } return Theme { } , errors . New ( " " ) }
ImportThemes returns a converted Theme from a slice of ThemeHex
entities if its name matches the want argument
ImportThemes returns a converted Theme from a slice of ThemeHex entities if its name matches the want argument
// First check if want is in the provided config (override)