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

@@ -56,7 +56,7 @@ export default {
}
</script>
<style lang="less" scoped docs>
<style lang="less" scoped>
h4 {
margin: 0 0 10px;
}

View File

@@ -64,27 +64,28 @@ export default {
indicatorPosition: 'inside',
align: 'start',
indicators: [
{ label: 'Bar', value: 'bar' },
{ label: 'Number', value: 'number' },
{ label: 'Dot', value: 'dot' },
{ label: 'None', value: 'none' }
{ label: 'bar', value: 'bar' },
{ label: 'number', value: 'number' },
{ label: 'dot', value: 'dot' },
{ label: 'none', value: 'none' }
],
alignments: [
{ value: 'start', label: 'start' },
{ value: 'end', label: 'end' }
{ label: 'start', value: 'start' },
{ label: 'end', value: 'end' }
],
positions: [
{ label: 'Inside', value: 'inside' },
{ label: 'Outside', value: 'outside' }
{ label: 'inside', value: 'inside' },
{ label: 'outside', value: 'outside' }
]
}
}
}
</script>
<style lang="less" scoped docs>
<style lang="less" scoped>
h4 {
margin: 0 0 10px;
&:not(:first-child) {
margin-top: 10px;
}

View File

@@ -65,7 +65,7 @@ export default {
}
</script>
<style lang="less" scoped docs>
<style lang="less" scoped>
h4 {
margin: 0 0 10px;
}

View File

@@ -53,7 +53,7 @@ export default {
}
</script>
<style lang="less" scoped docs>
<style lang="less" scoped>
h4 {
margin: 0 0 10px;
}

View File

@@ -58,7 +58,7 @@ export default {
}
</script>
<style lang="less" scoped docs>
<style lang="less" scoped>
h4 {
margin: 0 0 10px;
}