Theme Check: missing required CSS classes
Issue Overview
The Theme Check plugin found that the following required classes are missing.
-
.stickycss class is needed in your theme css -
.screen-reader-textcss class is needed in your theme css. See See: the Codex for an example implementation.
.screen-reader-text is apparently not detected. It is already in global.css
Is there a way to run the theme check as part of the gulp/build process?
I had a discussion with @dingo-d (Theme Sniffer lead dev) in Slack. #161 and #162 go in that direction.
- #161 should be updated soon
- #162 is blocked by https://github.com/squizlabs/PHP_CodeSniffer/issues/2197 (Greg or Juliette will be pinged)
This was not fixed in 2.0, so moving to Future Release.
We had a chat about the standards, and after we release v0.2.0 of the themes standard, we'll move it to a separate repo, so once we release 0.2.0 (hopefully this week) I'll update the PR, and then after we move them, I can make new update in the future release 🙂