🔤 Logos for more languages

Open
#25 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
78/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
javascript, node.js
Domain
frontend, testing

Research direction

Start with src/icons.js and src/languages.js to see how language names map to devicon folders and GitHub colors. Check the listed languages against devicon, then add the available mappings and a test that verifies mapped slugs resolve when devicon is installed. Preview with the provided node bin/commit-horizon.js --demo --mode languages --out out/x.svg command after editing demoLanguages; done when the mappings, test, and preview cover the additions.

Written by the indexing model from the issue text.

Description

good first issue languages

DEVICON_SLUGS in src/icons.js maps GitHub language names to devicon folders. Languages that aren't there fall back to initials.

Steps

  1. Check which of these exist in devicon: Nim, Gleam, Solidity, Elm, OCaml, Crystal, Perl, Groovy, Fortran, COBOL, Nix, Terraform (HCL).
  2. Add them to DEVICON_SLUGS (and to LINGUIST_COLORS in src/languages.js with their GitHub color).
  3. Preview: node bin/commit-horizon.js --demo --mode languages --out out/x.svg after editing demoLanguages locally.
  4. Add a test that every slug in the map resolves to a file when devicon is installed (skip if it isn't).
Dominant language
JavaScript
Stars
0
Forks
0
Avg merge
1m
Merged PRs (30d)
9

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FelipeBeltranING/commit-horizon

All issues in FelipeBeltranING/commit-horizon

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.