Closed (fixed)
Project:
Color Field
Version:
3.1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2025 at 14:29 UTC
Updated:
12 Jul 2026 at 20:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
gugalamaciek commentedComment #3
gugalamaciek commentedComment #4
gugalamaciek commentedComment #5
gugalamaciek commentedComment #6
gugalamaciek commentedReplace comas with spaces, so now this is returned:
rgb(0 0 0)
rgb(0 0 0 / 0.5)
Comment #7
anirudhsingh19 commentedreviewing this!
Comment #8
anirudhsingh19 commentedThe patch works fine. Please provide a MR as patches are not recommended anymore.
Comment #11
macsim commentedApplied the patch from #6 and updated the PHPUnit functional tests accordingly.
The
ColorRGB::toString()method now uses the modern CSS color syntax:rgb(r g b / a)when opacity is enabled and the value is not 1.0rgb(r g b)when opacity is disabled or equals 1.0 (fully opaque)All assertions in
ColorFieldFormatterTestandColorFieldFormatterTokenTesthave been updated to reflect the new output format.eslint warnings are not related to those changes
Comment #12
mandclu commentedComment #14
mandclu commentedThanks for everyone's work here. Merged into a new 3.1.x branch.