diff --git a/__tests__/fixtures/tailwind-output-important.css b/__tests__/fixtures/tailwind-output-important.css index d684b24dea96..589f7c207764 100644 --- a/__tests__/fixtures/tailwind-output-important.css +++ b/__tests__/fixtures/tailwind-output-important.css @@ -499,6 +499,16 @@ h6 { font-weight: inherit; } +/** + * Reset links to optimize for opt-in styling instead of + * opt-out. + */ + +a { + color: inherit; + text-decoration: inherit; +} + /** * Reset form element properties that are easy to forget to * style explicitly so you don't inadvertently introduce diff --git a/__tests__/fixtures/tailwind-output.css b/__tests__/fixtures/tailwind-output.css index 1bf1e39d5ceb..1814067b1722 100644 --- a/__tests__/fixtures/tailwind-output.css +++ b/__tests__/fixtures/tailwind-output.css @@ -499,6 +499,16 @@ h6 { font-weight: inherit; } +/** + * Reset links to optimize for opt-in styling instead of + * opt-out. + */ + +a { + color: inherit; + text-decoration: inherit; +} + /** * Reset form element properties that are easy to forget to * style explicitly so you don't inadvertently introduce diff --git a/src/plugins/css/preflight.css b/src/plugins/css/preflight.css index c6e9bfc5497a..aa04f489908d 100644 --- a/src/plugins/css/preflight.css +++ b/src/plugins/css/preflight.css @@ -145,6 +145,16 @@ h6 { font-weight: inherit; } +/** + * Reset links to optimize for opt-in styling instead of + * opt-out. + */ + +a { + color: inherit; + text-decoration: inherit; +} + /** * Reset form element properties that are easy to forget to * style explicitly so you don't inadvertently introduce