NativeScript / NativeScript/tailwind
Background gradients not supported
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 161
- Forks
- 29
- Avg merge
- 1h 39m
- Merged PRs (30d)
- 1
Description
I'm trying to use tailwinds background gradients but they do not seem to be supported.
Documentation:
https://tailwindcss.com/docs/background-image#linear-gradients
``
Example:
Using the CSS classes bg-gradient-to-r from-cyan-400 to-blue-500 should create a gradient, instead no background is applied.
https://stackblitz.com/edit/nativescript-stackblitz-templates-nsvck4?file=app%2Fmain-page.xml&title=NativeScript%20Starter%20TypeScript
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported classes in the linked StackBlitz example and compare the behavior with Tailwind's linear-gradient documentation. Trace how bg-gradient-to-r from-cyan-400 to-blue-500 is handled, and consider the issue resolved when it applies the expected background gradient in NativeScript.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, tailwindcss
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100