Skip to content

feat: postcss8 & tailwind2#64

Merged
rigor789 merged 7 commits intomasterfrom
feat/tailwind2
Apr 5, 2021
Merged

feat: postcss8 & tailwind2#64
rigor789 merged 7 commits intomasterfrom
feat/tailwind2

Conversation

@rigor789
Copy link
Member

@rigor789 rigor789 commented Dec 3, 2020

Migrated plugin to postCSS 8 api

Updated to tailwind 2.x

Adjusted supported/unsupported rules to remove some of the unsupported features from tw2:

  • ring utilities
  • shadow utilities (until supported)

Known issues:

  • linear-gradients don't work: nativescript does not parse the css variables tw uses to compose the gradients
  • animations don't work - nativescript fails to parse the animation shorthand property & throws
    • ✅ fixed by @thisduck by expanding shorthand properties to their individual properties.

thisduck and others added 4 commits December 9, 2020 00:30
* (feat): Adding flexbox classes.

* (refactor): Combine plugins for export.

* (refactor): include postcss files.

* (refactor): include dependencies.

* Represent animation duration as seconds.
@rigor789
Copy link
Member Author

I've pinned postcss to 8.1.13 as any higher version doesn't seem to remove rules properly with our configuration, I've opened an issue postcss/postcss#1526 to figure out if we can get it fixed.

@rigor789 rigor789 merged commit a99e7fc into master Apr 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants