icons
The icons menusKit draws on cards, radial orbs, the settings arrows, the back button, the victory stars and the touch pause button. Each one is a small inline SVG on a 256-unit grid, stroked in `currentColor`, so it takes the colour of whatever style it sits in and needs no icon…
icons
The icons menusKit draws on cards, radial orbs, the settings arrows, the back button, the victory stars and the touch pause button. Each one is a small inline SVG on a 256-unit grid, stroked in currentColor, so it takes the colour of whatever style it sits in and needs no icon font. It draws the same in the editor, a native player and the web player.
The looks call it for you. A game reaches it only to give a menu item an icon: { id = "shop", text = "Shop", icon = "shop" } takes a built-in name, an alias such as "storefront", or a whole <svg ...> document of its own.
Icons.node(ref, size, color?, opts?): ansvgwidget node,sizepoints square.optstakesweight,shadow = { dx, dy, color },idandstyle.Icons.svg(ref, opts?): the SVG document string.Icons.has(ref),Icons.names(),Icons.aliases().
Scoped to this part · feeds back into the world's score.