Closed mrpritchett closed 8 years ago
@mrpritchett Here are filters in Primer that child themes should use:
(array) primer_colors
- Register the name, default values, and CSS targets of color areas.
(array) primer_color_schemes
- Define a color scheme users can select from that changes the entire palette of available colors. Typically a child theme should always have it's own set of color schemes and should not use default schemes from Primer.
(array) primer_font_types
- Here you can set what the default font should be for each type of font, and what the CSS targets.
(array) primer_fonts
- This is really only here for posterity. If a new font needed for any official child theme it would be better for us to just add it to Primer directly.
(array) primer_layouts
- All available page layouts are exposed in this filter, however, it should be used only for removing layouts that don't apply to a child theme, rather than adding new ones.
(string) primer_default_layout
- Use this to change the default layout, which is set to two-column-default
otherwise.
These all appear to be good excepting https://github.com/godaddy/wp-primer-theme/issues/52
Probably going to need to check fonts and color schemes.