Wow! Just wow. 
Glad to know where to find someone who really knows what he's doing. You 
shouldn't work on weekends, though!

Am Sonntag, 31. August 2014 00:22:15 UTC+2 schrieb Frankie Fu:
>
> There is an event "core-header-transform" that you can listen for header 
> transform changes.  Here is a jsbin showing how you can use it to adjust 
> font color:
> http://jsbin.com/kikihiyifati/1/edit
>
> We need to add docs for this and should probably make this easier (
> https://github.com/Polymer/core-scroll-header-panel/issues/3)
>
>
>
> On Sat, Aug 30, 2014 at 4:10 AM, <[email protected] <javascript:>> wrote:
>
>> Hey guys, thanks for all the great work!
>>
>> I am trying to set up a core-scroll-header-panel with a background image 
>> for #headerBg and a background-color for #condensedHeaderBg like in Rob 
>> Dodson's I/O-14 demo, but get stuck with defining text colors. 
>>
>> The problems is that you are typically choosing a contrasting color for 
>> text sitting on top of a background-image within the header panel, but when 
>> you add a background color that appears when users scroll down and the 
>> background images fades away, you would probably often want that background 
>> color to be contrasting to the background image as well, which would make 
>> the text unreadable.
>>
>> So, I would probably need a method to add a color property to 
>> #core_sroll_header_panel whenever #condensedHeaderBg is triggered by the 
>> scroll event. Would that be feasible somehow? 
>>
>> Lex
>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Polymer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/polymer-dev/d1d4acc3-4476-429a-a0ec-b4000c90f56b%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/polymer-dev/d1d4acc3-4476-429a-a0ec-b4000c90f56b%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/ccf1b1a8-8a94-4741-a67b-59b5eba73e3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to