From 1eb21d247b9feb748b39526606577747b78f7e87 Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Thu, 5 Oct 2023 16:11:15 -0500 Subject: [PATCH] feat: adjust favicon based on system color-scheme (#10087) This will still default to light-theme, but support showing a white favicon when the system-theme is dark. --- site/index.html | 20 ++++++++++++++++-- .../{favicon.png => favicon-dark.png} | Bin .../{favicon.svg => favicon-dark.svg} | 0 site/static/favicons/favicon-light.png | Bin 0 -> 2742 bytes site/static/favicons/favicon-light.svg | 8 +++++++ 5 files changed, 26 insertions(+), 2 deletions(-) rename site/static/favicons/{favicon.png => favicon-dark.png} (100%) rename site/static/favicons/{favicon.svg => favicon-dark.svg} (100%) create mode 100644 site/static/favicons/favicon-light.png create mode 100644 site/static/favicons/favicon-light.svg diff --git a/site/index.html b/site/index.html index df2ecc4b18..99f24c4747 100644 --- a/site/index.html +++ b/site/index.html @@ -28,13 +28,29 @@ + +