How do I create a PlotTheme with larger fonts in the legend

Wrapping this thread up:

I think the issue might have been how I was installing Julia. I tried three approaches:

  1. Install via conda issues
  2. Install via pacman issues
  3. install from julia github switch to v1.7.2 branch and make no issues

Now, when I call the theme

_themes[:cooper] = PlotTheme(linewidth = 4,
                             markersize = 10,
                             fontfamily = "Sans",
                             titlefontsize = 24,
                             guidefontsize = 18,
                             tickfontsize = 18,
                             legend_font_pointsize = 18,
                            )

Using Plots.theme(:cooper) I get a legend that has 18-point font just like the ticks and guides. It could have been a versioning issue on my end.