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 75f7305 commit d5e143fCopy full SHA for d5e143f
index.js
@@ -15,6 +15,12 @@ module.exports = {
15
'function-disallowed-list': ['rgba', 'hsla'],
16
'color-function-notation': 'modern',
17
'no-irregular-whitespace': null,
18
+ 'keyframes-name-pattern': [
19
+ '^--([a-z][a-z0-9]*)(-[a-z0-9]+)*$',
20
+ {
21
+ message: name => `Expected keyframe name ${name} to be --kebab-case`
22
+ }
23
+ ],
24
'selector-class-pattern': null,
25
'alpha-value-notation': 'number',
26
'function-url-quotes': null,
test/example.css
@@ -1,4 +1,11 @@
1
.block_element.is-mod {
2
display: block;
3
background: oklch(0% 0 0);
4
+ animation: --rotating 1s linear infinite;
5
+}
6
+
7
+@keyframes --rotating {
8
+ 100% {
9
+ rotate: 360deg;
10
11
}
0 commit comments