Skip to content

[Feature]: Optional gradient support for color pickers #71

Description

Pre-submission checks

  • I searched the existing open and closed issues and did not find an existing proposal.
  • This request describes a problem or use case, not a support request or security vulnerability.
  • I have removed credentials and other sensitive information from this request.

Problem or use case

For some things gradients are useful just to make the colors prettier / pop more. Right now you can't effectively properly handle gradients with Rayfield color pickers.

Proposed behavior

Create gradients using a modified colorpicker, where you can create / delete stops for the gradient and the preview shows what the gradient would look like.

Alternatives considered

Making an insane amount of colorpickers is the only solution you can currently do using Rayfield.

Example usage or interface

Color would return a ColorSequence
https://create.roblox.com/docs/reference/engine/datatypes/ColorSequence

Additional context

This is how another script I use does this

Image
Image Image Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Improvementapi changeAffects public APIs, options, types, or documented interfaces.area: componentsAffects UI components or component behavior.enhancementNew feature or requestgood first issueSmall, well-scoped task suitable for new contributors.help wantedMaintainers welcome external implementation.priority: mediumNormal priority issue or request.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions