Skip to content

Commit

Permalink
Fix invalid custom class names
Browse files Browse the repository at this point in the history
  • Loading branch information
Ismaaa authored May 28, 2024
1 parent 516d19c commit d753288
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,13 +297,13 @@ module.exports = {
plugins: [
plugin(({ addUtilities }) => {
addUtilities({
'.btn': {
'btn': {
padding: 3,
borderRadius: 10,
textTransform: `uppercase`,
backgroundColor: `#333`,
},
'.resize-repeat': {
'resize-repeat': {
resizeMode: `repeat`,
},
});
Expand All @@ -321,8 +321,8 @@ module.exports = {
plugin(({ addUtilities }) => {
addUtilities({
// 😎 similar to `@apply`
'.btn': `px-4 py-1 rounded-full bg-red-800 text-white`,
'.body-text': `font-serif leading-relaxed tracking-wide text-gray-800`,
'btn': `px-4 py-1 rounded-full bg-red-800 text-white`,
'body-text': `font-serif leading-relaxed tracking-wide text-gray-800`,
});
}),
],
Expand Down

0 comments on commit d753288

Please sign in to comment.