-
Notifications
You must be signed in to change notification settings - Fork 976
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
Ensure we load stoplight css first so that base styles get overridden #4348
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@GideonShils Looks good, but I don't see any changes in the api fonts. Is there follow-up work that would need to happen?
@runleonarun ahh yeah, this PR just fixes the header fonts so that we're not overriding anything unexpectedly. The actual docs are still using the default Stoplight CSS. I'd say if we want to change things up there, let's do it as a follow up |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK let's merge this then, @GideonShils!
Closes #4346
What are you changing in this pull request and why?
Previously the header on the API docs pages was using the wrong font. This was because the Stoplight styles used for rendering API docs were loading last, and were therefore overriding the page level font. This PR swaps the css to load using the standard docusaurus pattern so that the styles load first, and are overridden later by the expected font styling.
Checklist