Skip to content

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

Merged
merged 6 commits into from
Apr 30, 2024
Merged

fix: design update to Docs tab #468

merged 6 commits into from
Apr 30, 2024

Conversation

donjo
Copy link
Member

@donjo donjo commented Apr 30, 2024

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

jsr test_@oak_oak_doc

@donjo donjo requested review from lucacasonato and crowlKats April 30, 2024 01:41
Copy link
Collaborator

@crowlKats crowlKats left a 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

Comment on lines 263 to 266
.ddoc .markdown_summary :not(pre) > code {
@apply bg-jsr-cyan-100/70 !important;
@apply px-1.5 !important;
}
Copy link
Collaborator

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

Copy link
Member Author

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)

Copy link
Collaborator

@crowlKats crowlKats left a 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

@donjo donjo added this pull request to the merge queue Apr 30, 2024
Merged via the queue into main with commit adc1f97 Apr 30, 2024
8 checks passed
@donjo donjo deleted the johnd/ddoc-styles branch April 30, 2024 15:31
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

Successfully merging this pull request may close these issues.

Links in descriptions on the docs overview page are un-styled
2 participants