Set fixed iOS/Android theme for all platforms in rc0 release candidate

Hi,

Does anyone know how to override the theme for ios devices as android or vice versa. I saw some examples on the forum of this in example

BUT now since NgModule is being used in the release candidate how can we do it.

ALSO does anyone know how to override the style of one component ONLY for all platforms (e.g. use option button style of android for ios and windows)

Looking for this as well. This doesn’t work anymore since @app doesn’t exist
@App({ templateUrl: 'build/app.html', config: { mode: 'md' } })

On your app.module.ts file add { mode: 'md' } to apply Material Design style on every OS:

@NgModule({
    declarations: [
        MyApp,
        ...
    ],
    imports: [
        IonicModule.forRoot(MyApp, { mode: 'md' })
    ],
    bootstrap: [IonicApp],
    entryComponents: [
        MyApp,
        ...
    ],
    providers: []
})
3 Likes

That worked, thank you!

Praise be to Allah

Thank you

How can I use mode:‘ios’ only for tab icons?