diff --git a/__tests__/fixtures/tailwind-output-important.css b/__tests__/fixtures/tailwind-output-important.css index c23f8657f..887be5d36 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 d8b5cdfc0..09ae03d2a 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 c6e9bfc54..aa04f4899 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