tecosaur / BMC

My bespoke, multipurpose class; designed for general use in LaTeX documents.
LaTeX Project Public License v1.3c
215 stars 27 forks source link

Use of palette not working #10

Closed epabion closed 4 years ago

epabion commented 4 years ago

Using a pallete different from de makes no difference in the generated PDF. The PDF generated with the two attached files are not visually different.

Palette.txt PaletteFr.txt

tecosaur commented 4 years ago

Ooops, sorry but this got lost in the flood of github notifications I get. I'll take a look :)

tecosaur commented 4 years ago

Ok. I see what the issue is. Changing the colour palette only afects Red, Green, Purple, etc. but not the primary colours. If you had something like

\usepalette{fr}
\colorlet{primary}{Blue}

Then you'd see the effect you want.

As a side note if you put that in the preamble, then primaryVariant will be automatically calculated, and so the "Contents" on the contents page won't look weird

image image