Documentation
¶
Overview ¶
Package icons parses the Remix Icon icons Godwit uses (web.RemixIcons, embedded from the remixicon package, v4.8.0, the last Apache-2.0 release), the line style, and the fill style of those a selected rail button or sidebar row shows. Each is named for its use, as "trash-2". ui.Icon tints them with the text color.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Bird = ui.MustParseSVG([]byte(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M157.503 350.878c7.82-.745 22.447-2.553 28.724-3.511 15.319-2.287 33.829-3.245 50.744-2.5 16.383.692 23.351.213 33.617-2.34 22.5-5.479 38.936-17.819 58.882-44.202 10.639-14.096 15.107-18.989 24.096-26.33 11.383-9.308 28.936-18.457 61.117-31.915 10.212-4.255 33.67-13.776 42.553-17.287 18.563-7.34 31.595-12.925 30.265-13.085-.744-.106-3.51.479-6.117 1.277-2.606.745-7.819 2.287-11.648 3.404a5499 5499 0 0 0-43.351 13.085c-38.351 11.755-48.883 14.841-53.404 15.638-3.989.692-9.628.692-14.415-.053-6.436-.957-14.415-.691-18.617.585-8.032 2.447-12.819 6.33-24.893 20.213-12.287 14.149-21.968 19.681-34.415 19.681-8.511 0-16.117-2.819-24.255-8.936-6.702-5.054-11.543-10.958-22.128-26.968-12.021-18.192-21.489-27.819-36.382-36.862-14.415-8.83-35.798-16.33-63.245-22.181-14.202-3.085-31.489-8.244-41.17-12.34-17.18-7.287-30.16-15.745-43.085-28.032-4.734-4.521-5-4.734-5.744-3.723-1.915 2.5.744 17.925 5 28.67 9.095 23.191 31.223 49.627 58.138 69.521 13.404 9.893 21.01 14.308 58.51 34.202 20.798 11.01 29.521 17.606 33.723 25.532 1.809 3.351 1.915 8.085.266 11.17-1.862 3.563-7.287 8.617-12.553 11.755-12.819 7.553-30.638 14.042-63.723 23.085-7.766 2.128-10.745 3.138-9.84 3.351 2.606.585 35.425-.106 43.35-.904m69.628-86.01c-11.862-11.968-26.649-21.011-43.032-26.277-8.032-2.553-12.34-3.617-30-7.447-19.255-4.149-30-7.712-39.095-12.978-5.798-3.351-12.819-8.99-17.181-13.777-3.245-3.617-8.51-10.744-7.926-10.744.16 0 3.937 2.446 8.405 5.478 17.446 11.809 30.053 16.862 61.063 24.575 22.925 5.744 30.319 8.191 41.17 13.67 11.755 5.904 22.181 15.638 28.883 26.914 1.596 2.766 2.819 5.054 2.713 5.213-.107.107-2.341-1.968-5-4.627"/></svg>`))
Bird is the Godwit bird, the empty reader pane's watermark (the mark of the design, a 512 unit box); it is no Remix icon.
Functions ¶
func Brand ¶
Brand returns the mark of a provider ID, as "qq" (see brands/README.md), or nil for a provider without one.
func BrandIcon ¶ added in v1.1.0
BrandIcon returns the glyph of a model provider ID, as "chatgpt" (from web.BrandIcons; ui.Icon tints it), or nil for a provider without one.
Types ¶
This section is empty.