@@ -3,6 +3,9 @@ import "shepherd.js/dist/css/shepherd.css";
3
3
4
4
const style = document . createElement ( "style" ) ;
5
5
style . textContent = `
6
+ .shepherd-button-secondary {
7
+ background-color: #6c757d !important;
8
+ }
6
9
.shepherd-button {
7
10
background-color: #050c40 !important;
8
11
color: white !important;
@@ -22,6 +25,11 @@ tour.addStep({
22
25
id : "intro" ,
23
26
text : "Welcome to the Template Playground! This brief tour will help you get acquainted with the key features of the platform." ,
24
27
buttons : [
28
+ {
29
+ text : "Skip" ,
30
+ action : tour . cancel ,
31
+ classes : "shepherd-button-secondary" ,
32
+ } ,
25
33
{
26
34
text : "Next" ,
27
35
action : ( ) => tour . next ( ) ,
@@ -37,6 +45,11 @@ tour.addStep({
37
45
on : "bottom" ,
38
46
} ,
39
47
buttons : [
48
+ {
49
+ text : "Skip" ,
50
+ action : tour . cancel ,
51
+ classes : "shepherd-button-secondary" ,
52
+ } ,
40
53
{
41
54
text : "Next" ,
42
55
action : ( ) => tour . next ( ) ,
@@ -52,6 +65,11 @@ tour.addStep({
52
65
on : "bottom" ,
53
66
} ,
54
67
buttons : [
68
+ {
69
+ text : "Skip" ,
70
+ action : tour . cancel ,
71
+ classes : "shepherd-button-secondary" ,
72
+ } ,
55
73
{
56
74
text : "Next" ,
57
75
action : ( ) => tour . next ( ) ,
@@ -67,6 +85,11 @@ tour.addStep({
67
85
on : "bottom" ,
68
86
} ,
69
87
buttons : [
88
+ {
89
+ text : "Skip" ,
90
+ action : tour . cancel ,
91
+ classes : "shepherd-button-secondary" ,
92
+ } ,
70
93
{
71
94
text : "Next" ,
72
95
action : ( ) => tour . next ( ) ,
@@ -82,6 +105,11 @@ tour.addStep({
82
105
on : "bottom" ,
83
106
} ,
84
107
buttons : [
108
+ {
109
+ text : "Skip" ,
110
+ action : tour . cancel ,
111
+ classes : "shepherd-button-secondary" ,
112
+ } ,
85
113
{
86
114
text : "Next" ,
87
115
action : ( ) => tour . next ( ) ,
0 commit comments