Skip to content

Commit

Permalink
ntp: fix regression with theme context/text color (#1409)
Browse files Browse the repository at this point in the history
  • Loading branch information
shakyShane authored Jan 17, 2025
1 parent eed7f79 commit 61e21b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion special-pages/pages/new-tab/app/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function App() {
</div>
</div>
</main>
<div data-theme={main}>
<div class={styles.themeContext} data-theme={main}>
<CustomizerMenuPositionedFixed>
{customizerKind === 'menu' && <CustomizerMenu />}
{customizerKind === 'drawer' && (
Expand Down
4 changes: 3 additions & 1 deletion special-pages/pages/new-tab/app/components/App.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ body[data-animate-background="true"] {
color: var(--ntp-text-normal);
}


.themeContext {
color: var(--ntp-text-normal);
}

.mainLayout {
will-change: transform;
Expand Down

0 comments on commit 61e21b2

Please sign in to comment.