| .github/workflows | ||
| src | ||
| .envrc | ||
| .gitignore | ||
| build.nix | ||
| build.sh | ||
| deploy.nix | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
Branding of the Beta Nu chapter of Theta Chi
This repo contains all the source code required for generating all the branding releated with the Beta Nu chapter of Theta Chi.
SVG path d attributes are stored in environment variables that will be built into the template SVG file.
Documentation on d attributes may be found here
Extraction of the d attribute may also be done by extracting an svg then copying the d attribute from the file.
Usage
This repo will be automatically built upon any push with a tag starting with release-. Artifacts will be produced as a GitHub release.
A nix flake is also provided with the #branding attribute, this is useful for cross-repo-referencing. This is used in the bylaw build process.
Branding elements
The src/colors folder contains color variants for different color schemes for models. All files referenced from the src/build.py builder will be built as a variant of the branding.
Build process
The build process is managed by the src/build.py script
- It iterates over specified color schemes
- It iterates over logo variants, including the logomark, logo, OX logo, and stacked logomark variants
- Builds each variant of the specified logo by sourcing the variables and running
envsubston the template file - Then, uses the
mogrifycommand fromimagemagickto build.pngversions of all the variants - Releases:
- For the GitHub release, a zip file will be made containing all the variants
- For the nix flake, all raw files are provided in the
resultfolder - An additional attribute
.#branding-nopngis provided for quicker builds