Skip to content

Commit 1dabc7b

Browse files
authored
chore: prepare 20.1.1 (#141)
## PR Type What kind of change does this PR introduce? <!-- Please check the one that applies to this PR using "x". --> - [x] Release <!-- Please set this as a title and change the version number If you don't know the version number, run on the main branch the release GitHub workflow with dryRun enabled chore: prepare 20.1.1 -->
2 parents 3b6415c + 9f0e2a0 commit 1dabc7b

File tree

5 files changed

+69
-21
lines changed

5 files changed

+69
-21
lines changed

apps/docs/docs/customize/theming/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ keyword: ThemingPage
55
You can use the theme directive from tailwind to define any style related classes, such as the color
66
palette, fonts, breakpoints, and more.
77

8+
Here is the `primary` color theme used for this documentation :
9+
810
```css
911
@theme {
1012
/* Primary */

apps/docs/docs/getting-started/quickstart/index.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Angular library.
1212
Make sure that TailwindCSS is installed.
1313

1414
```bash
15-
npm install tailwindcss
15+
npm install tailwindcss @tailwindcss/postcss postcss
1616
```
1717

1818
Install Flowbite as a dependency using NPM by running this command:
@@ -25,8 +25,27 @@ npm install flowbite-angular ng-primitives @ng-icons/core
2525

2626
Make sure to use the flowbite-angular configuration preset in your styles.css
2727

28+
> **Note** If your `node_modules` folder is located above the parent directory (e.g., in a monorepo
29+
> setup), you may need to adjust the path with additional `../` to correctly reference it, such as
30+
> `@source "../../../node_modules/flowbite-angular";`.
31+
2832
```css
2933
@import 'tailwindcss';
3034

31-
@source "node_modules/flowbite-angular";
35+
@source "../node_modules/flowbite-angular";
36+
```
37+
38+
> **Note** If you want a working `primary` color definition, see `*ThemingPage` page
39+
40+
## PostCSS configuration
41+
42+
Create a `postcss.config.json` file in the root of your project and add the `@tailwindcss/postcss`
43+
plugin to your PostCSS configuration.
44+
45+
```json
46+
{
47+
"plugins": {
48+
"@tailwindcss/postcss": {}
49+
}
50+
}
3251
```

libs/flowbite-angular/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
"@angular/cdk": ">=20.0.0 < 21.0.0",
3535
"@angular/core": ">=20.0.0 < 21.0.0",
3636
"@ng-icons/core": "^31.3.0",
37-
"@ng-primitives/state": "^0.57.0",
37+
"@ng-primitives/state": ">=0.57.0",
3838
"@tailwindcss/postcss": "^4.0.0",
39-
"ng-primitives": "^0.57.0",
39+
"ng-primitives": ">=0.57.0",
4040
"rxjs": "^7.4.0",
4141
"tailwind-merge": "2.5.5",
4242
"tailwindcss": "^4.0.0"

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@
4444
"@ng-doc/core": "20.1.0",
4545
"@ng-doc/ui-kit": "20.1.0",
4646
"@ng-icons/core": "^31.3.0",
47-
"@ng-primitives/state": "^0.57.0",
47+
"@ng-primitives/state": "0.78.0",
4848
"@nx/devkit": "21.2.2",
4949
"@tailwindcss/postcss": "^4.0.0",
5050
"express": "4.18.3",
51-
"ng-primitives": "^0.57.0",
51+
"ng-primitives": "0.86.0",
5252
"postcss": "^8.5.3",
5353
"rxjs": "^7.4.0",
5454
"tailwind-merge": "2.5.5",

pnpm-lock.yaml

Lines changed: 42 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)