File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -69,13 +69,16 @@ export default Vue.extend({
69
69
layout: ' main' ,
70
70
data() {
71
71
return {
72
+ isDarkMode: this .$isDarkMode ,
72
73
isSkipTutorial: this .$isSkipTutorial ,
73
74
}
74
75
},
75
76
async mounted() {
76
77
const { default : Driver } = await import (' driver.js' )
77
78
const driver = new Driver ({
78
79
closeBtnText: ' Skip' ,
80
+ className: ' dark:filter invert' ,
81
+ stageBackground: this .isDarkMode ? ' hsl(221deg 30% 70%)' : ' #ffffff' ,
79
82
onReset : () => {
80
83
document .cookie = ' isSkipTutorial=true; max-age=31536000; path=/;'
81
84
},
@@ -86,14 +89,14 @@ export default Vue.extend({
86
89
{
87
90
element: ' #lhsLabel' ,
88
91
popover: {
89
- title: ' Labels ' ,
92
+ title: ' New feature ' ,
90
93
description: ' Now you can add labels to text blocks' ,
91
94
},
92
95
},
93
96
{
94
97
element: ' #rhsLabel' ,
95
98
popover: {
96
- title: ' Labels ' ,
99
+ title: ' New feature ' ,
97
100
description: ' Now you can add labels to text blocks' ,
98
101
},
99
102
},
You can’t perform that action at this time.
0 commit comments