Adaptive Cursor Theme
The current cursor module supports theming the cursor based on its name, package, and size. However, theming the cursor based on Stylix' generated color palette would create a more coherent color scheme and follow Stylix' overall theming philosophy.
The implementation should consider that some people may want the cursor color to:
- match the color palette
- contrast the color palette
- not change with the color palette
and provide options accordingly. Additionally, users should be able to choose from supported cursor packages that change the cursor's shape, like pkgs.bibata-cursors.
Follows:
- https://github.com/danth/stylix/pull/172
Related:
- https://github.com/danth/stylix/pull/102
- https://github.com/danth/stylix/pull/157
The work in #157 might be related - we could take a chosen cursor theme and recolor it automatically using that script
further prior art seems https://github.com/catppuccin/cursors, which also generate variants in a bunch of colors
Cursors could be recolored similar to #477.