Skip to content

Commit c97de25

Browse files
committed
Fix contrast on next/back button on tour
1 parent 1f6af4d commit c97de25

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

  • services/backend-api/client/src/components/PreviewerTour

services/backend-api/client/src/components/PreviewerTour/index.tsx

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -358,9 +358,6 @@ const TourTooltip: React.FC<TourTooltipProps> = ({
358358
<Button
359359
size="xs"
360360
variant="ghost"
361-
colorScheme="gray"
362-
color="gray.300"
363-
_hover={{ bg: "gray.700", color: "white" }}
364361
onClick={onClose}
365362
aria-label={`Close tour. Currently on step ${stepIndex + 1} of ${totalSteps}.`}
366363
ref={closeButtonRef}
@@ -385,13 +382,6 @@ const TourTooltip: React.FC<TourTooltipProps> = ({
385382
<Button
386383
size="sm"
387384
variant="outline"
388-
borderColor="gray.500"
389-
color="gray.300"
390-
_hover={{
391-
bg: "gray.700",
392-
borderColor: "gray.400",
393-
color: "white",
394-
}}
395385
leftIcon={<Icon as={FaArrowLeft} />}
396386
onClick={onPrevious}
397387
aria-label={`Go to previous step: ${
@@ -403,13 +393,10 @@ const TourTooltip: React.FC<TourTooltipProps> = ({
403393
)}
404394
<Button
405395
size="sm"
406-
bg="blue.500"
407-
color="white"
408-
_hover={{ bg: "blue.400" }}
409-
_active={{ bg: "blue.600" }}
410396
rightIcon={stepIndex < totalSteps - 1 ? <Icon as={FaArrowRight} /> : undefined}
411397
onClick={onNext}
412398
tabIndex={0}
399+
colorScheme="blue"
413400
aria-label={
414401
stepIndex < totalSteps - 1
415402
? `Continue to next step: ${

0 commit comments

Comments
 (0)