swagger-api / swagger-api/swagger-ui

Fix hideous purple color for <code> in markdown

Open
#6,500 2 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cat: style & presentation
Dominant language
JavaScript
Stars
29k
Forks
9.3k
Avg merge
2d 23h
Merged PRs (30d)
25

Description

image

Wow, so snazzy. For some reason this appears to be assigned the color for the HEAD method:

https://github.com/swagger-api/swagger-ui/blob/1d1e2346610f72a486f23e65cbf1901c0a9f4d74/src/style/_variables.scss#L112

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/style/_variables.scss at the linked line and trace where the HEAD method color is applied to markdown elements. Compare the relevant style rules with the screenshot and verify that markdown code no longer uses the unintended purple color.

Written by the indexing model from the issue text.

Assessment

Tech stack
scss
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.