Text colours

Nine micronodes that colour a run of text on a scene's canvas, one per hue: !red{…}, !orange{…}, !yellow{…}, !green{…}, !teal{…}, !blue{…}, !purple{…}, !pink{…} and !grey{…}. Each takes an inline body and no attributes. Canvas-only: one anywhere in a scene's narrative is a compile error.

On this page

#Members

9 members, differing only in the hue applied to the text. This page documents all of them.

!redred
Canvas text in red.
!orangeorange
Canvas text in orange.
!yellowyellow
Canvas text in yellow.
!greengreen
Canvas text in green.
!tealteal
Canvas text in teal.
!blueblue
Canvas text in blue.
!purplepurple
Canvas text in purple.
!pinkpink
Canvas text in pink.
!greygrey
Canvas text in grey.

#Syntax

!red{falling}
!orange{caution}
!yellow{pending}
!green{rising}
!teal{control}
!blue{treatment}
!purple{outlier}
!pink{sample B}
!grey{not significant}

#Notes

  • Canvas text is any inline content in a scene's detail: a paragraph, heading or list item, a table cell, a question's prompt, a mark's label:.
  • In the narrative, inside a callout's body or title and inside bold or italic included, a colour is a compile error (narrative/canvas-only-micronode): '!red' is not allowed in the narrative; colour, highlighting and symbols belong in the canvas.
  • Only the nine bare hues have a micronode. !light-blue{…}, !dark-yellow{…} and !neutral{…} are refused with unknown micronode; the light and dark tones are written where a colour: attribute is taken, such as on a text mark.
  • In a mark's label, !red{…} is the red a mark with colour: red is drawn in. In a table cell or canvas paragraph it is a step of the same hue further from the page's own colour, so it reads as text.
  • Each hue is a step of the theme's palette rather than a fixed colour, so it stays legible in light and dark mode.

Last updated