Skip to content

Commit

Permalink
[Stylelint] Use legacy notation for colors (rgba instead of rgb).
Browse files Browse the repository at this point in the history
  • Loading branch information
fbasmaison-lucca committed Apr 25, 2024
1 parent 93dd048 commit 9549745
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/stylelint-config/stylelint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 9549745

Please sign in to comment.