Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Add option to import theme from zip file

未关闭
#943 37 条评论 6 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
javascript
领域
frontend

调研方向

首先阅读现有的 Share 和 Export 流程,以及 issue #940 中引用的更改。确定如何再次导入已导出的主题 ZIP,同时保留受支持的主题属性并处理图像格式限制;完成的标准是能够准确导入之前导出的主题。

由索引模型根据 Issue 内容生成。

描述

contrib: welcome

The "Share" button only supports themes without images, but as soon as an image is included, it is no longer possible to share a linlk.
The next button, "Export", does offer the ability to export the theme, but once exported it cannot be imported in Firefox Color again.

Since we now support all theme properties (#940), it should be possible to offer an Import button that is an accurate representation of the theme.

There is one thing though: a zip file with the theme exension supports arbitrary image formats (including SVG), whereas dynamic themes only support PNG and JPG due to https://bugzilla.mozilla.org/show_bug.cgi?id=1491790 .

主要语言
JavaScript
星标
506
派生
100
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

mozilla/FirefoxColor 的其他 Issue

查看 mozilla/FirefoxColor 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。