All notable changes to this project will be documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add support for
filterstyle properties:grayscale,invert,sepia,contrast,brightness,saturate, andhue-rotate(thanks @Simek) (#379).
- Add support for
outline*style props (thanks @Simek) (#378). - Add support for
cursorstyle prop (thanks @Simek) (#376).
- Print
-in invalid utility warning if it was present in class (thanks @Simek) (#377).
- Add missing
contentsvalue fordisplayutility (thanks @Simek) (#372). - Add support for
boxSizingutilities (thanks @Simek) (#371).
- Add support for
textDecorationutilities (thanks @Simek) (#368).
- Add support for
userSelectutilities (thanks @Simek) (#367).
- Add support for resolving color from more color configurations and uitilities (thanks @DaltonPelkey) (#360) and (#361) and (#362).
- support transformOrigin and percentage-based values for translate (thanks @Pedrozxcv) (#356)
- support arbitrary hsl colors and opacity modifiers (thanks @cpotdevin) (#347)
- support transform scale, rotate, skew, translate (thanks @Pedrozxcv) (#343)
- prevent auto-upgrades to
tailwindcss@4.x.xuntil we explore/fix compitibility (#331)
- added support for fontWeight sub-customization in fontSize theming (thanks @Gyeop) (#324)
- revised minimum RN version to 0.62.2 after testing, see (#308)
- added support for arbitrary viewport spacing (eg.
mx-[10vh]) (#285) and (#287) - added support for arbitrary flex-grow/shrink syntax (eg.
grow-[7]) (#146) and (#287)
- added Android-only text vertical align (thanks @menghany) (#284)
- when duplicate utilities, last now wins (#245) and (#279)
- resolve unusual color values from config in
tw.color()(#273) and (#280)
See migration guide for upgrading instructions.
tw.memoBusterproperty for breaking memoization, see here for more details.
- media-query off by one pixel error (#223)
- initialization of color scheme when managing color scheme manually (not listening to device changes) (see #266)
useDeviceContext()options when opting-out of listening to device color scheme changes (see migration-guide)useAppColorScheme()no longer allows initial value, moved touseDeviceContext()(see migration guide and #266)- media-query minimum (see #223)
- edge case with dark-mode and color opacity shorthands (#269)
- support TS
moduleResolution: "NodeNext"w/typesexport (#263)
- update dev-only deps and config
- fix breakpoint/prefix resolution of string-based custom utilities (#259)
- handle negative z-index utilities (e.g.
-z-30) (#258)
- export documented
stylefn (#255)
- perf: ensure cached utilities referrentially equal to prevent re-renders (#241)
- support inset
autoutilities (e.g.top-auto) (#237)
- chore: support leading dots in custom utilities to improve intellisense (#236)
- docs: add intellisense instructions to readme (#228)
- docs: add expo dark mode note to readme (#229)
- fix ordering/cache issue with utility prefixes (#227)
- support flex-gap, newly supported in RN 0.71 (#212)
- support flex-basis (#204)