Skip to content

Commit 1e6eac6

Browse files
add favicon instruction (#5)
Adding the docs for adding Favicons
1 parent 90988a3 commit 1e6eac6

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

docs/Adding_favicon.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Adding a Favicon
2+
3+
## Steps to Add a New Favicon
4+
5+
1. **Prepare the Favicon File:**
6+
- Create an SVG (preferred) or PNG file for the favicon.
7+
- Ensure the favicon design aligns with the existing ones.
8+
9+
2. **Place the Favicon in the Correct Directory:**
10+
- Move the favicon file to the `public/favicons/` folder.
11+
12+
3. **Update the Favicon List:**
13+
- Open the `public/Randomfavicon.js` file.
14+
- Locate the `const favicons` array.
15+
- Add the filename to the array, e.g., `'filename.svg'`.
16+
17+
## Modifying the Colors of Existing Favicons
18+
19+
If you need to update the colors of an existing favicon, edit the SVG file and update the hex codes in the following places:
20+
21+
- `flood-color="#00FFFF"`
22+
- `fill="#40C0E7"`
23+
- `stroke="#00FFFF"`
24+
25+
Ensure that the new colors remain consistent with the current favicon theme.

0 commit comments

Comments
 (0)