Repository navigation
feat: favicon adapts to browser theme - #2990
Merged
MohamedBassem merged 3 commits intoAug 11, 2026
Merged
MohamedBassem merged 3 commits into
MohamedBassem merged 3 commits into
Conversation
Contributor
Greptile SummaryThis PR makes the web and landing favicons adapt to the browser’s preferred color scheme.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains. Important Files Changed
Reviews (2): Last reviewed commit: "fix(web): remove conflicting file-based ..." | Re-trigger Greptile |
Member
|
Thank you! |
ajgon
pushed a commit
to deedee-ops/home-ops
that referenced
this pull request
Aug 11, 2026
…0.33.2) (#600) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/karakeep-app/karakeep](https://github.com/karakeep-app/karakeep) | patch | `0.33.1` → `0.33.2` | --- >⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/7) for more information. --- ### Release Notes <details> <summary>karakeep-app/karakeep (ghcr.io/karakeep-app/karakeep)</summary> ### [`v0.33.2`](https://github.com/karakeep-app/karakeep/releases/tag/v0.33.2): 0.33.2 [Compare Source](karakeep-app/karakeep@v0.33.1...v0.33.2) ##### 0.33.2 This is a patch release for after [0.33.1](https://github.com/karakeep-app/karakeep/releases/tag/v0.33.1). It contains the following fixes: **Bug fixes:** - Change default "use max completion tokens" token env variable to `true` when using the default OpenAI configuration now that we're using 5.6 luna and this flag is required there ([#​3007](karakeep-app/karakeep#3007)). - We're migrating to a custom karakeep chrome container (based on <https://github.com/chromedp/docker-headless-shell>) now that the old alpine-chrome is no longer fetch-able (and has been long abandoned by the maintainer). Check the migration guide [here](https://docs.karakeep.app/next/administration/chrome-image-migration). The old image will continue to work, but it's recommended that you migrate to the new one as it also upgrades chrome to 151 (compared to 124 in the old image). If you've been using browserless (e.g. on unraid), you're not impacted by this, and you don't need to migrate. - Large singlefile archives (typically because of videos) used to fail metadata extraction as the parser used to OOM. We strip inline videos now to make the parsing succeed. - Hardened the link to asset conversion mechanism in the crawler that used to result into silently broken assets. ([#​3002](karakeep-app/karakeep#3002)) - Pinned nodejs to version 24.18.1 thanks to [@​eriktews](https://github.com/eriktews) ([#​2996](karakeep-app/karakeep#2996)) to overcome a bug in the latest node 24.19 version (check [#​2989](karakeep-app/karakeep#2989) for details). The proxmox scripts also were pinned by [@​MickLesk](https://github.com/MickLesk). - Karakeep's favicon is now light/dark mode aware, thanks to [@​ehfreema](https://github.com/ehfreema) ([#​2990](karakeep-app/karakeep#2990)). **New features:** - You can now upload custom SingleFile archives to karakeep directly using the CLI. ##### Changelog - fix: Set max completion tokens to true when using default openai config ([#​3007](karakeep-app/karakeep#3007)) - [@​MohamedBassem](https://github.com/MohamedBassem) in [`98c0c78`](karakeep-app/karakeep@98c0c789) - feat: migrate to a custom karakeep chrome image ([#​3005](karakeep-app/karakeep#3005)) - [@​MohamedBassem](https://github.com/MohamedBassem) in [`951e502`](karakeep-app/karakeep@951e5025) - feat: publish a new karakeep chrome container ([#​3004](karakeep-app/karakeep#3004)) - [@​MohamedBassem](https://github.com/MohamedBassem) in [`b6415b3`](karakeep-app/karakeep@b6415b3c) - feat: favicon adapts to browser theme ([#​2990](karakeep-app/karakeep#2990)) - [@​ehfreema](https://github.com/ehfreema) in [`ad27c05`](karakeep-app/karakeep@ad27c051) - build: Fix crash loop caused by better-sqlite3 and node. ([#​2996](karakeep-app/karakeep#2996)) - [@​eriktews](https://github.com/eriktews) in [`132e566`](karakeep-app/karakeep@132e566b) - fix(crawler): fail on failure to download urls converted to assets ([#​3002](karakeep-app/karakeep#3002)) - [@​MohamedBassem](https://github.com/MohamedBassem) in [`f57aad1`](karakeep-app/karakeep@f57aad1d) - feat(mobile): switch to using context menu in ios - [@​MohamedBassem](https://github.com/MohamedBassem) in [`28e7909`](karakeep-app/karakeep@28e79094) - fix(restate): use logger middleware instead of durable steps - [@​MohamedBassem](https://github.com/MohamedBassem) in [`764ba85`](karakeep-app/karakeep@764ba850) - fix(workers): drop inline media blocks before metadata parsing - [@​MohamedBassem](https://github.com/MohamedBassem) in [`1c0b0a9`](karakeep-app/karakeep@1c0b0a9a) - feat(cli): allow importing singlefile archives via the CLI - [@​MohamedBassem](https://github.com/MohamedBassem) in [`5f6ba26`](karakeep-app/karakeep@5f6ba262) - docs: update intro doc with new features - [@​MohamedBassem](https://github.com/MohamedBassem) in [`3af6f45`](karakeep-app/karakeep@3af6f458) - readme: update the readme and docs with the new features - [@​MohamedBassem](https://github.com/MohamedBassem) in [`a81f935`](karakeep-app/karakeep@a81f935a) - release: release cli, sdk & mcp - [@​MohamedBassem](https://github.com/MohamedBassem) in [`b3fbf6b`](karakeep-app/karakeep@b3fbf6bb) </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Warsaw) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC44LjEiLCJ1cGRhdGVkSW5WZXIiOiI0NC44LjEiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOlsicmVub3ZhdGUvY29udGFpbmVyIiwidHlwZS9wYXRjaCJdfQ==--> Reviewed-on: https://git.ajgon.casa/deedee/mark13/pulls/600
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The favicon always stays black
Fixes part of #2116
Next.js creates file-based favicon links from
app/favicon.icoandapp/icon.png. These file-based links override the theme-awarelinktags. Removal lets theprefers-color-schemeicons take effect.The change is related to #2116 (comment)
How Has This Been Tested?
pnpm --filter @karakeep/web format,lint,typecheck,build— all passed.pnpm --filter @karakeep/landing format,lint,typecheck,build— all passed.turbo typecheck lint format(64 tasks) — all passed.http://localhost:3000/signinandhttp://localhost:4321/:- Make sure that
link[rel="icon"][media="(prefers-color-scheme: light)"]points to/icons/logo-icon.svg.- Make sure that
link[rel="icon"][media="(prefers-color-scheme: dark)"]points to/icons/logo-icon-dark.svg.- Make sure that
matchMedia('(prefers-color-scheme: dark)').matchesis correct for light and for dark.- If the OS is light and the page is light, the Chromium tab bar is light and the favicon is black.
- If the OS is dark and the page is dark, the Chromium tab bar is dark and the favicon is white.
To reproduce:
http://localhost:3000and the landing app onhttp://localhost:4321.Screenshots
Checklist:
Please describe to which degree, if any, an LLM was used in creating this pull request.
Muse Spark 1.2 helped with research about the Next.js fields and test cases. All code changes were reviewed by a human.