FLOE-543: Refactor mixins from wp-a11y theme so it can be imported directly into child themes

Metadata

Source
FLOE-543
Type
Bug
Priority
Major
Status
Open
Resolution
N/A
Assignee
N/A
Reporter
Jonathan Hung
Created
2018-02-23T16:08:28.841-0500
Updated
2018-02-23T16:08:28.841-0500
Versions
N/A
Fixed Versions
N/A
Component
N/A

Description

Currently there are mix-in functions in the wp-a11y theme which are useful for child themes, but can't be accessed by the child theme. This means child themes need to duplicate these mixins.

Ideally, these mixins should be refactored into separate files so it can be imported into child themes using stylus.

For example, the apply-contrast-colours() mixin should be refactored.