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

Add element modifiers for picture and images #370

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bmiit145
Copy link

@bmiit145 bmiit145 commented Jan 9, 2025

Fixes #366

Add element modifiers prose-picture:* and prose-images:* to target <picture> and <img> <picture> respectively.

  • Modify src/index.js to include element modifiers for prose-picture:* and prose-images:*.
  • Update README.md to list prose-picture:* and prose-images:* as available element modifiers.
  • Add default styles for prose-picture:* and prose-images:* in src/styles.js.
  • Add tests for the new element modifiers prose-picture:* and prose-images:* in src/index.test.js.

For more details, open the Copilot Workspace session.

Fixes tailwindlabs#366

Add element modifiers `prose-picture:*` and `prose-images:*` to target `<picture>` and `<img> <picture>` respectively.

* Modify `src/index.js` to include element modifiers for `prose-picture:*` and `prose-images:*`.
* Update `README.md` to list `prose-picture:*` and `prose-images:*` as available element modifiers.
* Add default styles for `prose-picture:*` and `prose-images:*` in `src/styles.js`.
* Add tests for the new element modifiers `prose-picture:*` and `prose-images:*` in `src/index.test.js`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/tailwindlabs/tailwindcss-typography/issues/366?shareId=XXXX-XXXX-XXXX-XXXX).
Copy link

vercel bot commented Jan 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwindcss-typography ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 9, 2025 1:02pm

Copy link

@SpiritITSolutions SpiritITSolutions left a comment

Choose a reason for hiding this comment

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

I be fine , well code

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.

Missing element modifier prose-picture
2 participants