Skip to content

Commit

Permalink
Setting text color for color schemes; adjusting sidebar form overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
kimcoleman committed Aug 25, 2024
1 parent 23878f9 commit af178de
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 28 deletions.
34 changes: 24 additions & 10 deletions inc/customizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -1139,16 +1139,17 @@ public static function get_all_fonts() {
* 3. Header Background Color
* 4. Primary Navigation Background Color
* 5. Primary Navigation Link Color
* 6. Link Color
* 7. Meta Link Color
* 8. Primary Color
* 9. Secondary Color
* 10. Action Color
* 11. Default Button Color
* 12. Page Masthead Text Color
* 13. Page Masthead Background Color
* 14. Footer Widgets Text Color
* 15. Footer Widgets Background Color
* 6. Text Color
* 7. Link Color
* 8. Meta Link Color
* 9. Primary Color
* 10. Secondary Color
* 11. Action Color
* 12. Default Button Color
* 13. Page Masthead Text Color
* 14. Page Masthead Background Color
* 15. Footer Widgets Text Color
* 16. Footer Widgets Background Color
*
* @since Memberlite 1.0
*
Expand All @@ -1165,6 +1166,7 @@ public static function get_color_schemes() {
'#FFFFFF',
'#F9FAFB',
'#444444',
'#222222',
'#011935',
'#011935',
'#011935',
Expand All @@ -1185,6 +1187,7 @@ public static function get_color_schemes() {
'#FFFFFF',
'#FAFAFA',
'#777777',
'#222222',
'#2C3E50',
'#2C3E50',
'#2C3E50',
Expand All @@ -1205,6 +1208,7 @@ public static function get_color_schemes() {
'#F4EFEA',
'#E2DED9',
'#354458',
'#222222',
'#3A9AD9',
'#3A9AD9',
'#354458',
Expand All @@ -1225,6 +1229,7 @@ public static function get_color_schemes() {
'#EFEFEF',
'#424242',
'#EFEFEF',
'#222222',
'#00CCD6',
'#00CCD6',
'#00CCD6',
Expand All @@ -1245,6 +1250,7 @@ public static function get_color_schemes() {
'#FFFFFF',
'#00AEEF',
'#FFFFFF',
'#222222',
'#00AEEF',
'#00AEEF',
'#333333',
Expand All @@ -1265,6 +1271,7 @@ public static function get_color_schemes() {
'#FFFFFF',
'#00A651',
'#FFFFFF',
'#222222',
'#00A651',
'#00A651',
'#333333',
Expand All @@ -1285,6 +1292,7 @@ public static function get_color_schemes() {
'#FFFFFF',
'#F39C12',
'#FFFFFF',
'#222222',
'#F39C12',
'#F39C12',
'#333333',
Expand All @@ -1305,6 +1313,7 @@ public static function get_color_schemes() {
'#FFFFFF',
'#ED0977',
'#FFFFFF',
'#222222',
'#ED0977',
'#ED0977',
'#333333',
Expand All @@ -1325,6 +1334,7 @@ public static function get_color_schemes() {
'#FFFFFF',
'#B1EB00',
'#666666',
'#222222',
'#B1EB00',
'#B1EB00',
'#53BBF4',
Expand All @@ -1345,6 +1355,7 @@ public static function get_color_schemes() {
'#F0F1EE',
'#FFFFFF',
'#555555',
'#222222',
'#FB6964',
'#FB6964',
'#1352A2',
Expand All @@ -1365,6 +1376,7 @@ public static function get_color_schemes() {
'#FFFFFF',
'#700035',
'#EFEFEF',
'#222222',
'#009D97',
'#AA2159',
'#AA2159',
Expand All @@ -1385,6 +1397,7 @@ public static function get_color_schemes() {
'#F5F5F5',
'#FFFFFF',
'#67727A',
'#222222',
'#6991AC',
'#6991AC',
'#67727A',
Expand All @@ -1405,6 +1418,7 @@ public static function get_color_schemes() {
'#F9F9F7',
'#363635',
'#FFFFFF',
'#222222',
'#83BF17',
'#83BF17',
'#83BF17',
Expand Down
18 changes: 0 additions & 18 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2887,16 +2887,6 @@ a:active:not(.pmpro_btn:active) {
}
}

/* Design variation specific adjustments for PMPro */
.pmpro-variation_1 {

.pmpro_card_actions {
background-color: var(--memberlite-color-site-navigation-background);
}

}


/* Membership Signup Forms */
.memberlite_signup,
.pmpro_signup_form {
Expand Down Expand Up @@ -2944,14 +2934,6 @@ a:active:not(.pmpro_btn:active) {
}

/* Member Log In / Log Out Widget */
#secondary .pmpro_login_wrap,
#secondary .pmpro_logged_in_welcome_wrap {
background-color: var(--memberlite-color-site-navigation-background);
}
#secondary .pmpro_login_wrap .pmpro_card_actions,
#secondary .pmpro_logged_in_welcome_wrap .pmpro_card_actions {
background-color: transparent;
}
.widget .pmpro_login_wrap hr,
.widget .pmpro_logged_in_welcome_wrap hr {
margin: 1.45rem 0;
Expand Down

0 comments on commit af178de

Please sign in to comment.