keeferrourke / capitaine-cursors

An x-cursor theme inspired by macOS and based on KDE Breeze. Designed to pair well with my icon pack, La Capitaine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create light cursor variant

keeferrourke opened this issue · comments

Several users on DeviantArt have requested that a light version of Capitaine cursors be created for Windows.

Steps to make this a thing:

  1. A light variant of each SVG in src/svg should be created, this can be done by simply swapping the fill and stroke colours.
  2. The build script should be modified to build both light and dark variants of the cursor theme.
  3. I will have to (reluctantly) boot into Windows and manually generate the light variant from 32x32 PNGs using "RealWorld Cursor Editor".

Does the script need to be for Windows? I think I can make a bash script for it. Should be relatively easy, something like:

  1. Copy the src/svg to src/svg-light
  2. For all files insrc/svg-light:
  3. Execute a script or function that swaps the fill and stroke colours.

The build script could be modified to pass the optional argument of 'light version', which would change the src directory and execute the above stated script, that would save the time of having to build both src/svg* directories.

@ivcore The scripts absolutely should not be for Windows. I wouldn't even have a Windows cursor variant in this project if I hadn't been bugged about it so much 😝

Windows is a huge pain... only the xcursor/Linux variant is scripted and built automatically. To make Windows cursors you have to use some proprietary program with PNG bases, as far as I know. 🤢

If you can generate a src-light/ directory, and modify the build script to generate an xcursor light-variant, it would be very much appreciated.

I'm not sure how it works but if you only have to generate PNGs from the SVGs I think you can make a macro or script to automate the process in Photoshop, dunno if that helps, tho.

This has finally been done :) Thanks @Efus10n