Releases: PackageFactory/PackageFactory.ColorHelper
Releases · PackageFactory/PackageFactory.ColorHelper
Declare compatibility with Neos 8.x
Unify alpha handling to numbers between 0-100
Alpha values are now defined as percent numbers between 0 and 100
ColorBuilder and ColorHelper now have seperate rgba
and hsla
methods.
Support older and newer Neos properly
- Older neos versions will no longer create unneded proxy classes
- Newer neos versions are allowed
v1.3.1
Fusion prototype `PackageFactory.ColorHelper:CssVariables`
Fusion prototype PackageFactory.ColorHelper:CssVariables
The fusion prototype PackageFactory.ColorHelper:CssVariables
allows to
render DataStructures as CssVariables. This can be used for customizing
css based on node properties as shown in the example below.
values
(array<string>
, default:Neos.Fusion:DataStructure
) the values to render as css variablesmediaQuery
(string
, defaultnull
) when given renders the css variables into a@media ... {}
sectionselector
(string
, default:root
) : css-selector the variables are rendered for
Additionally the color math has been rewritten from scratch and linting, static analysis and many tests were added.
Add `css` constructor method to create colors from css strings
v1.2.0 DOCS: Adjust readme
Add alpha support
v1.1.0 FEATURE: Support alpha values for colors
Initial release
v1.0.0 Initial commit
Add alpha support
v.1.1.0-rc1 FEATURE: Support alpha values for colors