Skip to content

v4.0.8

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 21 Feb 15:23
· 3 commits to main since this release
419b3dc

Added

  • Allow @import with theme(…) options for stylesheets that contain more than just @theme rules (#16514)

Fixed

  • Don't add !important to CSS variable declarations when using the important modifier (#16668)
  • Vite: Ignore files and directories specified in your .gitignore file when using automatic source detection(#16631)
  • Vite: Don't rely on the module graph for detecting candidates to ensure setups with multiple Vite builds work as expected (#16631)
  • Vite: Ensure Astro production builds always contain classes used in client-only components (#16631)
  • Vite: Always scan raw file contents for utility classes before any other transforms have been applied to ensure utility classes are scanned without any additional escaping (#16631)
  • Ensure utilities with more declarations are always sorted before utilities with fewer declarations when utilities only define CSS variables (#16715)
  • Only include translate-z-px utilities once in compiled CSS (#16718)

Changed

  • Don't include theme variables that aren't used in compiled CSS (#16211, #16676)