Skip to content

Commit

Permalink
Add -webkit-text-fill-color and properties related to multi-line tr…
Browse files Browse the repository at this point in the history
…uncation (#373)
  • Loading branch information
toFrankie authored Aug 21, 2024
1 parent 23b11ad commit 3737e27
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .changeset/brown-dragons-obey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'stylelint-config-recess-order': minor
---

Add properties related to multi-line truncation

- [`-webkit-box-orient`](https://developer.mozilla.org/en-US/docs/Web/CSS/box-orient)
- [`-webkit-line-clamp`](https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-line-clamp)
- `line-clamp`
8 changes: 8 additions & 0 deletions .changeset/lemon-lamps-nail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'stylelint-config-recess-order': minor
---

Add `-webkit-text-fill-` and `-stroke-*` properties

- [`-webkit-text-fill-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-text-fill-color)
- [`-webkit-text-stroke-*`](https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-text-stroke)
7 changes: 7 additions & 0 deletions .changeset/young-pumas-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'stylelint-config-recess-order': minor
---

Remove legacy `-ms-text-overflow` property

This was useful for IE8; can be autoprefixed if required.
9 changes: 8 additions & 1 deletion groups.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const propertyGroups = [
'flex-grow',
'flex-shrink',
'flex-wrap',
'-webkit-box-orient',
],
},
{
Expand Down Expand Up @@ -184,6 +185,10 @@ const propertyGroups = [
'hyphens',
'line-height',
'color',
'-webkit-text-fill-color',
'-webkit-text-stroke',
'-webkit-text-stroke-width',
'-webkit-text-stroke-color',
'text-align',
'text-align-last',
'text-emphasis',
Expand All @@ -200,10 +205,11 @@ const propertyGroups = [
'text-indent',
'text-justify',
'text-outline',
'-ms-text-overflow',
'text-overflow',
'text-overflow-ellipsis',
'text-overflow-mode',
'-webkit-line-clamp',
'line-clamp',
'text-shadow',
'text-transform',
'text-wrap',
Expand Down Expand Up @@ -257,6 +263,7 @@ const propertyGroups = [
'counter-increment',
'resize',
'user-select',
'-webkit-user-select',
'nav-index',
'nav-up',
'nav-right',
Expand Down

0 comments on commit 3737e27

Please sign in to comment.