My tailwind.config.js in v3 looks like this, but I can't find a way to use it in v4: theme: { extend: { colors: { lightHover: '#fcf4ff', darkHover: '#2a004a', darktheme: '#11001f', }, fontFamily: { Outfit: ["Outfit", "sans-serif"], Ovo: ["Ovo", "serif"] }, boxShadow: { 'black': '4px 4px 0 #000', 'white': '4px 4px 0 #fff', }, gridTemplateColumns: { 'auto': 'repeat(auto-fit, minmax(200px, 1fr))' } }, }, darkMode: 'selector', This is a piece of...
Originally asked by 卢佳楠 on Stack Exchange (stackoverflow) (CC BY-SA 4.0).