mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
style(Card): adjust background color to gray-1 (#9753)
This commit is contained in:
parent
b6603a4804
commit
8db19b76c2
@ -127,7 +127,7 @@ The component provides the following CSS variables, which can be used to customi
|
||||
| --van-card-padding | _var(--van-padding-xs) var(--van-padding-md)_ | - |
|
||||
| --van-card-font-size | _var(--van-font-size-sm)_ | - |
|
||||
| --van-card-text-color | _var(--van-text-color)_ | - |
|
||||
| --van-card-background-color | _var(--van-background-color-light)_ | - |
|
||||
| --van-card-background-color | _var(--van-gray-1)_ | - |
|
||||
| --van-card-thumb-size | _88px_ | - |
|
||||
| --van-card-thumb-border-radius | _var(--van-border-radius-lg)_ | - |
|
||||
| --van-card-title-line-height | _16px_ | - |
|
||||
|
@ -129,7 +129,7 @@ import type { CardProps } from 'vant';
|
||||
| --van-card-padding | _var(--van-padding-xs) var(--van-padding-md)_ | - |
|
||||
| --van-card-font-size | _var(--van-font-size-sm)_ | - |
|
||||
| --van-card-text-color | _var(--van-text-color)_ | - |
|
||||
| --van-card-background-color | _var(--van-background-color-light)_ | - |
|
||||
| --van-card-background-color | _var(--van-gray-1)_ | - |
|
||||
| --van-card-thumb-size | _88px_ | - |
|
||||
| --van-card-thumb-border-radius | _var(--van-border-radius-lg)_ | - |
|
||||
| --van-card-title-line-height | _16px_ | - |
|
||||
|
@ -3,7 +3,7 @@
|
||||
@card-padding: var(--van-padding-xs) var(--van-padding-md);
|
||||
@card-font-size: var(--van-font-size-sm);
|
||||
@card-text-color: var(--van-text-color);
|
||||
@card-background-color: var(--van-background-color-light);
|
||||
@card-background-color: var(--van-gray-1);
|
||||
@card-thumb-size: 88px;
|
||||
@card-thumb-border-radius: var(--van-border-radius-lg);
|
||||
@card-title-line-height: 16px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user