Skip to content

docs: update Tailwind manual installation instructions#3170

Merged
HiDeoo merged 3 commits intowithastro:mainfrom
HiDeoo:hd-docs-tailwind-global-css-position
May 2, 2025
Merged

docs: update Tailwind manual installation instructions#3170
HiDeoo merged 3 commits intowithastro:mainfrom
HiDeoo:hd-docs-tailwind-global-css-position

Conversation

@HiDeoo
Copy link
Copy Markdown
Member

@HiDeoo HiDeoo commented May 2, 2025

Description

This PR updates the instructions to add Tailwind to an existing project to help with issue 5 in #3162:

A few users have already run in this issue where their ./src/styles/global.css was not being the first element in the customCss array which can definitely cause unexpected behavior.

As discussed in the last Talking & Doc'ing session, this PR implements Sarah's suggestions:

  • Avoid the "use" word in the instructions and describe what is being done instead.
  • Use the reworded instructions from the previous point to add a mention about the position of the global.css file in the customCss array.

@github-actions github-actions bot added the 📚 docs Documentation website changes label May 2, 2025
@netlify
Copy link
Copy Markdown

netlify bot commented May 2, 2025

Deploy Preview for astro-starlight ready!

Name Link
🔨 Latest commit 7e864f4
🔍 Latest deploy log https://app.netlify.com/sites/astro-starlight/deploys/681498176ffdff0008d36512
😎 Deploy Preview https://deploy-preview-3170--astro-starlight.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 100 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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

@astrobot-houston
Copy link
Copy Markdown
Contributor

astrobot-houston commented May 2, 2025

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale File Note
en guides/css-and-tailwind.mdx Source changed, localizations will be marked as outdated.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Copy link
Copy Markdown
Member

@delucis delucis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @HiDeoo! Just suggesting some slight tweaks to the wording for you to choose from.

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented May 2, 2025

⚠️ No Changeset found

Latest commit: 7e864f4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Copy Markdown
Member

@delucis delucis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great — LGTM! Record time to make a translation PR outdated 😁 @ArmandPhilippot you’re up again 🙌

@HiDeoo HiDeoo merged commit 6b8cb48 into withastro:main May 2, 2025
15 checks passed
@HiDeoo HiDeoo mentioned this pull request May 2, 2025
1 task
ArmandPhilippot added a commit to ArmandPhilippot/starlight that referenced this pull request May 2, 2025
HiDeoo added a commit to hippotastic/starlight that referenced this pull request May 14, 2025
* main: (151 commits)
  i18n(fr): update slot translation and update Astro Docs links (withastro#3196)
  i18n(ko-KR): update `plugins.mdx` (withastro#3197)
  i18n(fr): update `resources/plugins` (withastro#3195)
  chore(deps): update changesets/action action to v1.5.2 (withastro#3191)
  docs(plugins) Add a link to starlight-scroll-to-top plugin (withastro#3194)
  [ci] format
  docs(showcase): add fluid-dnd showcase (withastro#3193)
  [ci] format
  Cookie API website for Showcase (withastro#3188)
  chore(deps): update changesets/action action to v1.5.1 (withastro#3187)
  [ci] format
  add showcase sonar (withastro#3183)
  [ci] release (withastro#3166)
  Prevent heading anchor links on non-Starlight content (withastro#3181)
  i18n(de): update `css-and-tailwind.mdx` (withastro#3174)
  chore(deps): update changesets/action action to v1.5.0 (withastro#3179)
  i18n(ko-KR): update Korean UI strings (withastro#3168)
  i18n(fr): update `guides/css-and-tailwind.mdx` (withastro#3173)
  i18n(ko-KR): update `css-and-tailwind.mdx` (withastro#3172)
  docs: update Tailwind manual installation instructions (withastro#3170)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📚 docs Documentation website changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants