Unverified Commit 4eb7e23b authored by Jiwon Choi's avatar Jiwon Choi Committed by GitHub

[dev-overlay] fix dark theme missing close bracket (#76672)

### Why?

The dark theme was broken due to invalid CSS syntax been shipped at
https://github.com/vercel/next.js/issues/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.
parent cf99982e
......@@ -112,11 +112,13 @@ export function DarkTheme() {
:host(.dark) {
${base}
${colors}
}
@media (prefers-color-scheme: dark) {
:host(:not(.light)) {
${base}
${colors}
}
}
`}</style>
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment