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.

On this page