validate_custom_key

Function validate_custom_key 

Source
pub fn validate_custom_key(key: &str) -> Result<(), StyleError>
Expand description

Validates a custom style key.

Keys must start with a letter, contain only alphanumeric characters and underscores, and cannot conflict with presets.