o2sh / onefetch

Command-line Git information tool
https://onefetch.dev
MIT License
10.31k stars 277 forks source link

Improve Nerd Font Icon Support. #1408

Open Localghost385 opened 2 months ago

Localghost385 commented 2 months ago

An issue tracking which languages can display a custom nerd font icon in the chip.

eg.

358289176-cecf466b-ebda-4944-b331-35c2802d23cd

The Icons can be viewed here.

or you can use an extension that allows for custom css like stylus, and create a rule to use a nerd font for this github issue.

@import url("https://www.nerdfonts.com/assets/css/webfont.css");

.task-list-item {
    font-family: 'NerdFontsSymbols Nerd Font' !important;
}

Languages that have icons

Languages that are missing icons

Localghost385 commented 2 months ago

@o2sh I don't think I can add labels to this or pin it. Should it be marked with upstream and enhancement?

o2sh commented 2 months ago

Done 👍

spenserblack commented 2 months ago

To preview the icons in the browser you can use an extension that allows for custom css

We might want to have the a Nerd Font asset on the preview site and implement that CSS there.

Localghost385 commented 1 month ago

@spenserblack I created a pr #1411, I'll update the issue when its merged.