Tokens and themes
A token is a saved value with a name, like a colour called brand. Change the token once and everything using it follows.

Six kinds of token
Colour
Your palette.
Type
A whole text style.
Spacing
Gaps and padding.
Radius
Rounded or squircle corners.
Shadow
Depth you can reuse.
Border
Line widths.
Make one and use it
Click Tokens under the file name, then New colour or New style for type. Give it a name and a value.
To use it, open the token list in a colour field, or the Typography row for text. Detach token unlinks it.
Light and Dark
Light is the default. Add dark theme gives Colour, Border and Shadow tokens a second value.
Questions
Can I add my own kind of token?
No. The six kinds are fixed, but each can hold as many tokens as you need.
How do I delete a token?
Open it in the Tokens screen and delete it from its editor.
How do I make text change colour between themes?
Give the text a colour token that has a Light and a Dark value.