Use foundation variables to set caption color

This way we can simplify the code a bit since Foundation automatically
chooses the text color of the caption so there's enough contrast with
the background color defined in `$orbit-caption-background`.
This commit is contained in:
Javi Martín
2022-10-13 00:07:34 +02:00
parent 0f7637f7e2
commit 3aa73110c5
2 changed files with 1 additions and 5 deletions

View File

@@ -43,6 +43,7 @@ $small-font-size: rem-calc(14) !default;
$abbr-underline: none !default;
$orbit-bullet-diameter: 0.8rem !default;
$orbit-caption-background: #eee;
$show-header-for-stacked: true !default;

View File

@@ -1461,11 +1461,6 @@
position: relative;
}
.orbit-caption {
background: #eee;
color: $text;
}
.orbit-next,
.orbit-previous {
background: rgba(34, 34, 34, 0.25);