mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
style(GridItem): adust text color
This commit is contained in:
parent
fc2847fdb4
commit
42f03fe1a2
@ -31,3 +31,4 @@
|
||||
- Button: 调整 `font-smoothing`,默认使用粗体文字
|
||||
- Field: 调整 `--van-field-label-color` 变量的默认值为 `--van-text-color`
|
||||
- Tabbar: 调整 `--van-tabbar-item-text-color` 变量的默认值为 `--van-text-color`
|
||||
- GridItem: 调整 `--van-grid-item-text-color` 变量的默认值为 `--van-text-color`
|
||||
|
@ -3,7 +3,7 @@ body {
|
||||
--van-grid-item-content-background: var(--van-background-2);
|
||||
--van-grid-item-content-active-color: var(--van-active-color);
|
||||
--van-grid-item-icon-size: 28px;
|
||||
--van-grid-item-text-color: var(--van-gray-7);
|
||||
--van-grid-item-text-color: var(--van-text-color);
|
||||
--van-grid-item-text-font-size: var(--van-font-size-sm);
|
||||
}
|
||||
|
||||
|
@ -163,5 +163,5 @@ The component provides the following CSS variables, which can be used to customi
|
||||
| --van-grid-item-content-background | _var(--van-background-2)_ | - |
|
||||
| --van-grid-item-content-active-color | _var(--van-active-color)_ | - |
|
||||
| --van-grid-item-icon-size | _28px_ | - |
|
||||
| --van-grid-item-text-color | _var(--van-gray-7)_ | - |
|
||||
| --van-grid-item-text-color | _var(--van-text-color)_ | - |
|
||||
| --van-grid-item-text-font-size | _var(--van-font-size-sm)_ | - |
|
||||
|
@ -179,5 +179,5 @@ import type { GridProps, GridDirection, GridItemProps } from 'vant';
|
||||
| --van-grid-item-content-background | _var(--van-background-2)_ | - |
|
||||
| --van-grid-item-content-active-color | _var(--van-active-color)_ | - |
|
||||
| --van-grid-item-icon-size | _28px_ | - |
|
||||
| --van-grid-item-text-color | _var(--van-gray-7)_ | - |
|
||||
| --van-grid-item-text-color | _var(--van-text-color)_ | - |
|
||||
| --van-grid-item-text-font-size | _var(--van-font-size-sm)_ | - |
|
||||
|
Loading…
x
Reference in New Issue
Block a user