Closed hchiam closed 2 years ago
agreed, i'll update the count in the test, and i'll leave the docsite update to you @argyleink
i can confirm that the +8 in the count (from 1086 to 1094) is coming solely from the changes in this PR, because when i revert (and run yarn bundle; yarn test
), the test passes:
What confuses me is why there's +8 instead of just +4
EDIT: i see now, it's double what i expected because it generates both CSS and JS keys:
'--animation-fade-in-bloom'
'--animation-fade-in-bloom-@'
'--animation-fade-out-bloom'
'--animation-fade-out-bloom-@'
animationFadeInBloom
'animationFadeInBloom@'
animationFadeOutBloom
'animationFadeOutBloom@'
Ready for review. Updated test. I'll leave the docsite update to you, thanks!
just pushed updates to the docsite and published a new OP version 👍🏻
i'm curious if you think there's a nice way to make the brightness light/dark contextual? like in a dark theme instead of blooming white it blooms grey or black? i tried a couple things, seems like it could work nice, but didnt find a happy spot for it. thoughts?!
oooh nice we def want to make this play nice with dark mode - maybe a css
variable for the brightness, dependent on the --OSdark
dark mode var?
On Thu., Aug. 11, 2022, 14:14 Adam Argyle, @.***> wrote:
just pushed updates to the docsite and published a new OP version 👍🏻
i'm curious if you think there's a nice way to make the brightness light/dark contextual? like in a dark theme instead of blooming white it blooms grey or black? i tried a couple things, seems like it could work nice, but didnt find a happy spot for it. thoughts?!
— Reply to this email directly, view it on GitHub https://github.com/argyleink/open-props/pull/260#issuecomment-1212443320, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKKWSYKHGUYA2KZHSLVWNLVYVNL5ANCNFSM56DD3SLA . You are receiving this because you authored the thread.Message ID: @.***>
yep! shadows does it, can follow that path. but yeah, if you find a great way to make it adaptive to color-scheme then we can deploy an upgraded version 🙂
oh, make the bloom light/dark dependent, not simply on dark mode, but on any color-scheme, eh? very interesting. i might not be able to work on this until next week, so feel to work on it meanwhile
demo: https://codepen.io/hchiam/pen/bGvjoev (hey, sorry for the delay, got distracted earlier today)