Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

seti-icons

ci coverage Go Reference License

File-type icons from the Seti UI icon set (by Jesse Weed, MIT), as embedded SVG documents keyed by file name — for pure-Go UIs that render their own icons.

import seti "github.com/go-icons/seti"

svg := seti.Icon("paper.tex") // the Seti .tex glyph, as an SVG string
dir := seti.Folder()          // the folder glyph

Icon(filename) matches by exact base name first (go.mod, LICENSE, .gitignore), then by extension, then falls back to a generic document. It is a data package: it returns SVG strings and draws nothing. A renderer such as go-widgets/toolkit's SVGIcon turns the SVG into a drawn glyph.

A curated subset of the Seti icons is embedded (common source, markup, data and image types). Contributions adding more are welcome.

Licence

The Go code is BSD-3-Clause (LICENSE). The embedded Seti UI icon artwork is MIT, © 2014 Jesse Weed (SETI-LICENSE.md) — redistributed unmodified.

About

Seti UI file-type icons as embedded SVG, for pure-Go UIs

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages