File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -111,10 +111,13 @@ const DEFAULT_THEME = 'md';
111111
112112 // If a specific palette is requested, modify the palette structure
113113 // to set the enabled property to 'always'
114+ // TODO(FW-4004): Implement dark mode
114115 if ( paletteName === 'dark' && theme . palette ?. dark ) {
115116 theme . palette . dark . enabled = 'always' ;
117+ // TODO(FW-4005): Implement high contrast mode
116118 } else if ( paletteName === 'high-contrast' && theme . palette ?. highContrast ) {
117119 theme . palette . highContrast . enabled = 'always' ;
120+ // TODO(FW-4005): Implement high contrast dark mode
118121 } else if ( paletteName === 'high-contrast-dark' && theme . palette ?. highContrastDark ) {
119122 theme . palette . highContrastDark . enabled = 'always' ;
120123 }
@@ -123,8 +126,6 @@ const DEFAULT_THEME = 'md';
123126 window . Ionic = window . Ionic || { } ;
124127 window . Ionic . config = window . Ionic . config || { } ;
125128 window . Ionic . config . customTheme = theme ;
126- console . log ( `Applied ${ themeName } theme with ${ paletteName } palette.` ) ;
127- console . log ( 'theme:' , theme ) ;
128129
129130 // Re-apply the global theme
130131 if ( window . Ionic . config . get && window . Ionic . config . set ) {
You can’t perform that action at this time.
0 commit comments