# 暗黑模式下几乎无法阅读的代码高亮

**URL:** <https://meta.discourse.org/t/almost-unreadable-code-highlighting-in-dark-mode/226334>\
**Category:** Bug\
**Tags:** accessibility\
**Created:** [2022年五月6日 15:06 UTC](https://meta.discourse.org/t/almost-unreadable-code-highlighting-in-dark-mode/226334 "2022-05-06T15:06:58Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)\
**Post date:** [2022年五月18日 13:59 UTC](https://meta.discourse.org/t/almost-unreadable-code-highlighting-in-dark-mode/226334/12 "2022-05-18T13:59:43Z")

</div>

感谢 @hugovk 报告此问题。

此拉取请求修复了深色主题的突出显示颜色。

> <https://github.com/discourse/discourse/pull/16859>
>
> Colour for hljs-builtin-name highlight wasn't very readable in dark mode
> https:…//meta.discourse.org/t/almost-unreadable-code-highlighting-in-dark-mode/226334/8
> 
> before ("tuple" & "map"):
> \<img width="697" alt="image" src="https://user-images.githubusercontent.com/101828855/169048399-356745d5-f5c8-40d5-8816-8742a4c7eff5.png"\>
> 
> after:
> \<img width="712" alt="image" src="https://user-images.githubusercontent.com/101828855/169048330-e8edcf6d-8635-482d-8f76-b4946dba880e.png"\>

此主题将在几天后关闭。

---

_[View the full topic](https://meta.discourse.org/t/almost-unreadable-code-highlighting-in-dark-mode/226334)._
