Skip to content

Commit b56af43

Browse files
committed
fuckin with colors
1 parent caeea72 commit b56af43

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

src/components/Tree.vue

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ export default {
2121
},
2222
computed: {
2323
...mapState(['componentMap']),
24-
// getComponentMap () {
25-
// return this.$store.state.componentMap
26-
// },
2724
computedTree () {
2825
return this.buildTree()
2926
}
@@ -66,14 +63,11 @@ export default {
6663
let build = this.transformToTree(this.componentMap)
6764
return build['App']
6865
}
69-
},
70-
mounted () {
71-
this.buildTree()
7266
}
7367
}
7468
</script>
7569

76-
<style>
70+
<style lang="stylus">
7771
.container {
7872
height: 100%;
7973
width: 100%;
@@ -92,12 +86,12 @@ export default {
9286
}
9387
/* changes the circle node color */
9488
.treeclass .nodetree circle {
95-
fill: rgb(232, 225, 16);
89+
fill: #A2D9FF;
9690
}
9791
/* changes the stroke color */
9892
.treeclass .linktree {
99-
stroke: rgb(232, 225, 16) !important;
100-
stroke-opacity: .4;
101-
stroke-width: 2px;
93+
stroke: $secondary !important;
94+
stroke-opacity: 1;
95+
stroke-width: 8px;
10296
}
10397
</style>

src/css/quasar.variables.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// Tip: Use the "Theme Builder" on Quasar's documentation website.
1111

1212
$primary = #737578
13-
$secondary = #fd5f00
13+
$secondary = #2D95CD
1414
$accent = #9C27B0
1515
$subaccent = #454d66
1616
$subaccentbtn = #2c384d

0 commit comments

Comments
 (0)