Skip to content

CSS Generation Issue between v4.0.14 and v4.0.15 in TailwindCSS #17346

@PruthviPraj00

Description

@PruthviPraj00

I have encountered a discrepancy in the generated CSS between v4.0.14 and v4.0.15 of TailwindCSS. The issue lies in the generated CSS for custom properties (CSS variables). The following sections highlight the differences between the two versions.

CSS Generated in v4.0.14: not the complete file.

V4.0.14.md

Tailwindcss Package.json in node_module

Image

CSS Generated in v4.0.15: not the complete file.

v4.0.15.md

tailwindcss Package json

Image

Comparison Screenshots: On the left side is v4.0.14, and on the right side is v4.0.15.

Image
Image
Image

Key Differences:

  1. Missing Custom Properties (CSS Variables) in v4.0.15:
    • The following variables are missing in v4.0.15:
      • --default-font-family
      • --default-font-feature-settings
      • --default-font-variation-settings
      • --default-mono-font-family
      • --default-mono-font-feature-settings
      • --default-mono-font-variation-settings
    • These variables were present in v4.0.14 but are not being generated in v4.0.15.
  2. Potential Impact:
    • The missing variables may cause issues with font settings, particularly if they are being used for consistent typography throughout the application.
    • This could lead to rendering inconsistencies and make it difficult to maintain the project across different environments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions