godaddy-wordpress / primer-child-activation

Activation is a Primer child theme with a colorful, fitness-focused design.
GNU General Public License v2.0
8 stars 5 forks source link

Update based on Primer theme updates #3

Closed mrpritchett closed 8 years ago

mrpritchett commented 8 years ago

Probably going to need to check fonts and color schemes.

frankiejarrett commented 8 years ago

@mrpritchett Here are filters in Primer that child themes should use:

Colors

(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.

Fonts

(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.

Layouts

(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.

mrpritchett commented 8 years ago

These all appear to be good excepting https://github.com/godaddy/wp-primer-theme/issues/52