themer
themer copied to clipboard
Bug: Style Name is changed
I figured, when using a prefix to determine the theme name, that everything after the first slash is changed if it contains a slash. Relevant code:
https://github.com/thomas-lowry/themer/blob/dba7de57f26b4d7b6e1acc5e4bd94d18f53ce1db/code.ts#L451
Apparently: The first slash is to distinguish in the themes to determine the name, everything after to match with the styles used where the theme is applied to. If they use a slash in their variable names, that does not work at all.
Correct would be:
let styleName = name.split('/').slice(1).join('/');
I have the same problem. 'themer' does not work once '/' is present in the stylename.