Skip to content

Commit

Permalink
added container queries plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
harvanchik committed Jun 4, 2024
1 parent aafd180 commit 9798d4b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@
"prettier": "^3.3.0",
"prettier-plugin-tailwindcss": "^0.6.1",
"tailwindcss": "^3.4.3"
},
"dependencies": {
"@tailwindcss/container-queries": "^0.1.1"
}
}
13 changes: 13 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
module.exports = {
content: ['./**/*.html'],
darkMode: 'class', // 'media' or 'class'
darkMode: 'selector',
theme: {
extend: {},
},
plugins: [require('@tailwindcss/forms')],
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/container-queries')
],
};

0 comments on commit 9798d4b

Please sign in to comment.