mirror of
https://codeberg.org/Freedium-cfd/web.git
synced 2026-03-11 09:04:37 +00:00
Fixing dark code text in light mode
This commit is contained in:
parent
674bae53f8
commit
59ebd21c44
1 changed files with 1 additions and 1 deletions
|
|
@ -511,7 +511,7 @@ def parse_markups(markups: list):
|
|||
elif markup["type"] == "EM":
|
||||
template = "<em>{{text}}</em>"
|
||||
elif markup["type"] == "CODE":
|
||||
template = "<code class='p-1 dark:bg-gray-600'>{{text}}</code>"
|
||||
template = "<code class='p-1 bg-gray-300 dark:bg-gray-600'>{{text}}</code>"
|
||||
else:
|
||||
logger.error(f"Unknown markup type: {markup}")
|
||||
continue
|
||||
|
|
|
|||
Loading…
Reference in a new issue