chore: demo using css vars (#9265)
This commit is contained in:
@@ -120,8 +120,6 @@ const onRefresh = (index: number) => {
|
||||
</template>
|
||||
|
||||
<style lang="less">
|
||||
@import '../../style/var';
|
||||
|
||||
.demo-list {
|
||||
.van-cell {
|
||||
text-align: center;
|
||||
@@ -130,7 +128,7 @@ const onRefresh = (index: number) => {
|
||||
.page-desc {
|
||||
margin: 0;
|
||||
padding: 5px 0;
|
||||
color: @gray-7;
|
||||
color: var(--van-gray-7);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
|
||||
@@ -144,7 +142,7 @@ const onRefresh = (index: number) => {
|
||||
}
|
||||
|
||||
.van-checkbox__label {
|
||||
color: @gray-7;
|
||||
color: var(--van-gray-7);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user