Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update: Tailwind v4 #340

Merged
merged 30 commits into from
Jan 29, 2025
Merged

Update: Tailwind v4 #340

merged 30 commits into from
Jan 29, 2025

Conversation

chrismwilliams
Copy link
Owner

What kind of changes does this PR include?

  • Changes with larger consequences (logic, library updates, etc.)

Description

This update brings with it changes throughout the codebase, and will likely include breaking changes

  • Update to Tailwind v4
    • majority of tailwind's config now set in src/styles/global.css, tailwind.config.ts still used for @tailwindcss/typography
    • removes postscss.config.cjs
    • renames text (--theme-text -> --color-global-text) and background (--theme-bg -> --color-global-bg) colours
    • refactor for tailwind's deprecated and renamed utilities
  • Closes Feature Suggestions for Improved Markdown Navigation and UI Enhancements #337
    • add links to headings
    • shortcut (ctrl + k / cmd + k) for opening/closing search
  • Fixes dialog collapsing, clicking below the search input would close the dialog
  • Move Search styles from component to src/styles/blocks/search.css
    • Inc search input colour change
  • The site url, required in astro.config.ts, now set in src/site.config.ts
  • Add the notes rss feed to <head></head>
  • Fix reading-time issue added with Astro v5

Copy link

netlify bot commented Jan 28, 2025

Deploy Preview for astro-theme-cactus ready!

Name Link
🔨 Latest commit 47f0027
🔍 Latest deploy log https://app.netlify.com/sites/astro-theme-cactus/deploys/679a3af505ada000088b01cd
😎 Deploy Preview https://deploy-preview-340--astro-theme-cactus.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

cloudflare-workers-and-pages bot commented Jan 29, 2025

Deploying astro-theme-cactus with  Cloudflare Pages  Cloudflare Pages

Latest commit: 47f0027
Status: ✅  Deploy successful!
Preview URL: https://db5bc333.astro-theme-cactus.pages.dev
Branch Preview URL: https://tailwind-v4.astro-theme-cactus.pages.dev

View logs

@chrismwilliams chrismwilliams merged commit e3949c8 into main Jan 29, 2025
6 checks passed
@chrismwilliams chrismwilliams deleted the tailwind-v4 branch January 29, 2025 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Suggestions for Improved Markdown Navigation and UI Enhancements
1 participant