|
I used to use v3 before, which use js to extend property like: export default {
extend: {
transitionDuration: {
DEFAULT: '300ms',
},
transitionProperty: {
font: 'color, font-size, font-weight, text-align',
opacity: 'opacity, visibility',
'hidden-rows': 'opacity, visibility, grid-template-rows',
},
},
}According to transition-property, I found that I can override the default value of But how about @theme {
--transition-property-font: color, font-size, font-weight, text-align;
--transition-property-opacity: opacity, visibility;
--transition-property-hidden-rows: opacity, visibility, grid-template-rows;
}Where the info is from #16639 and I can't find anywhere from the official docs.. |
Replies: 1 comment 1 reply
|
Some theme namespaces are purposefully left out of the docs. tailwindlabs/tailwindcss.com#2178 (comment):
|
Some theme namespaces are purposefully left out of the docs.
tailwindlabs/tailwindcss.com#2178 (comment):