mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
feat(PasswordInput): add password-input-text-color css var (#9304)
This commit is contained in:
parent
152b220d55
commit
5a93179b6b
@ -164,6 +164,7 @@ The component provides the following CSS variables, which can be used to customi
|
||||
| --van-password-input-error-info-color | _var(--van-danger-color)_ | - |
|
||||
| --van-password-input-dot-size | _10px_ | - |
|
||||
| --van-password-input-dot-color | _var(--van-black)_ | - |
|
||||
| --van-password-input-text-color | _var(--van-text-color)_ | - |
|
||||
| --van-password-input-cursor-color | _var(--van-text-color)_ | - |
|
||||
| --van-password-input-cursor-width | _1px_ | - |
|
||||
| --van-password-input-cursor-height | _40%_ | - |
|
||||
|
@ -174,6 +174,7 @@ export default {
|
||||
| --van-password-input-error-info-color | _var(--van-danger-color)_ | - |
|
||||
| --van-password-input-dot-size | _10px_ | - |
|
||||
| --van-password-input-dot-color | _var(--van-black)_ | - |
|
||||
| --van-password-input-text-color | _var(--van-text-color)_ | - |
|
||||
| --van-password-input-cursor-color | _var(--van-text-color)_ | - |
|
||||
| --van-password-input-cursor-width | _1px_ | - |
|
||||
| --van-password-input-cursor-height | _40%_ | - |
|
||||
|
@ -11,6 +11,7 @@
|
||||
--van-password-input-error-info-color: @password-input-error-info-color;
|
||||
--van-password-input-dot-size: @password-input-dot-size;
|
||||
--van-password-input-dot-color: @password-input-dot-color;
|
||||
--van-password-input-text-color: @password-input-text-color;
|
||||
--van-password-input-cursor-color: @password-input-cursor-color;
|
||||
--van-password-input-cursor-width: @password-input-cursor-width;
|
||||
--van-password-input-cursor-height: @password-input-cursor-height;
|
||||
@ -54,6 +55,7 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
color: var(--van-password-input-text-color);
|
||||
font-size: var(--van-password-input-font-size);
|
||||
line-height: 1.2;
|
||||
background-color: var(--van-password-input-background-color);
|
||||
|
@ -10,6 +10,7 @@
|
||||
@password-input-error-info-color: var(--van-danger-color);
|
||||
@password-input-dot-size: 10px;
|
||||
@password-input-dot-color: var(--van-black);
|
||||
@password-input-text-color: var(--van-text-color);
|
||||
@password-input-cursor-color: var(--van-text-color);
|
||||
@password-input-cursor-width: 1px;
|
||||
@password-input-cursor-height: 40%;
|
||||
|
Loading…
x
Reference in New Issue
Block a user