diff --git a/.secrets-baseline b/.secrets-baseline index 992b28f..fa4dcba 100644 --- a/.secrets-baseline +++ b/.secrets-baseline @@ -37,4 +37,4 @@ ], "results": {}, "version": "0.12.4" -} +} \ No newline at end of file diff --git a/i18n/translations/de-DE.json b/i18n/translations/de-DE.json index 040ac67..8598dbe 100644 --- a/i18n/translations/de-DE.json +++ b/i18n/translations/de-DE.json @@ -133,6 +133,7 @@ "sorry-we-could-not-find-it": "Entschuldigung, wir konnten es nicht finden..." }, "app-context-not-correct-used": "Der App-Kontext wurde nicht korrekt verwendet", + "theme-context-not-correct-used": "Der Theme-Kontext wurde nicht korrekt verwendet", "package-meta-is-required-at-detail-context": "packageMeta wird bei DetailContext benötigt" } } diff --git a/i18n/translations/en-US.json b/i18n/translations/en-US.json index d3f8df7..b0f3ca8 100644 --- a/i18n/translations/en-US.json +++ b/i18n/translations/en-US.json @@ -133,6 +133,7 @@ "sorry-we-could-not-find-it": "Sorry, we couldn't find it..." }, "app-context-not-correct-used": "The app context was not correct used", + "theme-context-not-correct-used": "The theme context was not correct used", "package-meta-is-required-at-detail-context": "packageMeta is required at DetailContext" } } \ No newline at end of file diff --git a/i18n/translations/es-ES.json b/i18n/translations/es-ES.json index 8258789..204664d 100644 --- a/i18n/translations/es-ES.json +++ b/i18n/translations/es-ES.json @@ -133,6 +133,7 @@ "sorry-we-could-not-find-it": "Lo siento, no hemos podido encontrarlo..." }, "app-context-not-correct-used": "El contexto de la aplicación no fue correctamente usado", + "theme-context-not-correct-used": "El contexto del tema no fue correctamente usado", "package-meta-is-required-at-detail-context": "packageMeta es requerido en DetailContext" } } diff --git a/i18n/translations/pt-BR.json b/i18n/translations/pt-BR.json index 2b1c3a0..f3a8cf9 100644 --- a/i18n/translations/pt-BR.json +++ b/i18n/translations/pt-BR.json @@ -133,6 +133,7 @@ "sorry-we-could-not-find-it": "Desculpe, não conseguimos encontrar..." }, "app-context-not-correct-used": "O contexto do aplicativo não foi usado corretamente", + "theme-context-not-correct-used": "O contexto do tema não foi usado corretamente", "package-meta-is-required-at-detail-context": "packageMeta é requerido em DetailContext" } } \ No newline at end of file diff --git a/src/App/App.tsx b/src/App/App.tsx index 2b21059..99aa2b0 100644 --- a/src/App/App.tsx +++ b/src/App/App.tsx @@ -19,7 +19,7 @@ import AppRoute, { history } from './AppRoute'; import loadDayJSLocale from './load-dayjs-locale'; const StyledBox = styled(Box)<{ theme?: Theme }>(({ theme }) => ({ - backgroundColor: theme && theme.palette.white, + backgroundColor: theme?.palette.background.default, })); const StyledBoxContent = styled(Box)<{ theme?: Theme }>(({ theme }) => ({ diff --git a/src/App/__snapshots__/App.test.tsx.snap b/src/App/__snapshots__/App.test.tsx.snap index 057a7c3..b76b1c4 100644 --- a/src/App/__snapshots__/App.test.tsx.snap +++ b/src/App/__snapshots__/App.test.tsx.snap @@ -522,6 +522,30 @@ exports[` should display the Header component 1`] = ` class="MuiTouchRipple-root" /> + + + +