diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-09-27 13:16:47 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-09-27 13:16:47 +0000 |
| commit | 47af9b04a24169a71b9f2835bdb26293679258a7 (patch) | |
| tree | 387181441c8e51df173da71d7be6102c74dd53de /.stylelintrc.json | |
| parent | f70e52b5d4043141982d36c56032063d6141115c (diff) | |
provide color variables as css variables as well and use them, fixes #4651
Closes #4651
Merge request studip/studip!3460
Diffstat (limited to '.stylelintrc.json')
| -rw-r--r-- | .stylelintrc.json | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.stylelintrc.json b/.stylelintrc.json index 56a1bbd..388914d 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -75,7 +75,11 @@ "string-quotes": null, "value-keyword-case": null, "value-list-max-empty-lines": null, - "value-no-vendor-prefix": null + "value-no-vendor-prefix": null, + "custom-property-pattern": [ + "^([a-z][a-z0-9]*-+)*[a-z0-9]+$", + {"message": "Expected custom property name to be kebab-case-ish (multiple dashes are allowed"} + ] }, "overrides": [ { |
