Skip to content

nmc/6933-search-dog-image-background-not-fully-optimized-for-dark-mode - #537

Open
suet-kei-chan wants to merge 1 commit into
stable33from
nmc/6933-search-dog-image-background-not-fully-optimized-for-dark-mode
Open

suet-kei-chan wants to merge 1 commit into
stable33from
nmc/6933-search-dog-image-background-not-fully-optimized-for-dark-mode

Conversation

@suet-kei-chan

Copy link
Copy Markdown
Contributor

The unified search empty state replaces the magnify icon with the cautious-dog illustration. Unlike the other decorative images (e.g. the mouse in the files view), it had no dark variant, so in dark mode it was shown with its light grey backdrop blob and ground, which made the background look not fully transparent.

  • Add cautious-dog-dark.svg: removes the backdrop blob and ground shape so the background is fully transparent, and remaps the remaining colours to the palette used by the existing *-dark illustrations (#263238 -> #3E535D, #F5F5F5/#EBEBEB -> #333333, #E0E0E0 -> #666666).
  • Use the dark variant in the search modal for prefers-color-scheme: dark and for the dark theme ([data-themes*=dark]), following the same pattern as files.scss.

Ticket: 6933

The unified search empty state replaces the magnify icon with the
cautious-dog illustration. Unlike the other decorative images (e.g. the
mouse in the files view), it had no dark variant, so in dark mode it was
shown with its light grey backdrop blob and ground, which made the
background look not fully transparent.

- Add cautious-dog-dark.svg: removes the backdrop blob and ground shape
  so the background is fully transparent, and remaps the remaining
  colours to the palette used by the existing *-dark illustrations
  (#263238 -> #3E535D, #F5F5F5/#EBEBEB -> #333333, #E0E0E0 -> #666666).
- Use the dark variant in the search modal for
  prefers-color-scheme: dark and for the dark theme
  ([data-themes*=dark]), following the same pattern as files.scss.

Ticket: 6933
@suet-kei-chan suet-kei-chan self-assigned this Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants