From e24e2a36313456128b4118a8b0eb354d4da1eec5 Mon Sep 17 00:00:00 2001 From: Elijah Date: Sat, 26 Oct 2024 15:13:01 +0000 Subject: [PATCH] `plain` is not a valid theme --- reflex/components/datadisplay/shiki_code_block.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reflex/components/datadisplay/shiki_code_block.py b/reflex/components/datadisplay/shiki_code_block.py index df0cb5c07..567ef82c4 100644 --- a/reflex/components/datadisplay/shiki_code_block.py +++ b/reflex/components/datadisplay/shiki_code_block.py @@ -254,6 +254,7 @@ LiteralCodeLanguage = Literal[ "pascal", "perl", "php", + "plain", "plsql", "po", "postcss", @@ -370,10 +371,11 @@ LiteralCodeTheme = Literal[ "nord", "one-dark-pro", "one-light", - "plain", "plastic", "poimandres", "red", + # rose-pine themes dont work with the current version of shikijs transformers + # https://github.com/shikijs/shiki/issues/730 "rose-pine", "rose-pine-dawn", "rose-pine-moon",