gpt4 book ai didi

html - Ionic 2 输入突出显示

转载 作者:太空宇宙 更新时间:2023-11-04 13:51:09 30 4
gpt4 key购买 nike

我正在尝试制作一个表单,但当某个元素具有焦点时,我无法尝试更改突出显示颜色(参见图片)。我尝试在我的 Sass 中使用这行代码,我在 Ionic 文档中找到了它,但它似乎不起作用。有谁知道这是如何工作的?

$text-input-md-highlight-color: #000000;

I suppose the highlight-color should change the text-color and the bottom-border-color

最佳答案

您需要覆盖 variable.scss 文件中的 SASS 才能生效。查看更多here .放:

$text-input-md-highlight-color: #000000;

src/theme/variable.scss 中。

关于html - Ionic 2 输入突出显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42692054/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com