twbs/icons

Feature request: CSS variables for icons

Offen

#1.760 geöffnet am 11.07.2023

 (1 Kommentar) (1 Reaktion) (0 zugewiesene Personen)TypeScript (1.122 Forks)batch import
docsenhancementhelp wanted

Repository-Metriken

Stars
 (8.107 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Using Bootstrap Icons from HTML means one can use nice readable names, whereas using them in CSS means authors have to deal with cryptic Unicode codes like \F4CA. It would be lovely if the CSS file also set CSS variables for all icons, so they can be also used with nice readable names like var(--bi-pencil-square).

Contributor Guide