feat: upgrade all dependencies including Tailwind CSS v4#68
Merged
Spr-Aachen merged 26 commits intoSpr-Aachen:mainfrom Jan 31, 2026
Merged
feat: upgrade all dependencies including Tailwind CSS v4#68Spr-Aachen merged 26 commits intoSpr-Aachen:mainfrom
Spr-Aachen merged 26 commits intoSpr-Aachen:mainfrom
Conversation
Updated: - @fancyapps/ui 6.1.8 → 6.1.9 - @iconify-json/material-symbols 1.2.52 → 1.2.53 - katex 0.16.27 → 0.16.28 - svelte 5.47.1 → 5.48.3 - unist-util-visit 5.0.0 → 5.1.0
Major version bump. API remained compatible - Icon component usage unchanged. Tested with astro check: 0 errors.
Major version bump. Breaking changes relate to list tokenizer internals (checkbox tokens, list item renderer). No direct usage in codebase - used as transitive dep. Tested: 0 errors.
Also upgrades remark-github-admonitions-to-directives 1.0.5 → 2.1.0 remark-directive v4 changes label handling (whitespace before label no longer splits it from directive name). No breaking changes for this codebase's usage patterns.
Breaking changes in v14: - edition '2024-02' is now the default (uses :is() pseudo-class for specificity matching native CSS nesting behavior) - Node.js v18+ required The project uses tailwindcss/nesting wrapper which delegates to postcss-nesting, so this ensures CSS nesting follows the latest spec.
Patch release with bug fixes and improvements.
Major migration from Tailwind CSS v3 to v4: **Configuration changes:** - Removed tailwind.config.ts (config moved to CSS) - Replaced @astrojs/tailwind with @tailwindcss/vite plugin - Simplified postcss.config.mjs (removed postcss-nesting) - Added @theme directive in main.css for breakpoints/transitions **CSS changes:** - Replaced @tailwind directives with @import 'tailwindcss' - Added @plugin '@tailwindcss/typography' - Added @custom-variant for dark mode - Converted @layer components to @Utility directives **Template changes (automated by @tailwindcss/upgrade):** - shadow-sm → shadow-xs - shadow → shadow-sm - rounded-sm → rounded-xs - rounded → rounded-sm - blur-sm → blur-xs - blur → blur-sm - And other renamed utilities per v4 spec **Breaking changes addressed:** - Border color now defaults to currentColor (added compat layer) - Ring width changed from 3px to 1px default - Dark mode variant updated for v4 syntax Uses @tailwindcss/vite Vite plugin which is the recommended approach for Astro 5.2+ projects.
- @astrojs/svelte 7.2.2 → 7.2.5 - @biomejs/biome 2.2.4 → 2.3.13 - satori 0.18.4 → 0.19.1 Fixes: - Fixed incorrect client:load="svelte" syntax to just client:load - Fixed PostForList type compatibility in archivePanel.svelte (category field now accepts string | null | undefined)
Tailwind v4 requires @reference directive to access utilities when using @apply in component-level <style> blocks. - navLinks.astro: added @reference to ../../styles/main.css - base.astro: replaced @tailwind components with @reference
Foxie-404
requested changes
Jan 28, 2026
Collaborator
Foxie-404
left a comment
There was a problem hiding this comment.
While running pnpm build I got the following error:
[ERROR] [vite] ✗ Build failed in 1.99s
[@tailwindcss/vite:generate:build] Cannot apply unknown utility class `bg-white/50`. Are you using CSS modules or similar and missing `@reference`? https://tailwindcss.com/docs/functions-and-directives#reference-directive
file: D:/Projekt/Code Projects/Twilight/fork/src/styles/anime.css
Stack trace:
at onInvalidCandidate (file:///D:/Projekt/Code%20Projects/Twilight/fork/node_modules/.pnpm/tailwindcss@4.1.18/node_modules/tailwindcss/dist/chunk-CT46QCH7.mjs:21:1314)
at file:///D:/Projekt/Code%20Projects/Twilight/fork/node_modules/.pnpm/tailwindcss@4.1.18/node_modules/tailwindcss/dist/chunk-CT46QCH7.mjs:21:355
at I (file:///D:/Projekt/Code%20Projects/Twilight/fork/node_modules/.pnpm/tailwindcss@4.1.18/node_modules/tailwindcss/dist/chunk-CT46QCH7.mjs:3:1377)
at Wi (file:///D:/Projekt/Code%20Projects/Twilight/fork/node_modules/.pnpm/tailwindcss@4.1.18/node_modules/tailwindcss/dist/chunk-CT46QCH7.mjs:38:294)
at async rf (file:///D:/Projekt/Code%20Projects/Twilight/fork/node_modules/.pnpm/tailwindcss@4.1.18/node_modules/tailwindcss/dist/chunk-CT46QCH7.mjs:38:1406)
❌ Build failed: Command failed: npx astro buildSeems like the css files need to update as well.
Owner
Spr-Aachen
approved these changes
Jan 31, 2026
Owner
Spr-Aachen
left a comment
There was a problem hiding this comment.
Now that it should work as expected~
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
This PR upgrades all dependencies to their latest versions, including a major migration to Tailwind CSS v4.
Changes
Package Upgrades
Tailwind CSS v4 Migration
tailwind.config.ts- configuration moved to CSS@astrojs/tailwindintegration with@tailwindcss/vitepluginmain.csswith:@import 'tailwindcss'instead of@tailwinddirectives@plugin '@tailwindcss/typography'@themedirective for breakpoints and transitions@custom-variantfor dark modepostcss.config.mjsUtility Class Renames (per Tailwind v4 spec)
shadow-sm→shadow-xsshadow→shadow-smrounded-sm→rounded-xsrounded→rounded-smblur-sm→blur-xsblur→blur-smBug Fixes
client:load="svelte"syntax toclient:loadPostForListtype compatibility inarchivePanel.svelte@referencedirective for@applyin component styles (required by Tailwind v4)Test Plan
pnpm checkpasses with 0 errorsNotes
@tailwindcss/viteplugin is the recommended approach for Astro 5.2+ projects