Skip to content
Discussion options

You must be logged in to vote

I believe theme needs to be destructured from the argument of the function:

 theme: {
   extend: {
-    borderColor: (theme) => ({
+    borderColor: ({ theme }) => ({
       DEFAULT: theme("colors.red.500", "currentColor"),
     }),
   },

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@adamwathan
Comment options

@mrleblanc101
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by frederikhors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #10969 on April 08, 2023 18:21.