Skip to content

The Octicons component theme provides a Twig macro to use Primer Octicons icons in Cecil templates.

License

Notifications You must be signed in to change notification settings

Cecilapp/theme-octicons

Repository files navigation

Octicons component theme

The Octicons component theme provides a Twig macro to use Primer Octicons icons in Cecil templates.

Prerequisites

Installation

composer require cecil/theme-octicons

Or download the latest archive and uncompress its content in themes/octicons.

Usage

{% import 'macros/octicons.twig' as octicons %}

{{ octicons.svg('<icon>', <16|24>, '<class>') }}

Development

This will build the Octicons data file and copy it to the data folder.

npm install
npm run build
npm run copy

About

The Octicons component theme provides a Twig macro to use Primer Octicons icons in Cecil templates.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Contributors

Languages