File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
packages/next/src/next-devtools/dev-overlay
components/devtools-panel Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change
1
+ import { css } from '../../utils/css'
2
+
1
3
export function DevToolsPanel ( ) {
2
4
// TODO: Remove style; It is to indicate faster in the browser.
3
- return < div className = "text-black" > DevToolsPanel</ div >
5
+ return < div data-nextjs-devtools-panel > DevToolsPanel</ div >
4
6
}
7
+
8
+ export const DEVTOOLS_PANEL_STYLES = css `
9
+ [data-nextjs-devtools-panel ] {
10
+ color : black;
11
+ }
12
+ `
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import { DEV_TOOLS_INFO_RENDER_FILES_STYLES } from '../components/overview/segme
25
25
import { FADER_STYLES } from '../components/fader'
26
26
import { RESTART_SERVER_BUTTON_STYLES } from '../components/errors/error-overlay-toolbar/restart-server-button'
27
27
import { NEXT_LOGO_STYLES } from '../components/devtools-indicator/next-logo'
28
+ import { DEVTOOLS_PANEL_STYLES } from '../components/devtools-panel/devtools-panel'
28
29
29
30
export function ComponentStyles ( ) {
30
31
return (
@@ -56,6 +57,7 @@ export function ComponentStyles() {
56
57
${ DEV_TOOLS_INFO_RENDER_FILES_STYLES }
57
58
${ FADER_STYLES }
58
59
${ NEXT_LOGO_STYLES }
60
+ ${ DEVTOOLS_PANEL_STYLES }
59
61
` }
60
62
</ style >
61
63
)
You can’t perform that action at this time.
0 commit comments