docs: fix legacy css variables in demo

This commit is contained in:
chenjiahan 2022-09-10 22:43:56 +08:00
parent 845c0b720b
commit b6f2eb3e2a
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ const active = ref('error');
<style lang="less">
.demo-empty {
background: var(--van-background-color-light);
background: var(--van-background-2);
.bottom-button {
width: 160px;

View File

@ -89,7 +89,7 @@ const align = ref('center');
<style lang="less">
.demo-space {
background: var(--van-background-color-light);
background: var(--van-background-2);
.van-doc-demo-block {
padding: 0 var(--van-padding-md);