H1 in markdown block uses colors.primary.main instead of colors.text.primary
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 25.9k
- Forks
- 2.4k
- Avg merge
- 13h 10m
- Merged PRs (30d)
- 4
Description
Describe the bug
H1 headers in markdown bodies has its color property set to colors.primary.main.
Expected behavior
H1 headers in markdown bodies should have its color property set to colors.text.primary.
Screenshots
Additional context
Code from src/components/Markdown/styledelements.tsx confirms that H1 has its color property set to colors.primary.main while H2 has its color property set to colors.text.primary.
Contributor guide
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.
Research direction
Open src/components/Markdown/styledelements.tsx and compare the H1 and H2 style definitions, focusing on their color properties. Verify the rendered H1 color against the expected text color and run the repository's relevant checks if available; done means H1 markdown uses the same intended text-color token as described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 65/100