@@ -932,8 +932,8 @@ def create_tour(self, name=None, theme=None):
932
932
name - If creating multiple tours, use this to select the
933
933
tour you wish to add steps to.
934
934
theme - Sets the default theme for the tour.
935
- Choose from "arrows", "dark", "default", "square", and
936
- "square-dark". ("arrows" is used if None is selected.)
935
+ Choose from "light"/" arrows", "dark", "default", "square",
936
+ and "square-dark". ("arrows" is used if None is selected.)
937
937
"""
938
938
if not name :
939
939
name = "default"
@@ -947,6 +947,8 @@ def create_tour(self, name=None, theme=None):
947
947
shepherd_theme = "shepherd-theme-default"
948
948
elif theme == "dark" :
949
949
shepherd_theme = "shepherd-theme-dark"
950
+ elif theme == "light" :
951
+ shepherd_theme = "shepherd-theme-arrows"
950
952
elif theme == "arrows" :
951
953
shepherd_theme = "shepherd-theme-arrows"
952
954
elif theme == "square" :
@@ -995,8 +997,8 @@ def add_tour_step(self, message, selector=None, name=None,
995
997
tour you wish to add steps to.
996
998
title - Additional header text that appears above the message.
997
999
theme - (NON-Bootstrap Tours ONLY) The styling of the tour step.
998
- Choose from "arrows", "dark", "default", "square", and
999
- "square-dark". ("arrows" is used if None is selected.)
1000
+ Choose from "light"/" arrows", "dark", "default", "square",
1001
+ and "square-dark". ("arrows" is used if None is selected.)
1000
1002
alignment - Choose from "top", "bottom", "left", and "right".
1001
1003
("top" is the default alignment).
1002
1004
duration - (Bootstrap Tours ONLY) The amount of time, in seconds,
@@ -1047,15 +1049,17 @@ def __add_shepherd_tour_step(self, message, selector=None, name=None,
1047
1049
tour you wish to add steps to.
1048
1050
title - Additional header text that appears above the message.
1049
1051
theme - (NON-Bootstrap Tours ONLY) The styling of the tour step.
1050
- Choose from "arrows", "dark", "default", "square", and
1051
- "square-dark". ("arrows" is used if None is selected.)
1052
+ Choose from "light"/" arrows", "dark", "default", "square",
1053
+ and "square-dark". ("arrows" is used if None is selected.)
1052
1054
alignment - Choose from "top", "bottom", "left", and "right".
1053
1055
("top" is the default alignment).
1054
1056
"""
1055
1057
if theme == "default" :
1056
1058
shepherd_theme = "shepherd-theme-default"
1057
1059
elif theme == "dark" :
1058
1060
shepherd_theme = "shepherd-theme-dark"
1061
+ elif theme == "light" :
1062
+ shepherd_theme = "shepherd-theme-arrows"
1059
1063
elif theme == "arrows" :
1060
1064
shepherd_theme = "shepherd-theme-arrows"
1061
1065
elif theme == "square" :
0 commit comments