update favicon size
This commit is contained in:
parent
d3f529654b
commit
ca1d74a58d
5 changed files with 2 additions and 2 deletions
BIN
Frontend/patient_manager/web/Logo-001.png
Normal file
BIN
Frontend/patient_manager/web/Logo-001.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 392 KiB |
BIN
Frontend/patient_manager/web/Logo-002.png
Normal file
BIN
Frontend/patient_manager/web/Logo-002.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 387 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 442 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 441 KiB |
|
|
@ -85,8 +85,8 @@
|
|||
const setFavicon = () => {
|
||||
const favicon = document.querySelector('link[rel="icon"]');
|
||||
favicon.href = (window.matchMedia('(prefers-color-scheme: dark)').matches)
|
||||
? 'Logo-02.png'
|
||||
: 'Logo-01.png';
|
||||
? 'Logo-002.png'
|
||||
: 'Logo-001.png';
|
||||
};
|
||||
|
||||
setFavicon();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue