danth / stylix

System-wide colorscheming and typography for NixOS
https://stylix.danth.me/
MIT License
1.05k stars 125 forks source link

Adaptive Cursor Theme #182

Open trueNAHO opened 10 months ago

trueNAHO commented 10 months ago

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:

  1. match the color palette
  2. contrast the color palette
  3. 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:

Related:

danth commented 10 months ago

The work in #157 might be related - we could take a chosen cursor theme and recolor it automatically using that script

KiaraGrouwstra commented 7 months ago

further prior art seems https://github.com/catppuccin/cursors, which also generate variants in a bunch of colors

trueNAHO commented 1 month ago

Cursors could be recolored similar to #477.