Skip to content

Commit 5e25e24

Browse files
committed
ntp: fix regression with theme context/text color
1 parent eed7f79 commit 5e25e24

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

special-pages/pages/new-tab/app/components/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export function App() {
6161
</div>
6262
</div>
6363
</main>
64-
<div data-theme={main}>
64+
<div class={styles.themeContext} data-theme={main}>
6565
<CustomizerMenuPositionedFixed>
6666
{customizerKind === 'menu' && <CustomizerMenu />}
6767
{customizerKind === 'drawer' && (

special-pages/pages/new-tab/app/components/App.module.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ body[data-animate-background="true"] {
5252
color: var(--ntp-text-normal);
5353
}
5454

55-
55+
.themeContext {
56+
color: var(--ntp-text-normal);
57+
}
5658

5759
.mainLayout {
5860
will-change: transform;

0 commit comments

Comments
 (0)