Skip to content

fix(react): Don't camelize CSS variables#865

Open
Hithroc wants to merge 1 commit into
ascorbic:mainfrom
Hithroc:dont-camelize-css-vars
Open

fix(react): Don't camelize CSS variables#865
Hithroc wants to merge 1 commit into
ascorbic:mainfrom
Hithroc:dont-camelize-css-vars

Conversation

@Hithroc

@Hithroc Hithroc commented Jun 27, 2026

Copy link
Copy Markdown

An issue I encountered while trying to use unpic/react with Mantine as a polymorphic image component. Mantine passes some props like border radius as a css vars (for example --image-radius) in styles prop. Due to camelization it results in the following error:

Unsupported style property -imageRadius. Did you mean ImageRadius?

@changeset-bot

changeset-bot Bot commented Jun 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 47670f9

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

@netlify

netlify Bot commented Jun 27, 2026

Copy link
Copy Markdown

Deploy Preview for unpic-next failed. Why did it fail? →

Name Link
🔨 Latest commit 47670f9
🔍 Latest deploy log https://app.netlify.com/projects/unpic-next/deploys/6a400d79855086000ac093bc

@netlify

netlify Bot commented Jun 27, 2026

Copy link
Copy Markdown

Deploy Preview for unpic-angular ready!

Name Link
🔨 Latest commit 47670f9
🔍 Latest deploy log https://app.netlify.com/projects/unpic-angular/deploys/6a400d77b19d7d0008dce021
😎 Deploy Preview https://deploy-preview-865--unpic-angular.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@netlify

netlify Bot commented Jun 27, 2026

Copy link
Copy Markdown

Deploy Preview for unpic-docs failed. Why did it fail? →

Name Link
🔨 Latest commit 47670f9
🔍 Latest deploy log https://app.netlify.com/projects/unpic-docs/deploys/6a400d77148a350009c43688

@Hithroc Hithroc changed the title Don't camelize CSS variables [fix] Don't camelize CSS variables Jun 27, 2026
@Hithroc Hithroc changed the title [fix] Don't camelize CSS variables (fix) Don't camelize CSS variables Jun 27, 2026
@Hithroc Hithroc changed the title (fix) Don't camelize CSS variables fix(react): Don't camelize CSS variables Jun 27, 2026
@Hithroc Hithroc force-pushed the dont-camelize-css-vars branch from 3fac57a to 47670f9 Compare June 27, 2026 17:50
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.

1 participant