Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Let us theme the Path #860

Closed
wizacedric opened this issue Mar 20, 2019 · 1 comment
Closed

[Feature Request] Let us theme the Path #860

wizacedric opened this issue Mar 20, 2019 · 1 comment

Comments

@wizacedric
Copy link
Contributor

wizacedric commented Mar 20, 2019

Hello, and thank you for ReDoc.

I have an issue where I'm using a nice font for the headings of the document, but that font does not display code very well. Since the same font is used in the "path" sections (eg. GET /users/{userId}), they are not very legible.

I would like to see a theming option under typography, named "paths", which would inherit from headings for backward-compatibility purposes, and would let me change the fontFamily and fontWeight of the "path" sections in the document independantly from the "headings".

Would you accept a PR?

@RomanHotsiy
Copy link
Member

Ah. Why this font is used for "path" in the first place?. Should be a mistake!

I think here is better to use code font: https://github.com/Rebilly/ReDoc/blob/master/src/theme.ts#L109

PR would be appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants