Skip to content

Conversation

@NicholasFlamy
Copy link
Collaborator

@NicholasFlamy NicholasFlamy commented Mar 11, 2025

Description

The logo on the docs shows the light theme logo if you open the page or refresh the page with dark theme enabled. If you run npm run start it doesn't occur because JS is run on the client.

This PR switches to the official docusaurus component for themed images: https://docusaurus.io/docs/markdown-features/assets#themed-images

How Has This Been Tested?

  • GitHub PR preview docs

Screenshots

Old behavior (after reloading page or loading with dark theme already enabled):
Screenshot_20250311_174613
New behavior:
Screenshot_20250311_174620

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if applicable
  • I have no unrelated changes in the PR.
  • I have confirmed that any new dependencies are strictly necessary.
  • I have written tests for new code (if applicable)
  • I have followed naming conventions/patterns in the surrounding code
  • All code in src/services/ uses repositories implementations for database calls, filesystem operations, etc.
  • All code in src/repositories/ is pretty basic/simple and does not have any immich specific logic (that belongs in src/services/)

@NicholasFlamy NicholasFlamy added documentation Improvements or additions to documentation changelog:skip labels Mar 11, 2025
@NicholasFlamy NicholasFlamy marked this pull request as ready for review March 11, 2025 21:44
@alextran1502 alextran1502 merged commit d72d715 into immich-app:main Mar 11, 2025
63 of 66 checks passed
@NicholasFlamy NicholasFlamy deleted the fix/docs-dark-theme-logo branch March 11, 2025 22:49
knechtandreas added a commit to knechtandreas/immich that referenced this pull request Mar 13, 2025
…s-broken

* main: (41 commits)
  chore(deps): update typescript-projects (immich-app#16795)
  fix: immich ui toggles and switches (immich-app#16834)
  feat: better library rename UX (immich-app#16837)
  refactor: use immich/ui button component in user settings (immich-app#16836)
  chore(mobile): bump dependency versions (immich-app#16823)
  fix(web): fixed formatting of video length (immich-app#16829)
  refactor: user entity (immich-app#16655)
  fix(web): update search results when searching from info panel (immich-app#16729)
  fix(docs): logo not loading dark theme variant in production (immich-app#16820)
  refactor: use factory and kysely types for partner repository (immich-app#16812)
  fix(ml): dev environment dependencies (immich-app#16815)
  fix: run preview label remove job on PR close (immich-app#16811)
  feat(web): Add keyboard shortcut selection on grid (immich-app#16713)
  feat(web): better person naming interface (immich-app#16631)
  chore(mobile): use path provider foundation (immich-app#16804)
  chore(mobile): add orientation tests for exif (immich-app#16806)
  chore: ignore correct build folder (immich-app#16808)
  fix(server): set unit test timezone to UTC (immich-app#16805)
  chore: shared suffix for docker tags (immich-app#16727)
  chore(deps): update base-image to v20250311 (major) (immich-app#16803)
  ...
savely-krasovsky pushed a commit to savely-krasovsky/immich that referenced this pull request Jun 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:bugfix documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants