Problem with variables
Hi, I have this error when I try to publish my style:
1 error prohibited this style from being saved
There were problems with the following fields:Style code has an error - parse error on value ";" (SEMI) on line 55 around "*[[hue]]*/;
--saturati". If you need help, post a new discussion at https://forum.userstyles.org/post/discussion/5 .
My code:
:root{
--hue: /*[[hue]]*/;
--saturation: /*[[saturation]]*/;
Am I doing it wrong ? For information, the style works well in stylus.
Thanks,
Charlie
Comments
after you paste your code with variables you have to create this variables in a Style Settings section below the code section