Skip to content

Commit

Permalink
Add @tailwindcss/container-queries (#617)
Browse files Browse the repository at this point in the history
* Add @tailwindcss/container-queries

* Create early-toes-brush.md

---------

Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
  • Loading branch information
hasparus and dimaMachina authored Nov 5, 2024
1 parent 06c7342 commit 99b9452
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/early-toes-brush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@theguild/tailwind-config": minor
---

Add `@tailwindcss/container-queries` plugin as `dependency`
1 change: 1 addition & 0 deletions packages/tailwind-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"prepublishOnly": "pnpm build"
},
"dependencies": {
"@tailwindcss/container-queries": "^0.1.1",
"autoprefixer": "^10.4.19",
"cssnano": "^7.0.0",
"postcss": "^8.4.38",
Expand Down
2 changes: 2 additions & 0 deletions packages/tailwind-config/src/tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { type Config } from 'tailwindcss';
import tailwindContainerQueries from '@tailwindcss/container-queries';
import { hiveColors } from './hive-colors';

// eslint-disable-next-line @typescript-eslint/no-explicit-any -- tailwindcss types are incorrect
Expand Down Expand Up @@ -74,6 +75,7 @@ const config = {
},
},
},
plugins: [tailwindContainerQueries],
} satisfies Config;

export default config;
Expand Down
12 changes: 12 additions & 0 deletions pnpm-lock.yaml

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

0 comments on commit 99b9452

Please sign in to comment.