Mode Aware Code Coloring Reference

Is there a full reference of all mode aware styles for custom code coloring?

For example this for CSS coloring

.cm-m-css {
color: @light_blue;
}
.cm-m-css.cm-comment {
color: @mid_grey;
}
.cm-m-css.cm-property

I would like to know if there are specefic rules for colouring CSS in more detail, inclduing selector, property and value separately and I would also like a full list styles for PHP and Javascript too but there does not seem to be a full and complete reference available any where that I can find?

The precise tokens created by each given mode are not documented—the easiest way to look at them is to use your browser’s dev tools to inspect the elements created for a given token.

I have a css template that you may find useful - https://github.com/badbrainz/codemirror-theme-template. If you want just the token classes check the tokens.css file.