CSS variables best practice

Should camelCase be used for CSS variable names?

You could if you want. However, it looks like current trend is leaning towards using dashes to connect spaces.

Here is google’s styleguide.


Here is another guide on naming conventions.

That’s a big help.
Thank you very much