| Do | Use the syntax field in defineTheme() for app-wide code styling. Use XDSSyntaxTheme only when a specific section needs a different look. |
| Do | Pick from built-in presets or create a custom theme with defineSyntaxTheme() for brand-specific colors. |
| Do | Syntax themes support light-dark() tuples — each token can have different values for light and dark mode, resolved automatically by the color scheme. |
| Don't | Wrap individual CodeBlock instances with XDSSyntaxTheme — use the syntaxTheme prop on XDSCodeBlock directly for per-instance overrides. |