Repository navigation
Commit ed423ae
docs(site): add a theme-aware favicon (#89)
* docs(site): add a favicon so link cards show a thumbnail
Chat apps such as DingTalk render the site icon as the link card
thumbnail; the site emitted no favicon at all, so cards showed an
empty slot while sibling sites on the same domain showed theirs.
Co-authored-by: QoderAI (Qwen 3.8 Max) <qoder_ai@qoder.com>
* docs(site): make the favicon follow the browser color scheme
A favicon has no surrounding text color for currentColor to inherit,
so the synced icon now carries a prefers-color-scheme block: black
mark on light browser chrome, white on dark, mirroring how the plugin
icon picks up the vault theme.
Co-authored-by: QoderAI (Qwen 3.8 Max) <qoder_ai@qoder.com>
---------
Co-authored-by: QoderAI (Qwen 3.8 Max) <qoder_ai@qoder.com>1 parent d813f3b commit ed423ae
2 files changed
Lines changed: 30 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
17 | 29 | | |
18 | 30 | | |
19 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
0 commit comments