mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-12 06:06:37 +03:00
Theme-switch favicon; use pristine kinpaku gold
The favicon was hardcoded to a muddy #d8a83a, duller than the header logo's pristine kinpaku. Switch fill by OS theme via an embedded prefers-color-scheme media query: near-black in light, pristine kinpaku (#ffb900, matching --ks-kinpaku) in dark. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
8e25f9955f
commit
23dcaa79e0
+10
-1
@@ -1,4 +1,13 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="#d8a83a">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<style>
|
||||
/* Light OS theme: black icon. Dark OS theme: pristine kinpaku gold,
|
||||
matching the header logo (--ks-kinpaku, #ffb900) rather than the old
|
||||
muddier #d8a83a. */
|
||||
path { fill: #141207; }
|
||||
@media (prefers-color-scheme: dark) {
|
||||
path { fill: #ffb900; }
|
||||
}
|
||||
</style>
|
||||
<path d="M7 1 L18 1 L8 31 L7 31 Q1 31 1 25 L1 7 Q1 1 7 1 Z"/>
|
||||
<path d="M22 1 L25 1 Q31 1 31 7 L31 25 Q31 31 25 31 L12 31 Z"/>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 213 B After Width: | Height: | Size: 501 B |
Reference in New Issue
Block a user