Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs: underline URLs, change contrast in syntax highlighting#8225

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
JoshuaKGoldberg merged 13 commits intotypescript-eslint:mainfromlucas-amberg:main
Jan 25, 2024

Conversation

lucas-amberg
Copy link
Contributor

@lucas-amberglucas-amberg commentedJan 8, 2024
edited
Loading

PR Checklist

Overview

For URL Underlines: Updated CSS to add underlines to URLs and added another rule to remove underlines from the table of contents, next page buttons, edit page button, and menu sidebars along with the social media links in the footer (as they can be distinguished with the external link icon).

For Syntax Highlighting: Checkedaxe Devtools on multiple pages of documentation to find contrast issues in syntax highlighting and adjusted CSS to improve contrast ratio to be >4.5:1 as specified.

@typescript-eslint
Copy link
Contributor

Thanks for the PR,@lucas-amberg!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently onhttps://opencollective.com/typescript-eslint.

@netlifyNetlify
Copy link

netlifybot commentedJan 8, 2024
edited
Loading

Deploy Preview fortypescript-eslint ready!

NameLink
🔨 Latest commita26d262
🔍 Latest deploy loghttps://app.netlify.com/sites/typescript-eslint/deploys/65ac18ae03caba000885d4c3
😎 Deploy Previewhttps://deploy-preview-8225--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 91 (🔴 down 6 from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 98 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to yourNetlify site configuration.

@JoshuaKGoldberg
Copy link
Member

Btw@lucas-amberg is there a reason you closed#8217 and sent this new one?

In case this is useful info: you don't have to delete a PR then re-make it every time you have a new commit 🙂. You can push commits to the same branch.

I'd also recommend sending from a branch other thanmain.https://stackoverflow.com/questions/60631439/why-is-it-bad-practice-to-submit-pull-request-from-master-branch (replace "master" with "main")

@lucas-amberg
Copy link
ContributorAuthor

The reason I closed it was just so I could restart with a clean fork, I'm sorry for the confusion.

Also thank you for the recommendation, I'll make sure to do that in the future. I appreciate the help as I'm really new to this stuff 😅.

JoshuaKGoldberg reacted with heart emoji

@JoshuaKGoldberg
Copy link
Member

Ooh! Welcome to Git / GitHub / open-source / whatever-combination-of-those-is-new-for-you! 😄🙌

You're actually doing quite well with adhering to standards (the PR is titled well, addresses an accepted+open issue, etc.). This is great!

lucas-amberg reacted with heart emoji

Copy link
Member

@JoshuaKGoldbergJoshuaKGoldberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Progress! 🚀

@JoshuaKGoldbergJoshuaKGoldberg added the awaiting responseIssues waiting for a reply from the OP or another party labelJan 8, 2024
@lucas-amberg
Copy link
ContributorAuthor

This route would've been a lot easier

JoshuaKGoldberg reacted with laugh emoji

@lucas-amberglucas-amberg changed the titledocs: underline URLsdocs: underline URLs, change contrast in syntax highlightingJan 8, 2024
Copy link
Contributor

@StyleShitStyleShit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Welcome to the open-source world!

Looks good to me :)

Comment on lines +9 to +18
--token-color-symbol: #277c7b;
--token-color-number: #098658;
--token-color-keyword: #00f;
--token-color-function: #569cd6;
--token-color-function: #2b74b1;
--token-color-function-variable: #000;
--token-color-important: #e90;
--token-color-class-name: #2b91af;
--token-color-class-name: #237690;
--token-color-selector: #800000;
--token-color-regexp: #800000;
--token-color-property: #d00;
--token-color-property: #c70000;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

[Curious]

How did you choose those specific colors?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I ran axe devtools to see which colors on each page were below the 4.5:1 threshold and then I usedthis website to check the contrast ratio and modify the current foreground color until it was over that amount. Then I re-ran the devtools to verify the changes were adequate 🙂.

StyleShit reacted with rocket emoji

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

lucas-amberg reacted with heart emoji
Copy link
Member

@auvredauvred left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks cool! Thanks for working on this! 😉

lucas-amberg reacted with heart emoji
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

[tip] Try to avoid fixing several unrelated issues in one PR, even if they are small. This is generally a good practice + it helps maintainers better focus on reviewing fixes for a particular issue.

If two issues are about the same bug/feature, then they should be merged into one issue. Thus, one issue = one PR

JoshuaKGoldberg reacted with thumbs up emoji
@github-actionsgithub-actionsbot removed the awaiting responseIssues waiting for a reply from the OP or another party labelJan 22, 2024
Copy link
Member

@JoshuaKGoldbergJoshuaKGoldberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks for iterating with us on this!

Joe Pesci dressed as a cop in Home Alone 2 saying 'Excellent. Excellent.'

@JoshuaKGoldbergJoshuaKGoldberg merged commit24f9d4c intotypescript-eslint:mainJan 25, 2024
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsFeb 2, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@JoshuaKGoldbergJoshuaKGoldbergJoshuaKGoldberg approved these changes

@StyleShitStyleShitStyleShit approved these changes

@Josh-CenaJosh-CenaJosh-Cena approved these changes

@auvredauvredauvred approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
5 participants
@lucas-amberg@JoshuaKGoldberg@StyleShit@Josh-Cena@auvred

[8]ページ先頭

©2009-2025 Movatter.jp