cecil/theme-octicons

Cecil component theme Octicons

Fund package maintenance!
ArnaudLigny
Open Collective

Installs: 519

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Language:Twig

Type:cecil-theme

pkg:composer/cecil/theme-octicons

1.1.0 2025-12-03 10:38 UTC

This package is auto-updated.

Last update: 2025-12-03 10:38:43 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