Skip to content

Commit 03b7bbf

Browse files
committed
fix overflow stylign
1 parent d0a51db commit 03b7bbf

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

Diff for: packages/next/src/client/components/react-dev-overlay/ui/components/errors/error-message/error-message.tsx

+6-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const styles = `
7474
background: linear-gradient(
7575
180deg,
7676
rgba(250, 250, 250, 0) 0%,
77-
var(--color-background-200) 100%
77+
var(--color-background-100) 100%
7878
);
7979
}
8080
@@ -96,5 +96,10 @@ export const styles = `
9696
cursor: pointer;
9797
color: var(--color-gray-900);
9898
font-weight: 500;
99+
transition: background-color 0.2s ease;
100+
}
101+
102+
.nextjs__container_errors_expand_button:hover {
103+
background: var(--color-gray-100);
99104
}
100105
`

Diff for: packages/next/src/client/components/react-dev-overlay/ui/styles/colors.tsx

+8-8
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const darkTheme = css`
99
--color-syntax-comment: #a0a0a0;
1010
--color-syntax-constant: #ededed;
1111
--color-syntax-function: #52a9ff;
12-
--color-syntax-keyword: #f76e99;
12+
--color-syntax-keyword: #f76191;
1313
--color-syntax-link: #0ac5b2;
1414
--color-syntax-parameter: #f1a10d;
1515
--color-syntax-punctuation: #ededed;
@@ -147,15 +147,15 @@ export function Colors() {
147147
--color-background-200: #fafafa;
148148
149149
/* Syntax Light */
150-
--color-syntax-comment: #545454;
150+
--color-syntax-comment: #666666;
151151
--color-syntax-constant: #171717;
152-
--color-syntax-function: #0054ad;
153-
--color-syntax-keyword: #a51850;
154-
--color-syntax-link: #066056;
155-
--color-syntax-parameter: #8f3e00;
152+
--color-syntax-function: #0068d6;
153+
--color-syntax-keyword: #c01b5d;
154+
--color-syntax-link: #067a6e;
155+
--color-syntax-parameter: #ad4b00;
156156
--color-syntax-punctuation: #171717;
157-
--color-syntax-string: #036157;
158-
--color-syntax-string-expression: #066056;
157+
--color-syntax-string: #067a6e;
158+
--color-syntax-string-expression: #067a6e;
159159
160160
/* Gray Scale Light */
161161
--color-gray-100: #f2f2f2;

0 commit comments

Comments
 (0)