playcanvas / playcanvas/editor
Support color gradients in UI elements
Nobody has claimed this yet.
- 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
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 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