Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/quick-pets-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@cloudfour/patterns': minor
---

Use logical properties across existing styles to improve future-friendliness of patterns.
8 changes: 8 additions & 0 deletions .stylelintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
plugins: ['stylelint-use-logical-spec'],
extends: ['stylelint-config-cloudfour', 'stylelint-config-prettier'],
rules: {
// disable stylelint-scss rules that conflict with prettier
Expand Down Expand Up @@ -38,5 +39,12 @@ module.exports = {
'suitcss/custom-property-no-outside-root': null,
// we want to be able to compose :root for theme selectors (#1056)
'suitcss/selector-root-no-composition': null,
'liberty/use-logical-spec': [
'always',
{
// Until Safari 15 adoption is higher
except: ['clear', 'float', /^border-.+-radius$/i],
},
],
},
};
Loading