Add branding.yml to the build

This commit is contained in:
tnichols217 2025-02-17 13:18:04 -05:00
parent b14695a147
commit a23d38c90f
6 changed files with 27 additions and 0 deletions

14
src/_brand.yml Normal file
View File

@ -0,0 +1,14 @@
color:
palette:
military-red: "${RED}"
resolute-gold: "${GOLD}"
process-black: "${BLACK}"
white: "${WHITE}"
background: white
foreground: process-black
primary: military-red
secondary: resolute-gold
logo:
small: branding/logo-${COLOR}.svg
medium: branding/logomark-uni-${COLOR}.svg
large: branding/stacked-uni-${COLOR}.svg

View File

@ -37,6 +37,7 @@ for color in colors:
script += f'''
source ./colors/{color}.sh
source ./style.sh
envsubst -i ./_brand.yml -o out/_brand-{color}.yml
'''
for logo in logos:

View File

@ -1,2 +1,5 @@
export RED="#000000"
export GOLD="#000000"
export BLACK="#000000"
export WHITE="#FFFFFF"
export COLOR="black"

View File

@ -1,2 +1,5 @@
export RED="#C8102E" # PMS 186
export GOLD="#B9975B" # PMS 465
export BLACK="#000000"
export WHITE="#FFFFFF"
export COLOR="color"

View File

@ -1,2 +1,5 @@
export RED="#C8102E" # PMS 186
export GOLD="#C8102E" # PMS 186
export BLACK="#000000"
export WHITE="#FFFFFF"
export COLOR="red"

View File

@ -1,2 +1,5 @@
export RED="#FFFFFF"
export GOLD="#FFFFFF"
export BLACK="#000000"
export WHITE="#000000"
export COLOR="white"