[PR #377] [CLOSED] feat: add support for dark icon #478

Closed
opened 2026-02-16 01:16:05 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/377
Author: @Yeuoly
Created: 7/2/2025
Status: Closed

Base: mainHead: feat/dark-icon


📝 Commits (1)

  • c82944d feat: add support for dark icon

📊 Changes

6 files changed (+17 additions, -0 deletions)

View changed files

📝 cmd/commandline/plugin/init.go (+1 -0)
📝 internal/core/plugin_manager/media_transport/assets.go (+7 -0)
📝 internal/service/install_plugin.go (+1 -0)
📝 internal/types/models/task.go (+1 -0)
📝 pkg/entities/plugin_entities/plugin_declaration.go (+1 -0)
📝 pkg/plugin_packager/decoder/helper.go (+6 -0)

📄 Description

Related PRs:

  • https://github.com/langgenius/dify-plugin-sdks/pull/173

  • Introduced IconDark field in PluginDeclaration and related structures to support dark mode icons.

  • Updated the installation process to handle dark icons.

  • Enhanced asset validation to check for the presence of dark icons.

This change improves the visual consistency of plugins in dark mode environments.

Description

Please provide a brief description of the changes made in this pull request.
Please also include the issue number if this is related to an issue using the format Fixes #123 or Closes #123.

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Performance improvement
  • Other

Essential Checklist

Testing

  • I have tested the changes locally and confirmed they work as expected
  • I have added unit tests where necessary and they pass successfully

Bug Fix (if applicable)

  • I have used GitHub syntax to close the related issue (e.g., Fixes #123 or Closes #123)

Additional Information

Please provide any additional context that would help reviewers understand the changes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-plugin-daemon/pull/377 **Author:** [@Yeuoly](https://github.com/Yeuoly) **Created:** 7/2/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/dark-icon` --- ### 📝 Commits (1) - [`c82944d`](https://github.com/langgenius/dify-plugin-daemon/commit/c82944d8f06dfc11dafe0a3f8ff3443475091d65) feat: add support for dark icon ### 📊 Changes **6 files changed** (+17 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `cmd/commandline/plugin/init.go` (+1 -0) 📝 `internal/core/plugin_manager/media_transport/assets.go` (+7 -0) 📝 `internal/service/install_plugin.go` (+1 -0) 📝 `internal/types/models/task.go` (+1 -0) 📝 `pkg/entities/plugin_entities/plugin_declaration.go` (+1 -0) 📝 `pkg/plugin_packager/decoder/helper.go` (+6 -0) </details> ### 📄 Description Related PRs: - https://github.com/langgenius/dify-plugin-sdks/pull/173 - Introduced IconDark field in PluginDeclaration and related structures to support dark mode icons. - Updated the installation process to handle dark icons. - Enhanced asset validation to check for the presence of dark icons. This change improves the visual consistency of plugins in dark mode environments. ## Description Please provide a brief description of the changes made in this pull request. Please also include the issue number if this is related to an issue using the format `Fixes #123` or `Closes #123`. ## Type of Change - [ ] Bug fix - [ ] New feature - [ ] Refactor - [ ] Performance improvement - [ ] Other ## Essential Checklist ### Testing - [ ] I have tested the changes locally and confirmed they work as expected - [ ] I have added unit tests where necessary and they pass successfully ### Bug Fix (if applicable) - [ ] I have used GitHub syntax to close the related issue (e.g., `Fixes #123` or `Closes #123`) ## Additional Information Please provide any additional context that would help reviewers understand the changes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 01:16:05 -05:00
yindo closed this issue 2026-02-16 01:16:05 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#478