hello, when creating my app i notice the “color-theme-gray” class doesn’t fill the navbar, i can’t seem to find the right class to do this either, can someone help me out here?
(Check iOS Theme-Color themes)
hello, when creating my app i notice the “color-theme-gray” class doesn’t fill the navbar, i can’t seem to find the right class to do this either, can someone help me out here?
(Check iOS Theme-Color themes)
How about checking CSS variables and set the one you need to required value http://framework7.io/docs/navbar.html#css-variables
got it working, added this in my <head>
<style>/* Invert navigation bars to fill style */
:root,
:root.theme-light,
:root .theme-light {
--f7-bars-bg-color: #373767;
--f7-bars-text-color: #fff;
--f7-bars-link-color: #fff;
--f7-navbar-subtitle-text-color: rgba(255,255,255,0.85);
--f7-bars-border-color: transparent;
--f7-tabbar-link-active-color: #fff;
--f7-tabbar-link-inactive-color: rgba(255,255,255,0.54);
--f7-searchbar-bg-color: #373767;
--f7-searchbar-input-bg-color: #fff;
--f7-searchbar-input-text-color: #000;
--f7-sheet-border-color: transparent;
--f7-tabbar-link-active-border-color: #fff;
}
.appbar,
.navbar,
.toolbar,
.subnavbar,
.calendar-header,
.calendar-footer {
--f7-touch-ripple-color: var(--f7-touch-ripple-white);
--f7-link-highlight-color: var(--f7-link-highlight-white);
--f7-button-text-color: #fff;
--f7-button-pressed-bg-color: rgba(255,255,255,0.1);
}</style>
<style>/* Invert navigation bars to fill style */
:root,
:root.theme-light,
:root .theme-light {
--f7-bars-bg-color: #373767;
--f7-bars-text-color: #fff;
--f7-bars-link-color: #fff;
--f7-navbar-subtitle-text-color: rgba(255,255,255,0.85);
--f7-bars-border-color: transparent;
--f7-tabbar-link-active-color: #fff;
--f7-tabbar-link-inactive-color: rgba(255,255,255,0.54);
--f7-searchbar-bg-color: #373767;
--f7-searchbar-input-bg-color: #fff;
--f7-searchbar-input-text-color: #000;
--f7-sheet-border-color: transparent;
--f7-tabbar-link-active-border-color: #fff;
}
.appbar,
.navbar,
.toolbar,
.subnavbar,
.calendar-header,
.calendar-footer {
--f7-touch-ripple-color: var(--f7-touch-ripple-white);
--f7-link-highlight-color: var(--f7-link-highlight-white);
--f7-button-text-color: #fff;
--f7-button-pressed-bg-color: rgba(255,255,255,0.1);
}</style>
for those wondering, when changing to dark mode the navbar stays the same color.