style(TreeSelect): using primary color

This commit is contained in:
chenjiahan 2022-02-20 20:24:11 +08:00
parent fcd91cb0b0
commit cce3ceb5b6
4 changed files with 4 additions and 3 deletions

View File

@ -31,6 +31,7 @@
- Sidebar
- Steps
- Tabs
- TreeSelect
其他:

View File

@ -249,6 +249,6 @@ The component provides the following CSS variables, which can be used to customi
| --van-tree-select-content-background | _var(--van-background-2)_ | - |
| --van-tree-select-nav-item-padding | _14px var(--van-padding-sm)_ | - |
| --van-tree-select-item-height | _48px_ | - |
| --van-tree-select-item-active-color | _var(--van-danger-color)_ | - |
| --van-tree-select-item-active-color | _var(--van-primary-color)_ | - |
| --van-tree-select-item-disabled-color | _var(--van-gray-5)_ | - |
| --van-tree-select-item-selected-size | _16px_ | - |

View File

@ -255,6 +255,6 @@ import type { TreeSelectItem, TreeSelectChild, TreeSelectProps } from 'vant';
| --van-tree-select-content-background | _var(--van-background-2)_ | - |
| --van-tree-select-nav-item-padding | _14px var(--van-padding-sm)_ | - |
| --van-tree-select-item-height | _48px_ | - |
| --van-tree-select-item-active-color | _var(--van-danger-color)_ | - |
| --van-tree-select-item-active-color | _var(--van-primary-color)_ | - |
| --van-tree-select-item-disabled-color | _var(--van-gray-5)_ | - |
| --van-tree-select-item-selected-size | _16px_ | - |

View File

@ -4,7 +4,7 @@ body {
--van-tree-select-content-background: var(--van-background-2);
--van-tree-select-nav-item-padding: 14px var(--van-padding-sm);
--van-tree-select-item-height: 48px;
--van-tree-select-item-active-color: var(--van-danger-color);
--van-tree-select-item-active-color: var(--van-primary-color);
--van-tree-select-item-disabled-color: var(--van-gray-5);
--van-tree-select-item-selected-size: 16px;
}