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:
parent
f57fbb62ae
commit
b86bdbcd7e
38 changed files with 136158 additions and 142205 deletions
|
|
@ -2,8 +2,8 @@ import createUtilityPlugin from '../util/createUtilityPlugin'
|
|||
|
||||
export default function () {
|
||||
return createUtilityPlugin('scale', [
|
||||
['scale', ['--transform-scale-x', '--transform-scale-y']],
|
||||
['scale-x', ['--transform-scale-x']],
|
||||
['scale-y', ['--transform-scale-y']],
|
||||
['scale', ['--tw-scale-x', '--tw-scale-y']],
|
||||
['scale-x', ['--tw-scale-x']],
|
||||
['scale-y', ['--tw-scale-y']],
|
||||
])
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue