stormwarning / stylelint-config-recess-order

🗂️ Recess-based property sort order for Stylelint.
ISC License
349 stars 22 forks source link

mask properties #347

Closed robsonsobral closed 10 months ago

robsonsobral commented 11 months ago

Hi! Thank you for keeping RECESS order alive!

Is it possible to add the mask related properties?

I guess they could follow the background properties.

robsonsobral commented 11 months ago

Oh, I forgot the mask-border properties!

stormwarning commented 10 months ago

Hey, apologies for the late response; glad you find it useful though! I'll add these properties to the next batch 👍

stormwarning commented 10 months ago

According to the W3C:

The mask shorthand also resets mask-border to its initial value. It is therefore recommended that authors use the mask shorthand, rather than other shorthands or the individual properties, to override any mask settings earlier in the cascade. This will ensure that mask-border has also been reset to allow the new styles to take effect.

So I've added mask-border properties before mask — if you're familiar with this properties, let me know if this would be problematic in practice.