I would like to set the colors for a pdf export of an org-mode file based on the structural elements. That is something like
* This Headline Should Be Blue
** This subheadline should be green
- List items should be black
Plain text should be black
Currently, I can modify the font and font color for the entire exported document with the following:
#+LATEX_HEADER:\usepackage{fontspec}
#+LATEX_HEADER:\setmainfont[Color=Green]{Fira Sans}
#+LATEX_HEADER:\setsansfont[Color=Green]{Fira Sans}
And I can set the color for a specific region with something like
\addfontfeature{Color=red} this part is red \addfontfeature{Color=black} and now back to black
But I'd like to define consistent rules across the document so I don't have to keep manually switching back and forth between colors.