dracula / dracula/github

Custom code fonts and other options not working

未关闭
#24 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
CSS
星标
37
派生
11
PR 合并指标
30 天内没有已合并 PR

描述

First of all, clicking the UI buttons to change options doesn't seem to do anything at all, I have to manually change the 0s to 1s in the code.

Then, in order to actually change the font, I have to add the classes .react-code-text and .comment-body pre to the custom code font styling. .blob-code-inner doesn't seem to reference anything at all. This may be the case with the other options as well, but I'm not even sure what they're supposed to do, so I can't tell if they're changing anything or not.

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先复现 UI 按钮交互,并检查提到的选择器:.react-code-text、.comment-body pre 和 .blob-code-inner。跟踪选项保持不变的原因,并确定自定义代码字体应影响哪些选择器;当控件能够直观地改变选项,并且字体样式无需手动将 0s 编辑为 1s 即可正常工作时,即表示完成。

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

评估

技术栈
css
领域
frontend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

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