Merge pull request #24822 from bobmulder/patch-1

Make variables default to allow overriding
This commit is contained in:
Rodrigo Primo 2019-12-02 18:15:49 -03:00 committed by GitHub
commit fd10af0669
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 13 deletions

View File

@ -2,20 +2,20 @@
* WooCommerce CSS Variables * WooCommerce CSS Variables
*/ */
$woocommerce: #a46497; $woocommerce: #a46497 !default;
$green: #7ad03a; $green: #7ad03a !default;
$red: #a00; $red: #a00 !default;
$orange: #ffba00; $orange: #ffba00 !default;
$blue: #2ea2cc; $blue: #2ea2cc !default;
$primary: #a46497; // Primary color for buttons (alt) $primary: #a46497 !default; // Primary color for buttons (alt)
$primarytext: desaturate(lighten($primary, 50%), 18%); // Text on primary color bg $primarytext: desaturate(lighten($primary, 50%), 18%) !default; // Text on primary color bg
$secondary: desaturate(lighten($primary, 40%), 21%); // Secondary buttons $secondary: desaturate(lighten($primary, 40%), 21%) !default; // Secondary buttons
$secondarytext: desaturate(darken($secondary, 60%), 21%); // Text on secondary color bg $secondarytext: desaturate(darken($secondary, 60%), 21%) !default; // Text on secondary color bg
$highlight: adjust-hue($primary, 150deg); // Prices, In stock labels, sales flash $highlight: adjust-hue($primary, 150deg) !default; // Prices, In stock labels, sales flash
$highlightext: desaturate(lighten($highlight, 50%), 18%); // Text on highlight color bg $highlightext: desaturate(lighten($highlight, 50%), 18%) !default; // Text on highlight color bg
$contentbg: #fff; // Content BG - Tabs (active state) $contentbg: #fff !default; // Content BG - Tabs (active state)
$subtext: #767676; // small, breadcrumbs etc $subtext: #767676 !default; // small, breadcrumbs etc