File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments