Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ The package uses Django settings for configuration:
- `TAILWIND_DEV_MODE` - Development mode flag (deprecated)
- `NPM_BIN_PATH` - Custom npm binary path (npm-based only)
- `TAILWIND_USE_STANDALONE_BINARY` - Force standalone binary mode (default: False, auto-detected)
- `TAILWIND_STANDALONE_BINARY_VERSION` - Tailwind CSS standalone binary version (default: "v4.1.16")
- `TAILWIND_STANDALONE_BINARY_VERSION` - Tailwind CSS standalone binary version (default: "v4.2.0")

### Standalone Binary Implementation

Expand Down
6 changes: 3 additions & 3 deletions docs/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ This setting specifies which version of the Tailwind CSS standalone binary to us

The default value is:
```python
TAILWIND_STANDALONE_BINARY_VERSION = "v4.1.16"
TAILWIND_STANDALONE_BINARY_VERSION = "v4.2.0"
```

You can specify any valid Tailwind CSS version tag. To upgrade to a newer version:

```python
# settings.py
TAILWIND_STANDALONE_BINARY_VERSION = "v4.2.0"
TAILWIND_STANDALONE_BINARY_VERSION = "v4.2.1"
```

After changing this setting, run `python manage.py tailwind install` to download the new binary version.
Expand All @@ -74,7 +74,7 @@ After changing this setting, run `python manage.py tailwind install` to download

**Finding available versions:**

Visit the [Tailwind CSS releases page](https://github.com/tailwindlabs/tailwindcss/releases) to see all available versions. Use the tag name (e.g., `v4.1.16`) as the value for this setting.
Visit the [Tailwind CSS releases page](https://github.com/tailwindlabs/tailwindcss/releases) to see all available versions. Use the tag name (e.g., `v4.2.0`) as the value for this setting.

## `TAILWIND_STANDALONE_START_COMMAND_ARGS`

Expand Down
8 changes: 4 additions & 4 deletions example/theme/static_src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
"author": "",
"license": "MIT",
"devDependencies": {
"@tailwindcss/postcss": "^4.1.16",
"daisyui": "^5.3.10",
"@tailwindcss/postcss": "^4.2.0",
"daisyui": "^5.5.18",
"cross-env": "^10.1.0",
"postcss": "^8.5.6",
"postcss-cli": "^11.0.1",
"postcss-nested": "^7.0.2",
"postcss-simple-vars": "^7.0.1",
"rimraf": "^6.0.1",
"tailwindcss": "^4.1.16"
"rimraf": "^6.1.3",
"tailwindcss": "^4.2.0"
}
}
2 changes: 1 addition & 1 deletion src/tailwind/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def get_config(setting_name):
"TAILWIND_STANDALONE_BINARY_VERSION": getattr(
settings,
"TAILWIND_STANDALONE_BINARY_VERSION",
os.environ.get("TAILWINDCSS_VERSION", "v4.1.16"),
os.environ.get("TAILWINDCSS_VERSION", "v4.2.0"),
),
"TAILWIND_STANDALONE_START_COMMAND_ARGS": getattr(
settings,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"license": "MIT",
"devDependencies": {
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/forms": "^0.5.10",
"@tailwindcss/typography": "^0.5.16",
"@tailwindcss/forms": "^0.5.11",
"@tailwindcss/typography": "^0.5.19",
"cross-env": "^7.0.3",
"postcss": "^8.5.3",
"postcss-import": "^16.1.0",
"postcss": "^8.5.6",
"postcss-import": "^16.1.1",
"postcss-nested": "^7.0.2",
"postcss-simple-vars": "^7.0.1",
"rimraf": "^6.0.1",
"tailwindcss": "^3.4.17"
"rimraf": "^6.1.3",
"tailwindcss": "^3.4.19"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
"author": "",
"license": "MIT",
"devDependencies": {
"@tailwindcss/postcss": "^4.1.16",
{% if cookiecutter.include_daisy_ui == 'yes' %} "daisyui": "^5.3.10",{% endif %}
"@tailwindcss/postcss": "^4.2.0",
{% if cookiecutter.include_daisy_ui == 'yes' %} "daisyui": "^5.5.18",{% endif %}
"cross-env": "^10.1.0",
"postcss": "^8.5.6",
"postcss-cli": "^11.0.1",
"postcss-nested": "^7.0.2",
"postcss-simple-vars": "^7.0.1",
"rimraf": "^6.0.1",
"tailwindcss": "^4.1.16"
"rimraf": "^6.1.3",
"tailwindcss": "^4.2.0"
}
}
Loading
Loading