How change the color adopt dyanmically for light / dark mode
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- react, tailwindcss, typescript
- Domain
- frontend
Research direction
Start at the shown MarkdownPreview usage and inspect how its rendered text and code colors are set against the host Tailwind light/dark switch. Use the provided example as the reproduction case; done means the preview adopts the host text colors correctly in both modes.
Written by the indexing model from the issue text.
Description
{children}
) : (
{children}
);
},
}}
/>
Hi, currently the code deosn't respect any text color settings
any help?
my porject has it's own light / dark switch usign tailwindcss, seems Makdownpreview can not utotiamcally adop for it
- Dominant language
- TypeScript
- Stars
- 350
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from uiwjs/react-markdown-preview
-
Difficulty 3/5 1-2 days Newbie friendliness 62/100
uiwjs/react-markdown-preview#292 ·
-
Error when evaluating SSR module virtual:react-router/server-build: Unknown file extension ".css"Open
Difficulty 3/5 1-2 days Newbie friendliness 30/100
uiwjs/react-markdown-preview#288 ·
-
Bundle too heavy?Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
uiwjs/react-markdown-preview#286 · 1 comment ·
-
Strikethrough Error!Open
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
uiwjs/react-markdown-preview#284 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
uiwjs/react-markdown-preview#281 · 1 comment · 2 reactions ·
All issues in uiwjs/react-markdown-preview
Similar issues
-
enhancement good first issue priority: low size: XS
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
streamplace/streamplace#1351 ·
Maintainers usually reply within 2 days
-
Link Checker ReportOpenautomated issue report
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
databendlabs/databend-docs#3511 ·
-
automated issue report
Difficulty 2/5 1-3 hours Newbie friendliness 65/100