Cleanup custom properties (#2771)

* prefix custom properties with tw-

* prefix custom properties with tw- in tests

* prefix gradient values in the defaultConfig

* inline gradient-via-color

* simplify --tw-tailwind-empty to --tw-empty

* replace the long --tw-font-variant-numeric-... to the way shorter --tw-fvn-...

* Rename --tw-box-shadow to --tw-shadow

To match class name.

* Rename font-variant-numeric variables

* Remove 'transform' from transform variables

* Shorten gradient variables

* Fix style

Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
This commit is contained in:
Robin Malfait 2020-11-16 17:45:55 +01:00 • committed by GitHub
parent f57fbb62ae
commit b86bdbcd7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 136158 additions and 142205 deletions

View file

@ -13,7 +13,7 @@ export default function () {
return withAlphaVariable({
color: value,
property: 'border-color',
variable: '--divide-opacity',
variable: '--tw-divide-opacity',
})
}