-
Hello, I'm migrating my v3 config to v4, and had a question about default values, specifically, how would one set them in v4, when there's no measure to it. For example:
Also on the same line but not necessarily DEFAULT value, how would this be moved over:
Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@theme {
--default-transition-duration: 0.35s;
--default-transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
} In v3, borderStyle: {
inset: 'inset',
}, wouldn't actually do anything – the tailwindcss/src/corePlugins.js Lines 1654 to 1661 in 6069a81 However, I can infer what you mean, and you can create your own utility for this like: @utility border-inset {
border-style: inset;
} |
Beta Was this translation helpful? Give feedback.
DEFAULT
keys are in thedefault
namespace, so you'd do:In v3,
wouldn't actually do anything – the
border-style
utilities are static and thus do not read from configuration:tailwindcss/src/corePlugins.js
Lines 1654 to 1661 in 6069a81