style-packs.php 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?php
  2. /**
  3. * Style Packs configuration.
  4. *
  5. * @package Radcliffe 2
  6. */
  7. new Style_Packs_Core( array(
  8. // Format to use for active style pack body class
  9. 'body_class_format' => 'style-pack-%s',
  10. // Style packs directory
  11. 'styles_directory' => 'styles',
  12. // Javascripts directory
  13. 'js_directory' => 'assets/js',
  14. // Use thumbnails
  15. 'style_thumbs' => array(
  16. 'width' => 285/2,
  17. 'height' => 200/2,
  18. ),
  19. // Style declarations
  20. 'styles' => array(
  21. 'default' => esc_html__( 'Radcliffe Perfect', 'radcliffe-2' ),
  22. 'modern' => esc_html__( 'Modern Bauhaus', 'radcliffe-2' ),
  23. 'vintage' => esc_html__( 'Vintage Paper', 'radcliffe-2' ),
  24. 'colorful' => esc_html__( 'Upbeat Pop', 'radcliffe-2' ),
  25. ),
  26. // Style descriptions
  27. 'style_descriptions' => array(
  28. 'default' => esc_html__( 'A bright, versatile canvas, offering a crisp reading experience for visitors.', 'radcliffe-2' ),
  29. 'modern' => esc_html__( 'The power of minimalism, embodied in a clean black-and-white design.', 'radcliffe-2' ),
  30. 'vintage' => esc_html__( 'Timeless, simple elegance, with classic fonts and a touch of sepia.', 'radcliffe-2' ),
  31. 'colorful' => esc_html__( 'For an extra layer of playfulness, from bold color palettes to a vibrant font.', 'radcliffe-2' ),
  32. ),
  33. // Font loading for style packs
  34. 'fonts' => array(
  35. 'vintage' => array(
  36. 'Libre Baskerville' => 'https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400italic,700',
  37. ),
  38. 'modern' => array(
  39. 'Montserrat' => 'https://fonts.googleapis.com/css?family=Montserrat:400,400italic,700,700italic',
  40. 'Source Sans Pro' => 'https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,700,700italic',
  41. ),
  42. 'colorful' => array(
  43. 'Karla' => 'https://fonts.googleapis.com/css?family=Karla:400,400italic,700,700italic',
  44. 'Inconsolata' => 'https://fonts.googleapis.com/css?family=Inconsolata:400,700',
  45. ),
  46. ),
  47. ) );