René's URL Explorer Experiment


Title: pre-commit Passed badge has very poor contrast (gray on green) · Issue #2268 · pre-commit/pre-commit · GitHub

Open Graph Title: pre-commit Passed badge has very poor contrast (gray on green) · Issue #2268 · pre-commit/pre-commit

X Title: pre-commit Passed badge has very poor contrast (gray on green) · Issue #2268 · pre-commit/pre-commit

Description: describe your issue It seems that the ANSI colors combination used by pre-commit tool to displayed the result of a hook run is using an unfortunate color combination: light-gray on green, something that is hard to read on almost any term...

Open Graph Description: describe your issue It seems that the ANSI colors combination used by pre-commit tool to displayed the result of a hook run is using an unfortunate color combination: light-gray on green, something...

X Description: describe your issue It seems that the ANSI colors combination used by pre-commit tool to displayed the result of a hook run is using an unfortunate color combination: light-gray on green, something...

Opengraph URL: https://github.com/pre-commit/pre-commit/issues/2268

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pre-commit Passed badge has very poor contrast (gray on green)","articleBody":"### describe your issue\n\nIt seems that the ANSI colors combination used by pre-commit tool to displayed the result of a hook run is using an unfortunate color combination: light-gray on green, something that is hard to read on almost any terminal color theme.\r\n\r\nI do suspect a reason for this is that it does only decides to change the default (transparent) background to green. Those few that are using a white background terminal as less likely to be impacted by the constrast issue, but those on dark backgrounds are high likely to be affected.\r\n\r\nThere are many way this can be avoided, even with avoiding use of background color and sticking just to coloring the text foreground or forcing use of either pure bold-white or black for text color, instead of defaulting to default text.\r\n\r\nDefault text color is usually a non bold/highlighted color, a shade of gray, which is exactly the kind of color that has a bad contrast with green in particular. To a lesser extent the same applies to red background.\r\n\r\nPlease note that I am not suffering from any colour vision deficiency, so we could expect others to find the contrast issue even more than me:\r\n\r\n\u003cimg width=\"158\" alt=\"pre-commit-contrast-issue\" src=\"https://user-images.githubusercontent.com/17796449/156756637-d05e5167-fd2a-41df-b2fc-79f171e17e5d.png\"\u003e\r\n.\n\n### pre-commit --version\n\n2.17.0\n\n### .pre-commit-config.yaml\n\n```yaml\nN/A\n```\n\n\n### ~/.cache/pre-commit/pre-commit.log (if present)\n\n_No response_","author":{"url":"https://github.com/bristea","@type":"Person","name":"bristea"},"datePublished":"2022-03-04T11:38:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/2268/pre-commit/issues/2268"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e93d2ace-818d-bc83-4579-5caf398411c2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB9F2:3AFEE:1AF79DD:226BF11:6991B7A5
html-safe-nonce17c4b81363fb3de3a5ce0fb49a30e3aac5910cd032142314231f2a5c73d8ca8e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUYyOjNBRkVFOjFBRjc5REQ6MjI2QkYxMTo2OTkxQjdBNSIsInZpc2l0b3JfaWQiOiIxODYxODY5NzU3ODY2NzgxODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfe474f2d20e62a6db6a51fb5783bc806edf55b43d9e5390a6bec376509cc9cb1
hovercard-subject-tagissue:1159552051
github-keyboard-shortcutsrepository,issues,commits,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pre-commit/pre-commit/2268/issue_layout
twitter:imagehttps://opengraph.githubassets.com/911cb25dfe65a7130426c35c45e12e97eb17fe85dd718d7744962156f61a89ed/pre-commit/pre-commit/issues/2268
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/911cb25dfe65a7130426c35c45e12e97eb17fe85dd718d7744962156f61a89ed/pre-commit/pre-commit/issues/2268
og:image:altdescribe your issue It seems that the ANSI colors combination used by pre-commit tool to displayed the result of a hook run is using an unfortunate color combination: light-gray on green, something...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebristea
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/pre-commit/pre-commit git https://github.com/pre-commit/pre-commit.git
octolytics-dimension-user_id6943086
octolytics-dimension-user_loginpre-commit
octolytics-dimension-repository_id17689377
octolytics-dimension-repository_nwopre-commit/pre-commit
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id17689377
octolytics-dimension-repository_network_root_nwopre-commit/pre-commit
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/pre-commit/pre-commit/issues/2268#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit%2Fissues%2F2268
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit%2Fissues%2F2268
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=pre-commit%2Fpre-commit
Reloadhttps://github.com/pre-commit/pre-commit/issues/2268
Reloadhttps://github.com/pre-commit/pre-commit/issues/2268
Reloadhttps://github.com/pre-commit/pre-commit/issues/2268
pre-commit https://github.com/pre-commit
pre-commithttps://github.com/pre-commit/pre-commit
Please reload this pagehttps://github.com/pre-commit/pre-commit/issues/2268
Notifications https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit
Fork 928 https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit
Star 15k https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit
Code https://github.com/pre-commit/pre-commit
Issues 20 https://github.com/pre-commit/pre-commit/issues
Pull requests 11 https://github.com/pre-commit/pre-commit/pulls
Actions https://github.com/pre-commit/pre-commit/actions
Security 0 https://github.com/pre-commit/pre-commit/security
Insights https://github.com/pre-commit/pre-commit/pulse
Code https://github.com/pre-commit/pre-commit
Issues https://github.com/pre-commit/pre-commit/issues
Pull requests https://github.com/pre-commit/pre-commit/pulls
Actions https://github.com/pre-commit/pre-commit/actions
Security https://github.com/pre-commit/pre-commit/security
Insights https://github.com/pre-commit/pre-commit/pulse
New issuehttps://github.com/login?return_to=https://github.com/pre-commit/pre-commit/issues/2268
New issuehttps://github.com/login?return_to=https://github.com/pre-commit/pre-commit/issues/2268
pre-commit Passed badge has very poor contrast (gray on green)https://github.com/pre-commit/pre-commit/issues/2268#top
questionhttps://github.com/pre-commit/pre-commit/issues?q=state%3Aopen%20label%3A%22question%22
https://github.com/bristea
https://github.com/bristea
bristeahttps://github.com/bristea
on Mar 4, 2022https://github.com/pre-commit/pre-commit/issues/2268#issue-1159552051
https://user-images.githubusercontent.com/17796449/156756637-d05e5167-fd2a-41df-b2fc-79f171e17e5d.png
questionhttps://github.com/pre-commit/pre-commit/issues?q=state%3Aopen%20label%3A%22question%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.