Nextrek
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
3.4.7 (Selective Steve)
55b55edf9576507cbc0bc947271daf74a9b84502
o:Sass::Tree::RootNode:@children[o:Sass::Tree::CommentNode
:@value[I"�/* Programatically determines whether a color is light or dark
* Returns a boolean
* More details here http://robots.thoughtbot.com/closer-look-color-lightness */:ET:
@type:silent;[ :
@linei:
@options{ o:Sass::Tree::FunctionNode
:
@nameI"
is-light; T:
@args[[o:!Sass::Script::Tree::Variable;I"hex-color; T:@underscored_nameI"hex_color; T;i
:@source_rangeo:Sass::Source::Range :@start_poso:Sass::Source::Position;i
:@offseti:
@end_poso;;i
;i#:
@fileI"9sass/plug-in/bourbon/functions/_color-lightness.scss; T:@importero: Sass::Importers::Filesystem:
@rootI"&/Volumes/Works/htdocs/aiba/public; T:@real_rootI"&/Volumes/Works/htdocs/aiba/public; T:@same_name_warningso:Set:
@hash{ :@filename@;
@0:@splat0;[
o:Sass::Tree::VariableNode
;I"-local-red; T:
@expro: Sass::Script::Tree::Funcall;I"red; T;[o;%;I" rgba; T;[o;;I"hex-color; T;I"hex_color; T;i;o; ;o;;i;i;o;;i;i(;@;@;!@;
@o: Sass::Script::Tree::Literal ;o: Sass::Script::Value::Number
;f1:@numerator_units[ :@denominator_units[ :@originalI"1; F;
@;i;o; ;o;;i;i*;o;;i;i-;@;@;!@:@keywordso:Sass::Util::NormalizedMap:@key_strings{ : @map{ ;"0:@kwarg_splat0;i;o; ;o;;i;i;o;;i;i.;@;@;!@;
@;+o;,;-{ ;.{ ;"0;/0;i;o; ;o;;i;i;o;;i;i/;@;@;!@;
@:
@guarded0:@global0;[ ;i;o; ;o;;i;i ;o;;i;i/;@;@;
@o;#
;I"-local-green; T;$o;%;I"
green; T;[o;%;I" rgba; T;[o;;I"hex-color; T;I"hex_color; T;i;o; ;o;;i;i";o;;i;i,;@;@;!@;
@o;& ;o;'
;@-;([ ;)@/;*I"1; F;
@;i;o; ;o;;i;i.;o;;i;i1;@;@;!@;+o;,;-{ ;.{ ;"0;/0;i;o; ;o;;i;i;o;;i;i2;@;@;!@;
@;+o;,;-{ ;.{ ;"0;/0;i;o; ;o;;i;i;o;;i;i3;@;@;!@;
@;00;10;[ ;i;o; ;o;;i;i ;o;;i;i3;@;@;
@o;#
;I"-local-blue; T;$o;%;I" blue; T;[o;%;I" rgba; T;[o;;I"hex-color; T;I"hex_color; T;i
;o; ;o;;i
;i ;o;;i
;i*;@;@;!@;
@o;& ;o;'
;@-;([ ;)@/;*I"1; F;
@;i
;o; ;o;;i
;i,;o;;i
;i/;@;@;!@;+o;,;-{ ;.{ ;"0;/0;i
;o; ;o;;i
;i;o;;i
;i0;@;@;!@;
@;+o;,;-{ ;.{ ;"0;/0;i
;o; ;o;;i
;i;o;;i
;i1;@;@;!@;
@;00;10;[ ;i
;o; ;o;;i
;i ;o;;i
;i1;@;@;
@o;#
;I"-local-lightness; T;$o:"Sass::Script::Tree::Operation:@operand1o;2;3o;2;3o;2;3o;;I"-local-red; T;I"_local_red; T;i;o; ;o;;i;i;o;;i;i';@;@;!@;
@:@operand2o;& ;o;'
;f0.2126;([ ;)@/;*I"0.2126; F;
@;i;o; ;o;;i;i*;o;;i;i0;@;@;!@:@operator:
times;i;o; ;@�;o;;i;i0;@;@;!@;
@;4o;2;3o;;I"-local-green; T;I"_local_green; T;i;o; ;o;;i;i3;o;;i;i@;@;@;!@;
@;4o;& ;o;'
;f0.7152;([ ;)@/;*I"0.7152; F;
@;i;o; ;o;;i;iC;o;;i;iI;@;@;!@;5;6;i;o; ;@�;o;;i;iI;@;@;!@;
@;5: plus;i;o; ;@�;o;;i;iJ;@;@;!@;
@;4o;2;3o;;I"-local-blue; T;I"_local_blue; T;i;o; ;o;;i;iL;o;;i;iX;@;@;!@;
@;4o;& ;o;'
;f0.0722;([ ;)@/;*I"0.0722; F;
@;i;o; ;o;;i;i[;o;;i;ia;@;@;!@;5;6;i;o; ;@�;o;;i;ia;@;@;!@;
@;5;7;i;o; ;@�;o;;i;ia;@;@;!@;
@;4o;& ;o;'
;i�;([ ;)@/;*I"255; F;
@;i;o; ;o;;i;ie;o;;i;ih;@;@;!@;5:div;i;o; ;@�;o;;i;ih;@;@;!@;
@;00;10;[ ;i;o; ;o;;i;i ;o;;i;ih;@;@;
@o:Sass::Tree::ReturnNode
;$o;2;3o;;I"-local-lightness; T;I"_local_lightness; T;i;o; ;o;;i;i;o;;i;i!;@;@;!@;
@;4o;& ;o;'
;f0.6;([ ;)@/;*I"0.6; F;
@;i;o; ;o;;i;i$;o;;i;i&;@;@;!@;5:gt;i;o; ;@�;o;;i;i&;@;@;!@;
@;[ ;i;o; ;o;;i;i;o;;i;i&;@;@;
@;i
;o; ;o;;i
;i;o;;i
;i%;@;@:@has_childrenT;
@:@templateI"�// Programatically determines whether a color is light or dark
// Returns a boolean
// More details here http://robots.thoughtbot.com/closer-look-color-lightness
@function is-light($hex-color) {
$-local-red: red(rgba($hex-color, 1.0));
$-local-green: green(rgba($hex-color, 1.0));
$-local-blue: blue(rgba($hex-color, 1.0));
$-local-lightness: ($-local-red * 0.2126 + $-local-green * 0.7152 + $-local-blue * 0.0722) / 255;
@return $-local-lightness > .6;
}
; T;i;o; ;o;;i;i;o;;i;i;@;@;;T;
@
|
Revision |
Author |
Commited |
Message |
1464
|
MOliva
|
Tue 13 Oct, 2020 11:16:56 +0000 |
|