]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
tweak palette to meet AA contrast req
authorAndy Cochran <acochran@council.nyc.gov>
Sun, 30 Oct 2016 00:28:57 +0000 (20:28 -0400)
committerAndy Cochran <acochran@council.nyc.gov>
Thu, 17 Nov 2016 17:59:04 +0000 (12:59 -0500)
docs/pages/button.md
scss/_global.scss
scss/settings/_settings.scss

index 9a081d1f1645f137043d8500ca00996c77b24a3f..1b5fc15dcc2c3c159a300433677323c18c1e7d7a 100644 (file)
@@ -53,11 +53,12 @@ Give a button additional meaning by adding a coloring class, or `.disabled` to c
 </div>
 
 ```html_example
-<a class="secondary button" href="#">Secondary Color</a>
-<a class="success button" href="#">Success Color</a>
-<a class="alert button" href="#">Alert Color</a>
-<a class="warning button" href="#">Warning Color</a>
-<a class="disabled button" href="#">Disabled Button</a>
+<a class="button" href="#">Primary</a>
+<a class="secondary button" href="#">Secondary</a>
+<a class="success button" href="#">Success</a>
+<a class="alert button" href="#">Alert</a>
+<a class="warning button" href="#">Warning</a>
+<a class="disabled button" href="#">Disabled</a>
 ```
 
 ---
index 4ed320ab38414ffc6fb57f72a4b5c9c7faf29c4a..e36c55a0a3ccce3bc0f33a6b498cad8af0199051 100644 (file)
@@ -23,11 +23,11 @@ $global-lineheight: 1.5 !default;
 /// Colors used for buttons, callouts, links, etc. There must always be a color called `primary`.
 /// @type Map
 $foundation-palette: (
-  primary: #2199e8,
-  secondary: #777,
-  success: #3adb76,
+  primary: #1a7cbd,
+  secondary: #767676,
+  success: #238748,
   warning: #ffae00,
-  alert: #ec5840,
+  alert: #cc4b37,
 ) !default;
 
 /// Color used for light gray UI items.
index 43057cb111f0e576414bac131ea2a52d8ce2d954..294ceecba2b89c7592b2736ccffdf194977f0dbd 100644 (file)
@@ -49,11 +49,11 @@ $global-font-size: 100%;
 $global-width: rem-calc(1200);
 $global-lineheight: 1.5;
 $foundation-palette: (
-  primary: #2199e8,
-  secondary: #777,
-  success: #3adb76,
+  primary: #1a7cbd,
+  secondary: #767676,
+  success: #238748,
   warning: #ffae00,
-  alert: #ec5840,
+  alert: #cc4b37,
 );
 $light-gray: #e6e6e6;
 $medium-gray: #cacaca;