# 使用主题覆盖 border-radius 变量

**URL:** <https://meta.discourse.org/t/override-border-radius-variables-with-theme/246574>\
**Category:** UX\
**Created:** [2022 年11 月 23 日 18:51 UTC](https://meta.discourse.org/t/override-border-radius-variables-with-theme/246574 "2022-11-23T18:51:56Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)\
发布日期： [2022 年11 月 23 日 18:51 UTC](https://meta.discourse.org/t/override-border-radius-variables-with-theme/246574/1 "2022-11-23T18:51:57Z")

</div>

你好，

我尝试通过远程主题覆盖[新的边框半径变量](https://github.com/discourse/discourse/pull/19037)，但似乎核心的 `:root` 变量总是优先。如果我在管理后台创建一个主题组件，我可以覆盖这些变量。有没有办法通过主题来覆盖它们？我错过了什么？ 🙂

这个微小的改动非常有用，非常感谢！❤

* * *

好的，它按预期工作，只是我的测试站点在开玩笑。🙂

---

_[View the full topic](https://meta.discourse.org/t/override-border-radius-variables-with-theme/246574)._
