# 无法更改 Trendy Login 的文本颜色？

**URL:** <https://meta.discourse.org/t/cant-change-text-color-of-trendy-login/285549>\
**Category:** UX\
**Tags:** completed, trendy-login\
**Created:** [2021 年11 月 18 日 15:19 UTC](https://meta.discourse.org/t/cant-change-text-color-of-trendy-login/285549 "2021-11-18T15:19:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![meghna](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meghna/32/453356_2.png) [@meghna](https://meta.discourse.org/u/meghna)\
**Post date:** [2021 年11 月 29 日 16:53 UTC](https://meta.discourse.org/t/cant-change-text-color-of-trendy-login/285549/2 "2021-11-29T16:53:59Z")

</div>

> [@tobiaseigen](#):
>
> 是否可以自定义文本颜色和白色背景？

当然，已完成。

> <https://github.com/discourse/discourse-trendy-login/commit/50e16393021786b564c47a839ffcdcd6b6fb2f6d>
>
> FIX: use primary and secondary colors for modal bg and text color

> [@tobiaseigen](#):
>
> 最好能让时尚登录的样式完全跟随站点主题。

在此组件中完全跟随站点主题并非易事，但我现在所做的是该组件将跟随主题的主色和次色。因此，框的背景和文本颜色将看起来与站点的颜色主题相似，并且对比度会更好。

---

_[View the full topic](https://meta.discourse.org/t/cant-change-text-color-of-trendy-login/285549)._
