From 95497453be67bd49393a5eeac6d9dddd9b96509c Mon Sep 17 00:00:00 2001 From: fbasmaison-lucca Date: Thu, 25 Apr 2024 10:15:58 +0200 Subject: [PATCH] [Stylelint] Use legacy notation for colors (`rgba` instead of `rgb`). --- packages/stylelint-config/stylelint.config.mjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/stylelint-config/stylelint.config.mjs b/packages/stylelint-config/stylelint.config.mjs index 75ae1cc664..44859991bc 100644 --- a/packages/stylelint-config/stylelint.config.mjs +++ b/packages/stylelint-config/stylelint.config.mjs @@ -30,6 +30,9 @@ export default { ignore: ['after-comment'], }, ], + // This rule will create issues when using custom properties provided by LF with the format `r, g, b`, + // resulting in a mixed syntax `r, g, b / a` instead of `r g b / a`. + 'color-function-notation': 'legacy', 'color-hex-length': null, 'custom-property-empty-line-before': [ 'always',