NativeScript / NativeScript/tailwind

Background gradients not supported

Open
#188 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.