-
Notifications
You must be signed in to change notification settings - Fork 140
fix: design update to Docs tab #468
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
Conversation
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.
LGTM
Lets merge this and I'll look into backporting these changes to deno_doc in the coming days
frontend/static/styles.css
Outdated
.ddoc .markdown_summary :not(pre) > code { | ||
@apply bg-jsr-cyan-100/70 !important; | ||
@apply px-1.5 !important; | ||
} |
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.
actually this is problematic: inline code can have links, which are also blue
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.
updated to be a slightly lighter background so links pass contrast checks and wrote a style to apply link styles to links within markdown_summary (fix #451)
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.
blocking due to issues
Quite a long list of style changes affecting the Docs tab. I did them all in the jsr repo instead of ddoc because it was an easier dev workflow but it may be better to use this as a reference for what needs to change in deno_doc with the goal of eliminating nearly every
body .ddoc
style out of the stylesheet with the exception of any jsr theme colors.If we want to review and merge this we can but if we want to leave it as a TODO list and then close it out when deno_doc gets the updates, that's fine too.
also fixes #451