Skip to content

Commit 00448f6

Browse files
committed
docs(scripts): add todo
1 parent ec0bf01 commit 00448f6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

core/scripts/testing/scripts.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)