Skip to content

Instantly share code, notes, and snippets.

@dovy
Created December 6, 2013 18:35
Show Gist options
  • Save dovy/7829938 to your computer and use it in GitHub Desktop.
Save dovy/7829938 to your computer and use it in GitHub Desktop.
<?
array(
'id'=>'typographyTest',
'type' => 'typography',
'title' => __('Typography', 'redux-framework-demo'),
'font-style'=>false, // Includes font-style and weight. Can use font-style or font-weight to declare
'font-weight'=>false, // Includes font-style and weight. Can use font-style or font-weight to declare
'subsets'=>false, // Only appears if google is true and subsets not set to false
'font-size'=>false,
'font-family'=>false,
//'line-height'=>false,
'color'=>false,
'preview'=>false, // Disable the previewer
'output' => array('h2.site-description'), // An array of CSS selectors to apply this font style to dynamically
'units'=>'px', // Defaults to px
'subtitle'=> __('Typography option with each property can be called individually.', 'redux-framework-demo'),
'default'=> array(
'line-height'=>'40',
),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment