cecil/theme-octicons

Cecil component theme Octicons

Maintainers

Package info

github.com/Cecilapp/theme-octicons

Language:Twig

Type:cecil-theme

pkg:composer/cecil/theme-octicons

Fund package maintenance!

ArnaudLigny

Open Collective

Statistics

Installs: 1 004

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.1.0 2025-12-03 10:38 UTC

This package is auto-updated.

Last update: 2026-03-03 11:09:44 UTC


README

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