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
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,7 @@ The build has two main phases:
63
63
### Code Validation
64
64
-**No automated linting configured** - follow existing code style in files you edit
65
65
-**Code style**: Use tabs for web files (.html/.css/.js), spaces (2 per level) for C++ files
66
+
-**Language**: The repository language is English (british, american, canadian, or australian). If you find other languages, suggest a translation into English.
66
67
-**C++ formatting available**: `clang-format` is installed but not in CI
67
68
-**Always run tests before finishing**: `npm test`
68
69
-**MANDATORY: Always run a hardware build before finishing** (see "Before Finishing Work" section below)
In the menu, go to manage projects and import the json file from this folder and load it
5
+
Add new icons or exchange existing ones: if changing existing one, make sure the unicode stays the same (can be edited before exporting)
6
+
Go to "Generate SVG & More" and check the size of new icons (clicking on icons brings up the editor) -> scale new icons to match the size of existing ones
7
+
Go to "Generate font" tab, check unicodes are correct (can use any unicode, range > e900 is "custom range" and now preferred)
8
+
Download the font package and replace the files in this folder with new files
9
+
Using an online converter, convert the *.woff font into woff2 format (about half the file size)
10
+
Using another online converter, convert the woff2 font to base64 encoding for CSS
11
+
in index.css, replace the font string at the top, keep the "data:font/woff2;charset=utf-8;" and dont use octet-stream (browser compatibility).
Copy file name to clipboardExpand all lines: wled00/data/icons-ui/Read Me.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
Open *demo.html* to see a list of all the glyphs in your font along with their codes/ligatures.
2
2
3
-
To use the generated font in desktop programs, you can install the TTF font. In order to copy the character associated with each icon, refer to the text box at the bottom right corner of each glyph in demo.html. The character inside this text box may be invisible; but it can still be copied. See this guide for more info: https://icomoon.io/#docs/local-fonts
3
+
To use the generated font in desktop programs, you can install the TTF font. In order to copy the character associated with each icon, refer to the text box at the bottom right corner of each glyph in demo.html. The character inside this text box may be invisible; but it can still be copied. See this guide for more info: https://icomoon.io/docs#install
4
4
5
5
You won't need any of the files located under the *demo-files* directory when including the generated font in your own projects.
0 commit comments