chore: demo using css vars (#9265)

This commit is contained in:
neverland
2021-08-17 09:50:28 +08:00
committed by GitHub
parent 42888a1c22
commit 33996db3fa
42 changed files with 85 additions and 168 deletions
+2 -4
View File
@@ -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>