wpcom-colors.php 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. <?php
  2. /* Custom Colors: Dara */
  3. //Background
  4. add_color_rule( 'bg', '#444340', array(
  5. array( 'body', 'background-color' ),
  6. array( '.site-footer', 'background-color', '+0.3' ),
  7. ) );
  8. add_color_rule( 'txt', '#444340', array(
  9. array( '#secondary.widget-area .widget-title,
  10. .entry-title,
  11. .entry-title a,
  12. .featured-page .entry-title,
  13. .featured-page .entry-title a,
  14. .footer-widget-area .widget-title,
  15. .page-title,
  16. .site-title a,
  17. .woocommerce .page-title', 'color', '#fff' ),
  18. ),
  19. __( 'Headings' ) );
  20. add_color_rule( 'link', '#15b6b8', array(
  21. array( '#infinite-handle span,
  22. .hero-content-wrapper .cat-links a,
  23. .jetpack-social-navigation ul li,
  24. .main-navigation,
  25. .main-navigation ul ul,
  26. .button,
  27. button,
  28. input[type="button"],
  29. input[type="reset"],
  30. input[type="submit"],
  31. .woocommerce #respond input#submit.alt,
  32. .woocommerce a.button.alt,
  33. .woocommerce button.button.alt,
  34. .woocommerce input.button.alt,
  35. .woocommerce #respond input#submit.alt:hover,
  36. .woocommerce a.button.alt:hover,
  37. .woocommerce button.button.alt:hover,
  38. .woocommerce input.button.alt:hover', 'background-color' ),
  39. array( 'input[type="email"]:focus,
  40. input[type="password"]:focus,
  41. input[type="search"]:focus,
  42. input[type="text"]:focus,
  43. input[type="url"]:focus,
  44. textarea:focus', 'border-color' ),
  45. array( '.cat-links a,
  46. .comment-meta a,
  47. .entry-title a:active,
  48. .entry-title a:focus,
  49. .entry-title a:hover,
  50. .footer-widget-area a:active,
  51. .footer-widget-area a:focus,
  52. .footer-widget-area a:hover,
  53. .jetpack-testimonial-shortcode .testimonial-entry-title,
  54. .site-info a:active,
  55. .site-info a:focus,
  56. .site-info a:hover,
  57. a,
  58. body:not(.search):not(.single-jetpack-testimonial) .jetpack-testimonial .entry-title,
  59. body:not(.search):not(.single-jetpack-testimonial) .jetpack-testimonial .entry-title a', 'color', '#fff' ),
  60. ),
  61. __( 'Links' ) );
  62. add_color_rule( 'fg1', '#ffffff', array(
  63. ) );
  64. add_color_rule( 'fg2', '#ffffff', array(
  65. ) );
  66. //Extra rules
  67. add_color_rule( 'extra', '#ffffff', array(
  68. array( '#infinite-handle span,
  69. .hero-content-wrapper .cat-links a,
  70. .jetpack-social-navigation ul li,
  71. .jetpack-social-navigation ul a,
  72. .jetpack-social-navigation ul a:visited,
  73. .main-navigation,
  74. .main-navigation a,
  75. .main-navigation ul ul a,
  76. .button,
  77. .button:hover,
  78. .button:active,
  79. .button:focus,
  80. .menu-toggle,
  81. button,
  82. input[type="button"],
  83. input[type="reset"],
  84. input[type="submit"],
  85. .woocommerce #respond input#submit.alt,
  86. .woocommerce a.button.alt,
  87. .woocommerce button.button.alt,
  88. .woocommerce input.button.alt,
  89. .woocommerce #respond input#submit.alt:hover,
  90. .woocommerce a.button.alt:hover,
  91. .woocommerce button.button.alt:hover,
  92. .woocommerce input.button.alt:hover', 'color', 'link' ),
  93. array( '.jetpack-social-navigation ul a:hover,
  94. .menu-toggle:hover,
  95. .menu-toggle:focus', 'color', 'link', 3 ),
  96. array( '.site-footer,
  97. .site-footer a', 'color', 'bg' ),
  98. ) );
  99. //Additional palettes
  100. add_color_palette( array(
  101. '#e7e8e8',
  102. '#444444',
  103. '#db045a',
  104. ), 'Pink' );
  105. add_color_palette( array(
  106. '#515151',
  107. '#686868',
  108. '#be5402',
  109. ), 'Orange' );
  110. add_color_palette( array(
  111. '#eae6e5',
  112. '#4f6e86',
  113. '#72594a',
  114. ), 'Brown' );
  115. add_color_palette( array(
  116. '#212121',
  117. '#444444',
  118. '#333333',
  119. ), 'Black' );
  120. add_color_palette( array(
  121. '#efefef',
  122. '#57887c',
  123. '#b5d3d2',
  124. ), 'Light Blue' );
  125. add_color_palette( array(
  126. '#383838',
  127. '#383838',
  128. '#e4e06c',
  129. ), 'Light Yellow' );