Skip to main content
Version: v4

Accent Color

Usageโ€‹

Please refer to the

documentation on the Tailwind CSS website

Compatibilityโ€‹

ClassSupport
accent-{n}๐ŸŒ Web only
accent-[n]๐ŸŒ Web only
accent-black๐ŸŒ Web only
accent-white๐ŸŒ Web only
accent-transparent๐ŸŒ Web only
accent-inherit๐ŸŒ Web only
accent-current๐ŸŒ Web only
Legend

Classโ€‹

-{n} Supports values from theme

-[n] Supports arbitrary values

Iconโ€‹

โœ… Full support

โœ”๏ธ Partial support on native

๐Ÿงช Experimental support on native

๐Ÿ“ฑ Native only

๐ŸŒ Web only

Contributorsโ€‹

We are looking for contributors for the following:

Add accent-{value}โ€‹

React Native doesn't have a value for accent, however many 3rd party libraries do.

A solution maybe allowing accent to compile, but is stripped if not used as part of a nativeStyleProps mapping.