Skip to content

Commit

Permalink
Removed lighten left over from SASS to Myth conversion
Browse files Browse the repository at this point in the history
Refs TryGhost#5314
- replaced SASS's `lighten` with Myth's `color(x lightness())`
  • Loading branch information
lukaszklis committed Jul 3, 2015
1 parent e693d5e commit 393c71b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions core/client/app/styles/patterns/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ body {
width: 100%;
/* Prevent elastic scrolling on the whole page */
height: 100%;
color: lighten(var(--darkgrey), 10%);
color: color(var(--darkgrey) lightness(+10%));
font-size: 1.4rem;
}

::selection {
background: lighten(var(--blue), 20%);
background: color(var(--blue) lightness(+20%));
}


Expand Down Expand Up @@ -208,7 +208,7 @@ tt {
code,
tt {
padding: 0.2em 0.4em;
background: lighten(#dfe1e3, 2%);
background: color(#dfe1e3 lightness(+2%));
border-radius: 2px;
vertical-align: top;
white-space: pre-wrap;
Expand All @@ -220,7 +220,7 @@ pre {
margin: 1.6em 0;
padding: 10px;
width: 100%;
background: lighten(#dfe1e3, 2%);
background: color(#dfe1e3 lightness(+2%));
border-radius: 3px;
white-space: pre;
font-family: var(--font-family-mono);
Expand Down Expand Up @@ -370,7 +370,7 @@ img {

@keyframes keyboard-focus-style-fade-out {
from {
box-shadow: inset 0 0 30px 1px lighten(var(--midgrey), 20%);
box-shadow: inset 0 0 30px 1px color(var(--midgrey) lightness(+20%));
}
to {
box-shadow: none;
Expand Down

0 comments on commit 393c71b

Please sign in to comment.