Only fontSize and color inherit from page.defaultTextStyle. bold, semiBold, and italic take effect only on the node where you set them — so a page default never silently bolds everything. Set the weight on each node that needs it.
Names follow ‹colour›.‹shade›, where shade is lighten5…lighten1, medium, darken1…darken4 (and accent1…accent4 for colours that have them). An unknown token is rejected at validation time with 422. See the full schema and the QuestPDF colour reference.
For brand colours, use hex. For quick, harmonious greys and accents on internal documents, the palette tokens save you picking values — grey.darken1 for muted labels, grey.lighten2 for hairline borders are common choices.
pageNumber and totalPages are the only way to print page numbers, and they only make sense in a footer or header (which repeat on every page). In the body they’d render once. See Headers & footers.