Skip to content

add:サムネイルのテーマ対応 - #6

Merged
SmiSANN merged 1 commit into
mainfrom
feat/theme
Aug 21, 2026
Merged

add:サムネイルのテーマ対応#6
SmiSANN merged 1 commit into
mainfrom
feat/theme

Conversation

@SmiSANN

@SmiSANN SmiSANN commented Aug 21, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI lite review requested due to automatic review settings August 21, 2026 14:56
@SmiSANN
SmiSANN merged commit d30fd6b into main Aug 21, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the thumbnail pipeline to better support UI theming by switching cached thumbnails to transparent WebP and adjusting the thumbnail background color on the frontend so transparency renders well across themes.

Changes:

  • Switch thumbnail cache output from JPEG (RGB) to WebP (RGBA) and add legacy JPEG cleanup.
  • Improve Windows Shell-thumbnail padding detection to handle cases where HBITMAP alpha may be invalid.
  • Update frontend thumbnail container background from bg-black to theme-aware bg-slate-700, and update README cache spec.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
README.md Updates cache documentation to reflect transparent WebP thumbnails.
client/src/components/Thumbnail.tsx Uses theme-aware background color behind (now transparent) thumbnails.
client/src-tauri/src/thumbnail.rs Generates/caches RGBA WebP thumbnails, removes legacy JPEGs, and adds an alpha-preservation test.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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