Skip to content

Commit

Permalink
fix(overlay): adjust the color of punctuations (#11388)
Browse files Browse the repository at this point in the history
* fix(overlay): adjust the color of punctuations

* chore: add changeset
  • Loading branch information
mingjunlu authored Jul 1, 2024
1 parent e60aab9 commit 3a223b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/fair-wolves-move.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Adjusts the color of punctuations in error overlay.
2 changes: 1 addition & 1 deletion packages/astro/src/core/errors/overlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const style = /* css */ `
--astro-code-token-parameter: #aa0000;
--astro-code-token-function: #4ca48f;
--astro-code-token-string-expression: #9f722a;
--astro-code-token-punctuation: #ffffff;
--astro-code-token-punctuation: #000000;
--astro-code-token-link: #9f722a;
}
Expand Down

0 comments on commit 3a223b4

Please sign in to comment.