iconify

package
v0.0.20231025 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateIconify

func GenerateIconify(ctx context.Context, gentmpDir, output string) error

Types

type Author

type Author struct {
	Name string `json:"name,omitempty"`
	URL  string `json:"url,omitempty"`
}

type Icon

type Icon struct {
	SvgBody string      `json:"body,omitempty"`
	Width   interface{} `json:"width,omitempty"`
	Height  interface{} `json:"height,omitempty"`
}

type IconPackage

type IconPackage struct {
	Name                  toolbelt.CasedString
	Icons                 []NamedIcon
	Width, Height         int
	ViewWidth, ViewHeight int
	Version               string
}

type License

type License struct {
	Title string `json:"title,omitempty"`
	SPDX  string `json:"spdx,omitempty"`
	URL   string `json:"url,omitempty"`
}

type NamedIcon

type NamedIcon struct {
	OriginalName string
	Name         toolbelt.CasedString
	Icon         Icon
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL