style(Card): adjust background color to gray-1 (#9753)

This commit is contained in:
neverland 2021-10-29 17:03:32 +08:00 committed by GitHub
parent b6603a4804
commit 8db19b76c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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_ | - |

View File

@ -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_ | - |

View File

@ -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;