GitShow/sindresorhus/modern-normalize
sindresorhus

modern-normalize

๐Ÿ’ Normalize browsers' default style

by sindresorhus
csscss-librarycss-resetnormalizenormalize-cssnpm-package
Star on GitHubForknpm

TypeScript

7.4k stars397 forks16 contributorsQuiet ยท 2mo agoSince 2018v3.0.1MIT

Meet the team

See all 16 on GitHub โ†’
sindresorhus
sindresorhus49 contributions
atjn
atjn12 contributions
kripod
kripod4 contributions
teddybradford
teddybradford2 contributions
nuxodin
nuxodin2 contributions
jakejarvis
jakejarvis1 contribution
jamiebuilds
jamiebuilds1 contribution
JohnAlbin
JohnAlbin1 contribution

Languages

View on GitHub โ†’
TypeScript88%
CSS6.7%
HTML5.3%

Commit activity

Last 12 weeks ยท 1 commit

Full graph โ†’

Community health

4 of 6 standards met

Community profile โ†’
85
โœ“READMEโœ“Licenseโœ“Contributingโœ“Code of Conductโ—‹Issue Templateโ—‹PR Template

Recent PRs & issues

Quiet ยท Last activity 2mo ago
See all on GitHub โ†’
maurer2
Remove reset for `border-color` on tableOpenPR

Hello, It appears that both Chrome and Safari now use as the default border colour for tables in line with the specs: https://developer.chrome.com/release-notes/149#remove_explicit_border_color_ua_stylesheet_rule_for_tables https://developer.apple.com/documentation/safari-release-notes/safari-18_4-release-notes#Resolved-Issues (second "Resolved issue" section) As a result, the reset for on tables could be removed once Chrome 149+ adoption becomes more widespread. Safari 18+ already appears to have significant usage. Cheers

maurer2 ยท 1mo ago

Recent fixes

View closed PRs โ†’
sindresorhus
Use `system-ui` in the default font stackClosedIssue

It was not included in the initial PR, as per this blog post, it's not yet safe to use. We need to move on soon though, as Chrome plans to deprecate the font name, per https://github.com/sindresorhus/modern-normalize/pull/16#issuecomment-364504396. Also see: https://github.com/primer/primer/pull/408

sindresorhus ยท 1mo ago
rjgotten
Consider a version without forcing box-sizingClosedIssue

Counter to the common trend, it is _not_ always 'awesome' or 'FTW'. It wreaks havoc with expectations stemming from normal browser defaults, which makes it harder to integrate into existing properties and makes it harder to integrate anything created by third parties that are not operating off of the same opinionated principle. It's also a total pain in the ass to selectively undo with override rules, as it's reapplied on every element. At the very least you could use I'd think, which makes it at least _somewhat_ easier to selectively cut this awesomely annoying behavior out?

rjgotten ยท 2mo ago
franktopel
Replace deprecated box-sizing fix by a better oneMergedPR

see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/. Even Paul Irish, original author of the fix currently part of modern-normalize, has agreed on this and edited his origjnal post back from 2021: https://www.paulirish.com/2012/box-sizing-border-box-ftw/ This will also fix https://github.com/sindresorhus/modern-normalize/issues/48.

franktopel ยท 2mo ago
Structured data for AI agents

Repository: sindresorhus/modern-normalize. Description: ๐Ÿ’ Normalize browsers' default style Stars: 7385, Forks: 397. Primary language: TypeScript. Languages: TypeScript (88%), CSS (6.7%), HTML (5.3%). License: MIT. Topics: css, css-library, css-reset, normalize, normalize-css, npm-package. Latest release: v3.0.1 (1y ago). Open PRs: 2, open issues: 26. Last activity: 2mo ago. Community health: 85%. Top contributors: sindresorhus, atjn, kripod, teddybradford, nuxodin, jakejarvis, jamiebuilds, JohnAlbin, spacedawwwg, xPaw and others.

ยท@ofershap

Replace github.com with gitshow.dev