feat: css_filter - #116
Open
ozwaldorf wants to merge 20 commits into
Open
Conversation
ozwaldorf
force-pushed
the
feat/css_filter
branch
from
November 24, 2025 21:47
9af403d to
86b4e73
Compare
Author
|
Currently, the algorithm does not produce identical results on all platforms, I suspect due to floating point and simd differences on each target. We may need to just have the end to end test just run the generation and not strictly check the output |
…and spsa outputs on each arch
ozwaldorf
force-pushed
the
feat/css_filter
branch
from
November 25, 2025 23:14
d2ab03f to
33044a3
Compare
ozwaldorf
marked this pull request as draft
January 9, 2026 04:28
ozwaldorf
force-pushed
the
feat/css_filter
branch
from
January 26, 2026 23:53
fc38ee3 to
9f1646b
Compare
ozwaldorf
marked this pull request as ready for review
January 27, 2026 00:02
WalkQuackBack
added a commit
to catppuccin/userstyles
that referenced
this pull request
Jan 27, 2026
Updates the Catppuccin Filters in the standard library to use the COBYLA CSS filters in catppuccin/whiskers#116
WalkQuackBack
added a commit
to catppuccin/userstyles
that referenced
this pull request
Jan 27, 2026
feat(lib/lib): COBYLA CSS filters Updates the Catppuccin Filters in the standard library to use the COBYLA CSS filters in catppuccin/whiskers#116
benoit-planche
pushed a commit
to benoit-planche/userstyles
that referenced
this pull request
Jan 30, 2026
feat(lib/lib): COBYLA CSS filters Updates the Catppuccin Filters in the standard library to use the COBYLA CSS filters in catppuccin/whiskers#116
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
COBYLA CSS Filter generation
Ports an originally SPSA (Simultaneous Perturbation Stochastic Approximation) based algorithm to derive CSS filter properties that transform black (#000000) into a target color. This is useful for applying color transformations to SVG icons and other elements that cannot be colored with fill, using CSS filters instead.
References
Differences to reference implementations
Notes
Currently, the result is indeterminate across host systems (macos and windows will produce different results than x86_64 linux)Example output