Skip to content

Commit cdb2df7

Browse files
authored
chore(dx): improve color contrast in dark mode for custom formatter (#8704)
1 parent eaeab78 commit cdb2df7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/runtime-core/src/customFormatter.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ export function initCustomFormatter() {
1111
}
1212

1313
const vueStyle = { style: 'color:#3ba776' }
14-
const numberStyle = { style: 'color:#0b1bc9' }
15-
const stringStyle = { style: 'color:#b62e24' }
16-
const keywordStyle = { style: 'color:#9d288c' }
14+
const numberStyle = { style: 'color:#1677ff' }
15+
const stringStyle = { style: 'color:#f5222d' }
16+
const keywordStyle = { style: 'color:#eb2f96' }
1717

1818
// custom formatter for Chrome
1919
// https://www.mattzeunert.com/2016/02/19/custom-chrome-devtools-object-formatters.html

0 commit comments

Comments
 (0)