We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6533ea6 commit c777a95Copy full SHA for c777a95
taddy/RuleInjector/Sheet.ts
@@ -50,13 +50,13 @@ abstract class Sheet {
50
hash = hash ? '-' + hash : '';
51
const {nameGenerator} = config;
52
53
- const cssKey = camelToKebab(key);
54
-
55
- const name = nameGenerator.getName(cssKey, value, {
+ const name = nameGenerator.getName(key, value, {
56
postfix,
57
at,
58
});
59
+ const cssKey = camelToKebab(key);
+
60
const result = Object.create(null);
61
// result[propHash + postfixHash] = value + hash
62
result[name[0] + name[1] + name[2] + name[3]] = name[4] + hash;
0 commit comments