Skip to content

Conversation

@uncenter
Copy link
Member

@uncenter uncenter commented Dec 6, 2025

@uncenter
Copy link
Member Author

uncenter commented Dec 6, 2025

Hslify demo

@uncenter
Copy link
Member Author

uncenter commented Dec 6, 2025

Option naming and behavior still up to changing, just a PoC that I'm excited about :)

@uncenter uncenter added 4.topic: libraries Relating to the standard library and/or library modules 5.needs: community-feedback Needs feedback/testing from the wider tester/userstyle community labels Dec 6, 2025
@uncenter uncenter changed the title feat(lib/lib.less): add rgbify config option feat(lib/lib.less): add rgbify/hslify config options Dec 6, 2025
@uncenter
Copy link
Member Author

uncenter commented Dec 6, 2025

Notably this is (or at least should be 🤞) backwards entirely compatible.

Comment on lines +94 to +96
@with-spaces: red(@color) green(@color) blue(@color);
@with-commas: red(@color), green(@color), blue(@color);
@result: if(@spaces = true, @with-spaces, @with-commas);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: can technically be simplified with this syntax but it is less readable when formatted.

Suggested change
@with-spaces: red(@color) green(@color) blue(@color);
@with-commas: red(@color), green(@color), blue(@color);
@result: if(@spaces = true, @with-spaces, @with-commas);
@result: if(@spaces = true; red(@color) green(@color) blue(@color); red(@color), green(@color), blue(@color));

@nuexq nuexq mentioned this pull request Dec 9, 2025
7 tasks
@WalkQuackBack WalkQuackBack added the 0.kind: meta Repository-wide issues label Jan 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.kind: meta Repository-wide issues 4.topic: libraries Relating to the standard library and/or library modules 5.needs: community-feedback Needs feedback/testing from the wider tester/userstyle community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants