What is jss-plugin-camel-case?
The jss-plugin-camel-case npm package is a plugin for JSS (JavaScript Style Sheets) that allows you to write your CSS rules using camelCase syntax instead of kebab-case. This is particularly useful when you are working in a JavaScript environment where camelCase is the conventional way of writing identifiers. The plugin automatically converts these camelCase rules into the correct CSS syntax.
CamelCase to kebab-case conversion
This feature allows you to write CSS properties in camelCase, which the plugin will then convert to kebab-case. For example, 'backgroundColor' is converted to 'background-color' in the final CSS output.
{
"button": {
"backgroundColor": "blue",
"color": "white"
}
}