**What version of Tailwind CSS are you using?** 3.4.14 **Reproduction URL** https://play.tailwindcss.com/jhNKe63ed5 **Describe your issue** `tailwind.config.js` ``` module.exports = { theme: { boxShadow: { base: '0 0 0 theme(spacing.2) green inset', }, }, } ``` `HTML` ``` <div class="[box-shadow:_theme(boxShadow.base)]">❌</div> <div class="shadow-base">✅</div> ``` <img width="958" alt="image" src="https://github.com/user-attachments/assets/d2283f1f-f97f-46da-a4c5-27ee76edb8fd"> The `theme()` function does not expand to its actual value when an arbitrary property is used with `theme()`.