Skip to content
Prev Previous commit
Next Next commit
undo formatting change
  • Loading branch information
thecrypticace committed Nov 7, 2024
commit 231b15bfe6d1359aabdf2bbd6ab9e1c59f60272b
30 changes: 14 additions & 16 deletions packages/tailwindcss/src/compat/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,22 +289,20 @@ describe('theme callbacks', () => {
}),

// Tuple access
typography: ({ theme }) => {
return {
'[class~=lead-base]': {
fontSize: theme('fontSize.base')[0],
...theme('fontSize.base')[1],
},
'[class~=lead-md]': {
fontSize: theme('fontSize.md')[0],
...theme('fontSize.md')[1],
},
'[class~=lead-xl]': {
fontSize: theme('fontSize.xl')[0],
...theme('fontSize.xl')[1],
},
}
},
typography: ({ theme }) => ({
'[class~=lead-base]': {
fontSize: theme('fontSize.base')[0],
...theme('fontSize.base')[1],
},
'[class~=lead-md]': {
fontSize: theme('fontSize.md')[0],
...theme('fontSize.md')[1],
},
'[class~=lead-xl]': {
fontSize: theme('fontSize.xl')[0],
...theme('fontSize.xl')[1],
},
}),
},
},

Expand Down