Skip to content

Theme: Condense object shape of color ramps #72931

@aduth

Description

@aduth

What problem does this address?

See discussion:

The current generated color ramp object is quite expansive. Now that we're precomputing default ramps as of #72847, this has a non-trivial impact on bundle size.

What is your proposed solution?

We should optimize the shape of the ramp object.

For example, the above discussion includes some ideas around either eliminating or changing the shape to simplify how colors are assigned, removing warning value from the ramp objects.

Metadata

Metadata

Assignees

Labels

[Package] Theme/packages/theme[Priority] LowUsed to indicate that the issue at hand isn't a top priority to address and can be handled later[Status] In ProgressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.[Type] PerformanceRelated to performance efforts

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions