cecil / theme-octicons
Cecil component theme Octicons
Package info
github.com/Cecilapp/theme-octicons
Language:Twig
Type:cecil-theme
pkg:composer/cecil/theme-octicons
1.1.0
2025-12-03 10:38 UTC
Requires
- cecil/theme-installer: ^1.4||^2.0
README
The Octicons component theme provides a Twig macro to use Primer Octicons icons in Cecil templates.
Prerequisites
- A Cecil website
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