Fix swiper bullets invisible in dark mode

master
Skylar Ittner 2 years ago
parent 85681b0f8a
commit d8f58a0a7e

@ -9,6 +9,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
--translucent-color: rgba(255,255,255,0.8); --translucent-color: rgba(255,255,255,0.8);
--solid-translucent-color: #e8f9fe; /* Halfway between the background color and white */ --solid-translucent-color: #e8f9fe; /* Halfway between the background color and white */
--background-image: url(../images/background.svg); --background-image: url(../images/background.svg);
--swiper-bullet-background-color: #000;
} }
.dark, .theme-dark { .dark, .theme-dark {
@ -16,6 +17,14 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
--translucent-color: rgba(0,0,0,0.8); --translucent-color: rgba(0,0,0,0.8);
--solid-translucent-color: black; --solid-translucent-color: black;
--background-image: url(../images/background-transparent.svg); --background-image: url(../images/background-transparent.svg);
--swiper-bullet-background-color: #fff;
}
.swiper-pagination-bullet {
background-color: var(--swiper-bullet-background-color);
}
.swiper-pagination-bullet-active {
background-color: var(--swiper-pagination-color,var(--swiper-theme-color));
} }

@ -12,7 +12,7 @@ var app = new Framework7({
root: "#app", root: "#app",
name: "Helena Express", name: "Helena Express",
id: "com.netsyms.helenaexpress.app", id: "com.netsyms.helenaexpress.app",
theme: "ios", theme: "auto",
card: { card: {
swipeToClose: false, swipeToClose: false,
hideNavbarOnOpen: false, hideNavbarOnOpen: false,

Loading…
Cancel
Save