mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
## About The Pull Request Sass was warning about deprecated APIs in our codebase. Went through and fixed them Used sass-migrator tool as much as I could, some were by hand ### Updated: Sass would no longer let you run functions on hex color codes so I went through and HSL'd them all, how cool! If you have a simpler way to approach this, let me know Adds a tool to convert hex to HSL ## Why It's Good For The Game None of this  ## Changelog N/A
551 B
551 B
HSLify
This is a simple Python script that converts all hex colors in a directory to their corresponding HSL values.
Usage
- Install the required dependencies:
pip install colormath
-
Move files so that hslify is in the same directory as the files you want to process. That can be in this folder, or by moving this folder to the same directory as the files you want to process.
-
Run the script:
py hslify.py
- Formatting is strange, so it may be necessary to save the file manually for prettier to format it.