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

@@ -36,12 +36,11 @@ export default {
}
</script>
<style lang="less" scoped docs>
@import "~veui-theme-dls/lib.less";
<style lang="less" scoped>
.box {
.size(500px, 100px);
background: @veui-gray-color-8;
width: 500px;
height: 100px;
background: #f7f7f7;
display: flex;
align-items: center;
justify-content: center;

View File

@@ -43,14 +43,13 @@ export default {
}
</script>
<style lang="less" scoped docs>
@import "~veui-theme-dls/lib.less";
<style lang="less" scoped>
.box1,
.box2,
.box3 {
.size(200px, 100px);
background: @veui-gray-color-8;
width: 200px;
height: 100px;
background: #f7f7f7;
margin-right: 30px;
display: inline-flex;
align-items: center;

View File

@@ -31,12 +31,11 @@ export default {
}
</script>
<style lang="less" scoped docs>
@import "~veui-theme-dls/lib.less";
<style lang="less" scoped>
.box {
.size(500px, 100px);
background: @veui-gray-color-8;
width: 500px;
height: 100px;
background: #f7f7f7;
display: flex;
align-items: center;
justify-content: center;