-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Theme: Condense object shape of color ramps #72931
Copy link
Copy link
Closed
Labels
[Package] Theme/packages/theme/packages/theme[Priority] LowUsed to indicate that the issue at hand isn't a top priority to address and can be handled laterUsed 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 progressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.A suggestion for improvement.[Type] PerformanceRelated to performance effortsRelated to performance efforts
Metadata
Metadata
Assignees
Labels
[Package] Theme/packages/theme/packages/theme[Priority] LowUsed to indicate that the issue at hand isn't a top priority to address and can be handled laterUsed 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 progressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.A suggestion for improvement.[Type] PerformanceRelated to performance effortsRelated to performance efforts
Type
Fields
Give feedbackNo fields configured for issues without a type.
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
warningvalue from the ramp objects.