Skip to content

feat(grub-theme): 优化并新增Deepin grub主题支持#179

Draft
electricface wants to merge 1 commit intolinuxdeepin:masterfrom
electricface:swt/fix-grub-theme
Draft

feat(grub-theme): 优化并新增Deepin grub主题支持#179
electricface wants to merge 1 commit intolinuxdeepin:masterfrom
electricface:swt/fix-grub-theme

Conversation

@electricface
Copy link
Member

  • 新增 adjustThemeNormalV25 处理函数,替代旧版本普通主题调整逻辑
  • 重构调整启动菜单逻辑,简化 adjustBootMenu 函数,支持不同分辨率下的配置
  • 在 Theme 结构体中添加 FindComponentByType 方法,便于根据类型查找组件
  • 引入并使用 deepin-v20 主题数据,重命名相关资源文件路径
  • 更新 deepin 主题的 theme.txt.tpl 模板,提高启动菜单和标签文字的配置灵活性
  • 调整主题背景图片处理逻辑,支持保存背景及主题内背景图
  • 测试代码中调用调整普通主题的函数改为新版本接口调用
  • 优化字体和界面元素的样式及位置,提升视觉效果和一致性

Bug: PMS-277733

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Sorry @electricface, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: electricface

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

- 新增 adjustThemeNormalV25 处理函数,替代旧版本普通主题调整逻辑
- 重构调整启动菜单逻辑,简化 adjustBootMenu 函数,支持不同分辨率下的配置
- 在 Theme 结构体中添加 FindComponentByType 方法,便于根据类型查找组件
- 引入并使用 deepin-v20 主题数据,重命名相关资源文件路径
- 更新 deepin 主题的 theme.txt.tpl 模板,提高启动菜单和标签文字的配置灵活性
- 调整主题背景图片处理逻辑,支持保存背景及主题内背景图
- 测试代码中调用调整普通主题的函数改为新版本接口调用
- 优化字体和界面元素的样式及位置,提升视觉效果和一致性

Bug: PMS-277733
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