Commit Graph

4 Commits

Author SHA1 Message Date
Mike Rogers 2306f62bf1 Making use of `prefers-reduced-motion` media query (#25641)
* Making use of `prefers-reduced-motion` media query

As discussed in #25249 - if a user (Who is using Safari / iOS) requests
reduced motion in their system settings, we should avoid transitions.

* Ignoring prefers reduced motion for CSS Linting
* Updating copy clarifying the reduce motion functionality in accessibility.md
2018-03-20 09:28:21 +00:00
in-in ba878eb542 Update stylelint config to add missing properties (#25572)
* add missing properties

list of new properties:
align-content
animation-fill-mode
appearance
column-count
column-fill
column-gap
column-rule
column-rule-color
column-rule-style
column-rule-width
column-span
column-width
columns
direction
fill
flex-shrink
orphans
page-break-after
page-break-before
page-break-inside
perspective
src
stroke
unicode-bidi
widows

* fix invalid JSON config

add curly brackets

* Update .stylelintrc
2018-02-11 15:16:22 -08:00
freezy 2dc9c76d75 Enable `scss/dollar-variable-default` rule (#25542)
This checks if all variables are `!default`.
2018-02-07 15:28:35 +02:00
XhmikosR 6d336502c7 Clean up and tweak ESLint rules.
Also, refactor ESLint and stylelint config files; now everything will work from our root dir.
2018-01-11 18:48:46 +02:00