From f3fb9766e4901a4cae182171da3f562ee31db0e1 Mon Sep 17 00:00:00 2001 From: Milan Holemans <11723921+milanholemans@users.noreply.github.com> Date: Fri, 25 Oct 2024 22:55:40 +0200 Subject: [PATCH] Fixes syntax highlighting --- docs/src/config/darkCodeTheme.ts | 7 +++++++ docs/src/config/lightCodeTheme.ts | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/docs/src/config/darkCodeTheme.ts b/docs/src/config/darkCodeTheme.ts index 185fb649801..3ee9f4a950b 100644 --- a/docs/src/config/darkCodeTheme.ts +++ b/docs/src/config/darkCodeTheme.ts @@ -128,6 +128,13 @@ export default { style: { color: '#E3E3E3' } + }, + { + types: ['boolean'], + languages: ['json'], + style: { + color: '#569CD6' + } } ] } satisfies PrismTheme; \ No newline at end of file diff --git a/docs/src/config/lightCodeTheme.ts b/docs/src/config/lightCodeTheme.ts index 0e6878ccd8a..1623f6bbc5a 100644 --- a/docs/src/config/lightCodeTheme.ts +++ b/docs/src/config/lightCodeTheme.ts @@ -116,6 +116,13 @@ export default { style: { color: '#A0A0A0' } + }, + { + types: ['boolean'], + languages: ['json'], + style: { + color: '#0000FF' + } } ] } satisfies PrismTheme; \ No newline at end of file