Skip to content
Merged
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: 2 additions & 0 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ jobs:

- name: Build Tailwind CSS
run: pnpm run build
env:
FEATURES_ENV: stable

- name: Run pre-publish optimizations scripts
run: node ./scripts/pre-publish-optimizations.mjs
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ jobs:

- name: Build Tailwind CSS
run: pnpm run build
env:
FEATURES_ENV: stable

- name: Run pre-publish optimizations scripts
run: node ./scripts/pre-publish-optimizations.mjs
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

Nothing yet!
### Fixed

- Revert change to no longer include theme variables that aren't used in compiled CSS

## [4.0.5] - 2025-02-08

Expand Down
4 changes: 3 additions & 1 deletion integrations/cli/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,9 @@ test(
expect(await fs.dumpFiles('./dist/*.css')).toMatchInlineSnapshot(`
"
--- ./dist/out.css ---
<EMPTY>
:root, :host {
--color-blue-500: blue;
}
"
`)

Expand Down
383 changes: 383 additions & 0 deletions packages/@tailwindcss-postcss/src/__snapshots__/index.test.ts.snap

Large diffs are not rendered by default.

12 changes: 10 additions & 2 deletions packages/@tailwindcss-postcss/src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,11 @@ test('runs `Once` plugins in the right order', async () => {
)

expect(result.css.trim()).toMatchInlineSnapshot(`
".custom-css {
":root, :host {
--color-red-500: red;
}

.custom-css {
color: red;
}"
`)
Expand All @@ -343,7 +347,11 @@ test('runs `Once` plugins in the right order', async () => {
}"
`)
expect(after).toMatchInlineSnapshot(`
".custom-css {
":root, :host {
--color-red-500: red;
}

.custom-css {
color: red;
}"
`)
Expand Down
Loading