additional-css-variables.php 1011 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. return array(
  3. // The current CSS Variables polyfill for IE 11 does not support nested variables
  4. // However, these are necessary for the live preview,
  5. // so we use a static color for the live site and a CSS var for the customizer
  6. 'default-bg-color' => is_customize_preview() ? 'var( --vamtam-main-background-background-color )' : rd_vamtam_get_option( 'main-background', 'background-color' ),
  7. 'default-line-color' => is_customize_preview() ? 'var( --vamtam-accent-color-7 )' : rd_vamtam_get_option( 'accent-color', 7 ),
  8. 'small-padding' => '20px',
  9. 'horizontal-padding' => '50px',
  10. 'vertical-padding' => '30px',
  11. 'horizontal-padding-large' => '60px',
  12. 'vertical-padding-large' => '60px',
  13. 'no-border-link' => 'none',
  14. 'border-radius' => '6px',
  15. 'border-radius-oval' => '30em',
  16. 'overlay-color' => is_customize_preview() ? 'var( --vamtam-accent-color-5 )' : rd_vamtam_get_option( 'accent-color', 5 ),
  17. /** DO NOT CHANGE BELOW */
  18. 'box-outer-padding' => '60px',
  19. /** DO NOT CHANGE ABOVE */
  20. );