Login  Register

Re: Icon font mapping

Posted by mojavelinux on Feb 12, 2021; 10:10pm
URL: https://discuss.asciidoctor.org/Icon-font-mapping-tp8494p8497.html

The icons themselves are enabled using CSS. The default Antora UI does not add the CSS required to enable them (it was a design decision). However, you can find the CSS you need in the UI for the Asciidoctor docs.

See https://github.com/asciidoctor/asciidoctor-docs-ui/blob/main/src/css/doc.css#L362-L437

The Asciidoctor docs use Octicons for the icons. You can use whatever icon set you want. And since you control the CSS, you can use either SVG icons or an icon font.

Best Regards,

-Dan

On Fri, Feb 12, 2021 at 2:58 PM apj68 [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Oops, sorry.  I'm using Antora with the default UI (more or less) for a local HTML site.


Andy


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Icon-font-mapping-tp8494p8496.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux