mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00

Closes #229. Closes #236 Squashed commit of the following: commit f566321e54937b8d31a8d1f85948ab5d984b9e37 Author: mhartington <mikehartington@gmail.com> Date: Fri Oct 2 11:03:50 2015 -0400 feat(ionTabs): organize code and clean font sizes commit 9ee1e28f0b01e9e195bc24a65066a57d66e5ec50 Author: mhartington <mikehartington@gmail.com> Date: Fri Oct 2 10:51:36 2015 -0400 feat(ionTabs): move scss to tabs.scss commit 3eba74c27c8eefe6e61f8f3ac12742edb7181772 Author: mhartington <mikehartington@gmail.com> Date: Thu Oct 1 16:23:37 2015 -0400 feat(ionTabs): add test commit 34f61431d41283fc8e5ed2f64e0874659072660b Author: mhartington <mikehartington@gmail.com> Date: Thu Oct 1 16:13:05 2015 -0400 feat(ionTabs): reuse tabBarIcons commit 8c6f0edb17bcc6ff0c5f8b7be66f2be8a6775d48 Author: mhartington <mikehartington@gmail.com> Date: Thu Oct 1 15:56:29 2015 -0400 feat(ionTabs): hide tab icon for md
55 lines
1.1 KiB
TypeScript
55 lines
1.1 KiB
TypeScript
|
|
import {IonicConfig} from './config';
|
|
|
|
|
|
// iOS Mode Settings
|
|
IonicConfig.modeConfig('ios', {
|
|
|
|
actionSheetEnter: 'action-sheet-slide-in',
|
|
actionSheetLeave: 'action-sheet-slide-out',
|
|
actionSheetCancelIcon: '',
|
|
actionSheetDestructiveIcon: '',
|
|
|
|
backButtonText: 'Back',
|
|
backButtonIcon: 'ion-ios-arrow-back',
|
|
|
|
iconMode: 'ios',
|
|
|
|
modalEnter: 'modal-slide-in',
|
|
modalLeave: 'modal-slide-out',
|
|
|
|
tabBarPlacement: 'bottom',
|
|
viewTransition: 'ios',
|
|
|
|
popupPopIn: 'popup-pop-in',
|
|
popupPopOut: 'popup-pop-out',
|
|
});
|
|
|
|
|
|
// Material Design Mode Settings
|
|
IonicConfig.modeConfig('md', {
|
|
|
|
actionSheetEnter: 'action-sheet-md-slide-in',
|
|
actionSheetLeave: 'action-sheet-md-slide-out',
|
|
actionSheetCancelIcon: 'ion-md-close',
|
|
actionSheetDestructiveIcon: 'ion-md-trash',
|
|
|
|
backButtonText: '',
|
|
backButtonIcon: 'ion-md-arrow-back',
|
|
|
|
iconMode: 'md',
|
|
|
|
modalEnter: 'modal-md-slide-in',
|
|
modalLeave: 'modal-md-slide-out',
|
|
|
|
tabBarPlacement: 'top',
|
|
tabBarIcons: 'hide',
|
|
viewTransition: 'md',
|
|
|
|
popupPopIn: 'popup-md-pop-in',
|
|
popupPopOut: 'popup-md-pop-out',
|
|
|
|
type: 'overlay',
|
|
mdRipple: true,
|
|
});
|