#show heading.where(level: 1): set text(red) #show heading.where(level: 2): set text(blue) #show heading: set text(green) = Red == Blue === Green