-
使用 Typography preset 这个预设,--un-prose-* 这些变量没有被输出,导致一些样式获取不到变量,从而不生效。请问该如何配置,让这些变量可以输出出来 例如写了一个表格,但是里面元素的边框颜色变量 --un-prose-borders 没有被输出,导致 var(--un-prose-borders) 获取不到 |
Beta Was this translation helpful? Give feedback.
Answered by
zyyv
Dec 3, 2023
Replies: 1 comment 1 reply
-
你需要指定你的 typography 的主题色,例如 或者使用 cssExtend 覆盖原有的预设样式 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bohecola
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你需要指定你的 typography 的主题色,例如
prose-red
来为你生成颜色。 https://unocss.dev/presets/typography#colorsPlayground
或者使用 cssExtend 覆盖原有的预设样式