123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- <?php
- /* Custom Colors: Dara */
- //Background
- add_color_rule( 'bg', '#444340', array(
- array( 'body', 'background-color' ),
- array( '.site-footer', 'background-color', '+0.3' ),
- ) );
- add_color_rule( 'txt', '#444340', array(
- array( '#secondary.widget-area .widget-title,
- .entry-title,
- .entry-title a,
- .featured-page .entry-title,
- .featured-page .entry-title a,
- .footer-widget-area .widget-title,
- .page-title,
- .site-title a,
- .woocommerce .page-title', 'color', '#fff' ),
- ),
- __( 'Headings' ) );
- add_color_rule( 'link', '#15b6b8', array(
- array( '#infinite-handle span,
- .hero-content-wrapper .cat-links a,
- .jetpack-social-navigation ul li,
- .main-navigation,
- .main-navigation ul ul,
- .button,
- button,
- input[type="button"],
- input[type="reset"],
- input[type="submit"],
- .woocommerce #respond input#submit.alt,
- .woocommerce a.button.alt,
- .woocommerce button.button.alt,
- .woocommerce input.button.alt,
- .woocommerce #respond input#submit.alt:hover,
- .woocommerce a.button.alt:hover,
- .woocommerce button.button.alt:hover,
- .woocommerce input.button.alt:hover', 'background-color' ),
- array( 'input[type="email"]:focus,
- input[type="password"]:focus,
- input[type="search"]:focus,
- input[type="text"]:focus,
- input[type="url"]:focus,
- textarea:focus', 'border-color' ),
- array( '.cat-links a,
- .comment-meta a,
- .entry-title a:active,
- .entry-title a:focus,
- .entry-title a:hover,
- .footer-widget-area a:active,
- .footer-widget-area a:focus,
- .footer-widget-area a:hover,
- .jetpack-testimonial-shortcode .testimonial-entry-title,
- .site-info a:active,
- .site-info a:focus,
- .site-info a:hover,
- a,
- body:not(.search):not(.single-jetpack-testimonial) .jetpack-testimonial .entry-title,
- body:not(.search):not(.single-jetpack-testimonial) .jetpack-testimonial .entry-title a', 'color', '#fff' ),
- ),
- __( 'Links' ) );
- add_color_rule( 'fg1', '#ffffff', array(
- ) );
- add_color_rule( 'fg2', '#ffffff', array(
- ) );
- //Extra rules
- add_color_rule( 'extra', '#ffffff', array(
- array( '#infinite-handle span,
- .hero-content-wrapper .cat-links a,
- .jetpack-social-navigation ul li,
- .jetpack-social-navigation ul a,
- .jetpack-social-navigation ul a:visited,
- .main-navigation,
- .main-navigation a,
- .main-navigation ul ul a,
- .button,
- .button:hover,
- .button:active,
- .button:focus,
- .menu-toggle,
- button,
- input[type="button"],
- input[type="reset"],
- input[type="submit"],
- .woocommerce #respond input#submit.alt,
- .woocommerce a.button.alt,
- .woocommerce button.button.alt,
- .woocommerce input.button.alt,
- .woocommerce #respond input#submit.alt:hover,
- .woocommerce a.button.alt:hover,
- .woocommerce button.button.alt:hover,
- .woocommerce input.button.alt:hover', 'color', 'link' ),
- array( '.jetpack-social-navigation ul a:hover,
- .menu-toggle:hover,
- .menu-toggle:focus', 'color', 'link', 3 ),
- array( '.site-footer,
- .site-footer a', 'color', 'bg' ),
- ) );
- //Additional palettes
- add_color_palette( array(
- '#e7e8e8',
- '#444444',
- '#db045a',
- ), 'Pink' );
- add_color_palette( array(
- '#515151',
- '#686868',
- '#be5402',
- ), 'Orange' );
- add_color_palette( array(
- '#eae6e5',
- '#4f6e86',
- '#72594a',
- ), 'Brown' );
- add_color_palette( array(
- '#212121',
- '#444444',
- '#333333',
- ), 'Black' );
- add_color_palette( array(
- '#efefef',
- '#57887c',
- '#b5d3d2',
- ), 'Light Blue' );
- add_color_palette( array(
- '#383838',
- '#383838',
- '#e4e06c',
- ), 'Light Yellow' );
|