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

Custom palette colors don't work

未关闭
#111 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
php, wordpress
领域
frontend

调研方向

使用链接的视频和列出的调色板步骤,在 WordPress 6.4.3 和 Raft 1.1.2 中重现该问题。将保存的编辑器输出与前端渲染进行比较;保存后,已注册的自定义颜色仍能应用于文本、背景和链接悬停状态,即表示完成。

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

描述

bug customer report
Description

A user reported that he wanted to use a custom palette color for the link hover and it wasn't working in frontend (https://vertis.d.pr/v/dIUuXq). I checked and the custom palette colors work until the editor is saved https://vertis.d.pr/v/9GfLqk

Reported here - https://wordpress.org/support/topic/custom-colors-registered-in-the-style-are-not-working/

Step-by-step reproduction instructions
  1. Add new custom colors in the palette
  2. Use them for Text/Background/etc as you see in the video
  3. Check if it works in frontend
Screenshots, screen recording, code snippet or Help Scout ticket

https://vertis.d.pr/v/dIUuXq
https://vertis.d.pr/v/9GfLqk

https://wordpress.org/support/topic/custom-colors-registered-in-the-style-are-not-working/

Environment info

WordPress 6.4.3 / Raft 1.1.2

Is the issue you are reporting a regression

No

主要语言
PHP
星标
8
派生
4
平均合并
1 小时 26 分钟
30 天内合并 PR
2

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

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

Codeinwp/raft 的其他 Issue

查看 Codeinwp/raft 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

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