summaryrefslogtreecommitdiffstats
path: root/static/images
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-18 20:03:54 +0200
committerDanilo M. <danix@danix.xyz>2026-04-18 20:03:54 +0200
commita05ea86f931b17b0599960a6d496af842b527f00 (patch)
treeed2eb6c89fdccf3b8f2635a551f1b0233adffa91 /static/images
parent6d3940a381a91f61c87ecb9f01f99c897b1aaf00 (diff)
downloaddanixxyz-a05ea86f931b17b0599960a6d496af842b527f00.tar.gz
danixxyz-a05ea86f931b17b0599960a6d496af842b527f00.zip
feat: theme-aware default thumbnails with picture element
- Use HTML <picture> element with prefers-color-scheme media query - Fallback dark thumbnail via content: url() CSS for theme-light class - Automatically displays light/dark thumbnails based on user theme - Articles without custom images now show default thumbnails - Maintains all existing hover effects and type badges Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'static/images')
-rw-r--r--static/images/default_thumbnail_dark.pngbin0 -> 1489452 bytes
-rw-r--r--static/images/default_thumbnail_light.pngbin0 -> 1329940 bytes
2 files changed, 0 insertions, 0 deletions
diff --git a/static/images/default_thumbnail_dark.png b/static/images/default_thumbnail_dark.png
new file mode 100644
index 0000000..c054b7a
--- /dev/null
+++ b/static/images/default_thumbnail_dark.png
Binary files differ
diff --git a/static/images/default_thumbnail_light.png b/static/images/default_thumbnail_light.png
new file mode 100644
index 0000000..7bf35bc
--- /dev/null
+++ b/static/images/default_thumbnail_light.png
Binary files differ