Skip to content

Commit 4eb7e23

Browse files
authored
[dev-overlay] fix dark theme missing close bracket (#76672)
### Why? The dark theme was broken due to invalid CSS syntax been shipped at #76528. ### Follow Up Restore the removed VS Code Extension styled-components as recommended, and apply a real "noop" to CSS template literals so that it can leverage the extension.
1 parent cf99982 commit 4eb7e23

File tree

1 file changed

+2
-0
lines changed
  • packages/next/src/client/components/react-dev-overlay/ui/styles

1 file changed

+2
-0
lines changed

packages/next/src/client/components/react-dev-overlay/ui/styles/dark-theme.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,13 @@ export function DarkTheme() {
112112
:host(.dark) {
113113
${base}
114114
${colors}
115+
}
115116
116117
@media (prefers-color-scheme: dark) {
117118
:host(:not(.light)) {
118119
${base}
119120
${colors}
121+
}
120122
}
121123
`}</style>
122124
)

0 commit comments

Comments
 (0)