Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ icons Public
forked from cubing/icons

🖼 Icons for WCA events, unofficial events, and competition-related concepts.

License

Notifications You must be signed in to change notification settings

hopz123/icons

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cubing icons and fonts

Documentation and demo

https://icons.cubing.net

Development

Most development is simply adding/changing existing SVG files under the ./src/svg directory. If you haven't dealt with SVG files before, check out Inkscape.

If you want to actually build a font or CSS locally, you'll need some more tooling.

Build the project

You'll need bun to install development dependencies and build the project. Check out and build the project as follows:

git clone https://github.com/cubing/icons && cd icons
make

Files are build into the ./dist dir.

Using nix for development (optional)

We provide a nix shell that you can activate with: nix develop

Upgrading/changing dependencies

package-lock.json is the source of truth. Use npm to change dependencies (if all you're doing is installing dependencies, you don't need npm).

As soon as nix gets support for bun lockfiles, we can remove this quirk.

Releasing

To bump the version and deploy to npmjs.org:

npm version [major|minor|patch] -m "Release description"
git push --follow-tags
make publish

CDN

Note that cdn.cubing.net requires an explicit version bump and deployment in order to pick up the new @cubing/icons version:

git clone https://github.com/cubing/cdn.cubing.net && cd cdn.cubing.net
# Requires SSH and optional Fastly credentials to deploy
make roll-@cubing/icons

About

🖼 Icons for WCA events, unofficial events, and competition-related concepts.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 42.1%
  • TypeScript 26.9%
  • CSS 16.9%
  • Nix 9.7%
  • Makefile 4.1%
  • JavaScript 0.3%