Branding of the Beta Nu chapter of Theta Chi
Go to file
2025-09-21 17:35:17 -04:00
.github/workflows Initial Commit 2025-02-16 23:04:58 -05:00
src fix dark mode 2025-09-21 17:35:17 -04:00
.envrc add bg variants 2025-02-26 19:55:58 -05:00
.gitignore Initial Commit 2025-02-16 23:04:58 -05:00
build.nix add bg variants 2025-02-26 19:55:58 -05:00
build.sh undo 2025-08-05 15:29:32 -04:00
deploy.nix add bg variants 2025-02-26 19:55:58 -05:00
flake.lock add bg variants 2025-02-26 19:55:58 -05:00
flake.nix add bg variants 2025-02-26 19:55:58 -05:00
README.md add bg variants 2025-02-26 19:55:58 -05:00

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

  1. It iterates over specified color schemes
  2. It iterates over logo variants, including the logomark, logo, OX logo, and stacked logomark variants
  3. Builds each variant of the specified logo by sourcing the variables and running envsubst on the template file
  4. Then, uses the mogrify command from imagemagick to build .png versions of all the variants
  5. 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 result folder
    • An additional attribute .#branding-nopng is provided for quicker builds