feat: show all styles in source code

This commit is contained in:
Justineo
2021-09-15 20:03:51 +08:00
parent 7b723e469b
commit 97aa5e7839
134 changed files with 349 additions and 300 deletions

View File

@@ -27,16 +27,15 @@ export default {
}
</script>
<style lang="less" scoped docs>
@import "~veui-theme-dls/lib.less";
<style lang="less" scoped>
article {
height: 200px;
}
.target {
.size(80px);
background: @veui-gray-color-6;
width: 80px;
height: 80px;
background: #e7e7e7;
display: inline-flex;
margin-right: 40px;
align-items: center;
@@ -45,7 +44,8 @@ article {
}
.container {
.size(100%, 300px);
background: @veui-gray-color-8;
width: 100%;
height: 300px;
background: #f7f7f7;
}
</style>

View File

@@ -18,11 +18,11 @@ export default {
}
</script>
<style lang="less" scoped docs>
@import "~veui-theme-dls/lib.less";
<style lang="less" scoped>
.target {
.size(80px);
width: 80px;
height: 80px;
background: @veui-gray-color-6;
}
</style>

View File

@@ -23,16 +23,16 @@ export default {
}
</script>
<style lang="less" scoped docs>
@import "~veui-theme-dls/lib.less";
<style lang="less" scoped>
.target {
.size(80px);
background: @veui-gray-color-6;
width: 80px;
height: 80px;
background: #e7e7e7;
}
.container {
.size(100%, 300px);
background: @veui-gray-color-8;
width: 100%;
height: 300px;
background: #f7f7f7;
}
</style>

View File

@@ -28,12 +28,11 @@ export default {
}
</script>
<style lang="less" scoped docs>
@import "~veui-theme-dls/lib.less";
<style lang="less" scoped>
.target {
.size(80px);
background: @veui-gray-color-6;
width: 80px;
height: 80px;
background: #e7e7e7;
display: inline-flex;
margin-right: 40px;
align-items: center;
@@ -42,7 +41,8 @@ export default {
}
.container {
.size(100%, 300px);
background: @veui-gray-color-8;
width: 100%;
height: 300px;
background: #f7f7f7;
}
</style>