playcanvas / playcanvas/editor

Support color gradients in UI elements

Open
#35 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: ui enhancement
Dominant language
TypeScript
Stars
1.3k
Forks
215
Avg merge
1d 29m
Merged PRs (30d)
30

Description

Instead of the basic colour widget in the UI element, could we have something like the colour widget from the particle system that allows us to define a gradient? And, of course, a way of setting the direction of the gradient?

We often need basic vertical or horisontal gradients in the UI so this would be very useful.

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 locating the UI element's basic colour widget and the particle system's colour widget, then compare how each represents colour. Implement gradient support with configurable vertical or horizontal direction, and verify that UI elements can display both basic colours and gradients.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.