
Access High quality Simple Icons SVGs from Typst.
Usage
Function:
- sicon: return icon in SVG format
- stitle: return icon name
- sicon-label: return icon and name
- sicon-raw: return Icon SVG code
Parameters:
- slug: icon slug, can be found at https://simpleicon.org
- size: the icon size
- icon-color: icons hex color, default is “default”, representation Simple Icons Color
- text-color: text color, default to
#000000
#import "@preview/sicons:15.12.0": *
= typst sicons package Example
#sicon(slug: "typst", size: 1em, icon-color: "default")
#stitle(slug: "typst", size: 1em, icon-color: "default", text-color: "#000000")
#sicon-label(slug: "typst", size: 1em, text-color: "#000000")
#sicon-raw(slug: "typst")
This package is under MIT LICENSE
Simple Icons is under CC0-1.0 and additional legal disclaimer