We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca5eee0 commit 509c408Copy full SHA for 509c408
src/App.vue
@@ -12,11 +12,26 @@ export default {
12
components: {
13
SideBar,
14
},
15
- provide() {
16
- return {
17
- colors: colorsData,
18
- };
19
- }
+ provide() {
+ if (colorsData) {
+ return {
+ colors: colorsData,
+ };
20
+ } else {
21
22
+ colors: {
23
+ primary: '#3498db',
24
+ secondary: '#2ecc71',
25
+ downClick: '#e74c3c',
26
+ clicked: 'e',
27
+ hover: '#383444',
28
+ text: 'white',
29
+ background: '#343541',
30
+ sidebar: '#000000',
31
+ },
32
33
+ }
34
35
};
36
</script>
37
src/assets/colors.json
@@ -6,5 +6,5 @@
6
"hover": "#383444",
7
"text": "white",
8
"background": "#343541",
9
- "sidebar": "#000000"
+ "sideBar": "black"
10
}
0 commit comments