You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Download the `icons.ttf` file from https://github.com/Acode-Foundation/Acode/tree/main/src/res/icons
185
+
2. Go to https://icomoon.io/ > Start a new Project
186
+
3. Import the `icons.ttf` downloaded (in step 1)
187
+
3. All icons will be displayed after importing.
188
+
4. Import the SVG icon created/downloaded to be added to the Font Family.
189
+
5. On the right side, press **enable Show Characters** to view unicode character for that icon.
190
+
6. Copy the newly added icon's Unicode character (required for later steps)
191
+
7. Repeat Step 4 and Step 6 until all needed new icons are added.
192
+
8. Press the export icon from the top left-hand side.
193
+
9. Add **Font** in the formats section, expand the **Font**, enter **code-editor-icon** as the font-family for `icons.ttf` file.
194
+
10. Press the download button, and a zip file will be downloaded.
195
+
196
+
### Adding the Unicode characters to style.css.
197
+
198
+
1. Open `style.css` file present at https://github.com/Acode-Foundation/Acode/tree/main/src/res/icons
199
+
2. Add new class called `.icon.icon-name::before` i.e ```.icon.all_inclusive:before { content: "\ea18"; }```
200
+
3.`content` (i.e `ea18` -> `\ea18`) property's value is the Unicode Character copied after importing the icon in the font family.
201
+
4. Save the file, extract the zip file (downloaded), from the fonts folder, rename `code-editor-icon.ttf` to `icons.ttf`, copy & paste the `icons.ttf` onto https://github.com/Acode-Foundation/Acode/tree/main/src/res/icons
202
+
5. commit the changes <ins><b>ON A NEW branch</b></ins> (by following: [Commit Messages guide](#commit-messages))
0 commit comments