oIconsGetIcon(...)

Get an SVG icon with PNG fallback for ie6-8

parameter type default description
icon-name This should be a reference to an icon included in o-icons eg arrow-down
color This should be a hex colour value. Used to color the icon. We suggest using an o-colors an o-colors function.
container-width This is the width to set the icon containing element to. Defaults to 20px. This value is also used to request a PNG fallback of the right size from the image service.
container-height This is the height to set the icon containing element to. Defaults to null, and will use the value of $container-width
apply-base-styles (optional) true If true, will output style rules for the container. If false will only output the background-image property
apply-width-height (optional) true If true, will output the styles for the container width and height.
iconset-version (optional) 1 At present only 1 version of the icon set is available.
high-contrast-fallback (optional) true To output Microsoft High Contrast fallback for accessibility reasons or not.

Links

oIconsBaseStyles

Base styles for all icons

Links

o-icons-is-silent

Silent mode

Links

o-icons-use-local-assets

Whether SVG icon mixin should use the image service or serve local assets

Links

o-icons-service-base-url

Option to change the base of the image service url

Links

o-icons-service-version

Option to change the version of the image service url

Links