# 摘要邮件页脚，链接文本为浅灰色背景白色

**URL:** <https://meta.discourse.org/t/summary-email-footer-linked-text-is-light-grey-on-white/135973>\
**Category:** Product Support\
**Created:** [2019 年12 月 15 日 01:22 UTC](https://meta.discourse.org/t/summary-email-footer-linked-text-is-light-grey-on-white/135973 "2019-12-15T01:22:46Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

作者： ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
发布日期： [2020 年2 月 11 日 20:59 UTC](https://meta.discourse.org/t/summary-email-footer-linked-text-is-light-grey-on-white/135973/9 "2020-02-11T20:59:52Z")

</div>

我这里有一个修复方案，应该能解决问题

> <https://github.com/discourse/discourse/commit/e6e5ce3c5413b2fa85d87660bc443dfb1557576c>

问题在于摘要的背景色并未由主题颜色决定（它是静态的灰色），而那两个链接的颜色是主题变量。因此，深色主题中的浅色文字最终显示在了浅灰色背景上。

![Screen Shot 2020-02-11 at 3.59.27 PM](https://cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/meta/optimized/3X/0/b/0b4b58f6467336528063ffffaa4823c144e6ef86_2_690x38.png)

还有一个相关的问题，可能对将来查看摘要的人有所帮助……电子邮件的背景色是设置在 HTML 标签上的……而许多电子邮件客户端（如 Gmail）会直接忽略该样式，将电子邮件背景强制设为白色……因此，即使背景色由主题定义，也无法保证可靠：

 ![Screen Shot 2020-02-11 at 3.56.57 PM](https://global.discourse-cdn.com/meta/original/3X/e/a/eadb4bc1b4eaaf45a77fda606fd781a62828a21f.png)

---

_[View the full topic](https://meta.discourse.org/t/summary-email-footer-linked-text-is-light-grey-on-white/135973)._
