Skip to content

Commit

Permalink
chore(dx): improve color contrast in dark mode for custom formatter (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
花果山大圣 authored Nov 30, 2023
1 parent eaeab78 commit cdb2df7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/runtime-core/src/customFormatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ export function initCustomFormatter() {
}

const vueStyle = { style: 'color:#3ba776' }
const numberStyle = { style: 'color:#0b1bc9' }
const stringStyle = { style: 'color:#b62e24' }
const keywordStyle = { style: 'color:#9d288c' }
const numberStyle = { style: 'color:#1677ff' }
const stringStyle = { style: 'color:#f5222d' }
const keywordStyle = { style: 'color:#eb2f96' }

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

0 comments on commit cdb2df7

Please sign in to comment.