keyrune/contributing/UpdateCodebase.md

920 B

Update Codebase

Example with the set icon of the set "Foundation" (FDN)

Prerequisites

You need to have lessc or sass installed on your computer.

Steps

Updating Sass source

  1. Open the sass/_variables.scss file in the repository.

  2. Add the new set icon in the @keyrune-icons list. (You can see that i add the short code fdn and the unicode character 1f31f)

    + ("Foundations", "fdn", "\1f31f"),
    

Updating Less source

  1. Open the less/icons.less file in the repository.

  2. Add the new set icon in the @keyrune-icons list. (You can see that i add the short code fdn and the unicode character 1f31f)

    + .@{ss-prefix}-fdn:before { content: "\1f31f"; } // Foundation
    

Yaay 🎉 you have update the codebase now everything is ready only one steps to use the new icon


Go to the next step: Generate CSS