Last active
January 29, 2016 20:03
-
-
Save colin-johnston/58354876547cd88d165f to your computer and use it in GitHub Desktop.
CI Colors - Notice Yellow (Shade vs Darken)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wrapper"> | |
<div class="color"> </div> | |
<div class="color2"> </div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.3.2) | |
// ---- | |
@import "bourbon/bourbon"; | |
@import "neat/neat"; | |
//$gray: rgb(140, 142, 144); | |
//$light-gray: tint($gray, 30%); | |
//$dark-gray: shade($gray, 60%); | |
$notice-yellow: rgb(255, 210, 0); | |
$darken-yellow: darken($notice-yellow, 30%); | |
$shade-yellow: shade($notice-yellow, 30); | |
.wrapper { | |
background-color: $notice-yellow; | |
border: 1px solid black; | |
height: 200px; | |
margin: 25vh auto 0; | |
width: 200px; | |
> div { | |
height: 99px; | |
width: 99px; | |
} | |
} | |
.color { | |
background: $darken-yellow; | |
display: block; | |
} | |
.color2 { | |
background: $shade-yellow; | |
display: block; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { | |
box-sizing: border-box; | |
} | |
*, *::after, *::before { | |
box-sizing: inherit; | |
} | |
.wrapper { | |
background-color: #ffd200; | |
border: 1px solid black; | |
height: 200px; | |
margin: 25vh auto 0; | |
width: 200px; | |
} | |
.wrapper > div { | |
height: 99px; | |
width: 99px; | |
} | |
.color { | |
background: #665400; | |
display: block; | |
} | |
.color2 { | |
background: #b39300; | |
display: block; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wrapper"> | |
<div class="color"> </div> | |
<div class="color2"> </div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment