Skip to content

Commit

Permalink
Merge pull request #19 from revolter/change/set-custom-favicon
Browse files Browse the repository at this point in the history
Updated the favicon
  • Loading branch information
revolter authored Jul 9, 2024
2 parents 0fb2294 + 9fcd4a1 commit cd3303a
Show file tree
Hide file tree
Showing 20 changed files with 681 additions and 39 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,21 @@ https://mermaid.live.
npm install
```

## Configuration

### Favicon

- Check if RealFaviconGenerator got updated
(https://realfavicongenerator.net/change_log) by running
```sh
npm run check-favicon-update
```
- If you update [the source SVG](sources/favicon/favicon.svg), or if
RealFaviconGenerator gets updated, generate the favicon assets by running
```sh
npm run generate-favicon
```

## Usage

```sh
Expand Down
Binary file modified assets/favicon/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/favicon/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/favicon/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 1 addition & 3 deletions assets/favicon/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
---
---

{% assign favicon_version = 1 %}

<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="{% link /assets/favicon/mstile-150x150.png %}?v={{ favicon_version }}"/>
<square150x150logo src="{% link /assets/favicon/mstile-150x150.png %}?v=2"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
Expand Down
Binary file modified assets/favicon/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/favicon/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/favicon/favicon.ico
Binary file not shown.
Binary file modified assets/favicon/mstile-144x144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/favicon/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/favicon/mstile-310x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/favicon/mstile-310x310.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/favicon/mstile-70x70.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 11 additions & 27 deletions assets/favicon/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 4 additions & 6 deletions assets/favicon/site.webmanifest
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
---
---

{% assign favicon_version = 1 %}

{
"name": "{{ site.title }}",
"short_name": "{{ site.title }}",
"name": "Notepad Tab",
"short_name": "Notepad Tab",
"icons": [
{
"src": "{% link /assets/favicon/android-chrome-192x192.png %}?v={{ favicon_version }}",
"src": "{% link /assets/favicon/android-chrome-192x192.png %}?v=2",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "{% link /assets/favicon/android-chrome-512x512.png %}?v={{ favicon_version }}",
"src": "{% link /assets/favicon/android-chrome-512x512.png %}?v=2",
"sizes": "512x512",
"type": "image/png"
}
Expand Down
Loading

0 comments on commit cd3303a

Please sign in to comment.