Skip to content

Conversation

@intergalacticspacehighway
Copy link
Contributor

Summary:

Adds support for textShadow CSS syntax.

Changelog:

[GENERAL] [ADDED] - textShadow CSS syntax

Test Plan:

Added fantom test for parsing syntax and an example in RNTester.

Screenshot 2026-01-24 at 5 53 03 AM

Known issues

  • blurRadius property is required on Android due to limitation of setShadowLayer platform API. Workaround for 0 blur radius would be to pass a value like 0.01.
  • Currently only single text shadow is support from the list of textShadow. Supporting multiple text shadows would require manual drawing (platform API limitation) which could increase the performance cost.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 24, 2026
@facebook-github-bot facebook-github-bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Jan 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants