Skip to content

Commit a8bed7d

Browse files
Merge pull request #30 from treehouse/forms-contrast
Forms contrast
2 parents a55effc + 38a8e1c commit a8bed7d

File tree

14 files changed

+1297
-94
lines changed

14 files changed

+1297
-94
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Leap is an internal CSS library made for Treehouse. It contains immutable utilit
44
## Quick Start
55
Several options are available for installing Leap into your project.
66

7-
* [Download the latest release](https://github.com/treehouse/project-leap/archive/v0.9.0.zip)
7+
* [Download the latest release](https://github.com/treehouse/project-leap/archive/v0.9.1.zip)
88

99
* Clone the repo: `git clone https://github.com/treehouse/project-leap.git`
1010
* Install with [Bower](http://bower.io)

_sass/leap/_variables.scss

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
$leap-version: "0.9.0";
1+
$leap-version: "0.9.1";
22

33
// Brand Colors
44
$brand-colors: (
55
"green": #5fcf80,
6-
"gray": #3e474f
6+
"gray": #3e474f,
7+
"blue-light": #387bab, // AA 4.58
8+
"blue-medium": #2a5d81,
9+
"blue-dark": #303853
710
);
811

912
// Text Colors
@@ -12,7 +15,10 @@ $text-colors: (
1215
"medium": #4b5658,
1316
"base": #576366,
1417
"light": #7b8b8e,
15-
"white": #fff
18+
"white": #fff,
19+
"blue-light": #387bab, // AA 4.58
20+
"blue-medium": #2a5d81,
21+
"blue-dark": #303853
1622
);
1723

1824
// Gray Colors
@@ -30,7 +36,10 @@ $ui-colors: (
3036
"green": #36b55c,
3137
"yellow": #ffd466,
3238
"orange": #ff9f1f,
33-
"red": #ed5a5a
39+
"red": #ed5a5a,
40+
"error": #be4a4a,
41+
"warning": #bf570f,
42+
"success": #24793d
3443
);
3544

3645
// Topic Colors

_sass/leap/atoms/_button.sass

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,20 @@
4242
svg
4343
fill: #fff !important
4444
+selected
45-
background-color: darken(brand-color(green), 10%) !important
46-
border-color: darken(brand-color(green), 10%) !important
45+
background-color: darken(brand-color(green), 15%) !important
46+
border-color: darken(brand-color(green), 15%) !important
4747
color: #fff !important
4848

49+
&--primary-blue
50+
background-color: brand-color(blue-light) !important
51+
border-color: brand-color(blue-light) !important
52+
color: #fff !important
53+
svg
54+
fill: #fff !important
55+
+selected
56+
background-color: brand-color(blue-medium) !important
57+
border-color: brand-color(blue-medium) !important
58+
color: #fff !important
4959

5060

5161
// Secondary buttons

0 commit comments

Comments
 (0)