Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/loiccoyle/base24-base16
base16 to base24 scheme porting experiments
https://github.com/loiccoyle/base24-base16
Last synced: 20 days ago
JSON representation
base16 to base24 scheme porting experiments
- Host: GitHub
- URL: https://github.com/loiccoyle/base24-base16
- Owner: loiccoyle
- Created: 2024-12-03T00:42:08.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-05T16:12:28.000Z (28 days ago)
- Last Synced: 2024-12-05T17:22:55.806Z (28 days ago)
- Language: Python
- Homepage:
- Size: 573 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# base24-base16
> Still WIP, just playing around to see what stuff looks like.
Convert base16 color schemes to base24.
See the [preview](./preview/README.md).
## Usage
Use `uv` to setup the `venv` and activate it.
```sh
uv sync
source .venv/bin/activate
```> A `requirements.txt` file is included in the repo if you don't want to use `uv`.
A `Makefile` recipe is setup to convert the schemes and generate the previews.
```sh
make build
```Alternatively, for more control, each step is documented below.
### Convert the base16 schemes to base24
```sh
python base24-base16.py
```Use the `--contrast` flag to control how much to brighten/darken the fallback colors. Use `--help` to show the help message.
### Generate the preview svgs and README
```sh
./preview.sh
```