As a first step you need to define the various highlight styles in your CSS using `::highlight(x)` and also register them in the registry using `CSS.highlights.set(x, new Highlight())`
(x being the types of tokens: comment, property, boolean, class-name, etc.)
With that in place, and after tokenizing code snippets (e.g. using @prismjs), it’s only a matter of assigning the tokens to the corresponding Highlight.
`CSS.highlights.get(token.type).add(range)`