Skip to content

Conversation

NathanWalker
Copy link
Contributor

@NathanWalker NathanWalker commented Oct 28, 2021

PR Checklist

What is the current behavior?

Right now only standard hex/rgb(a) color values are supported via the RootLayout api, e.g.

getRootLayout()
        .open(view, {
          shadeCover: {
            color: 'rgba(0,0,0,.5)',

What is the new behavior?

This maintains the existing behavior while also supporting linear-gradient as well, e.g.

getRootLayout()
        .open(view, {
          shadeCover: {
            color: 'linear-gradient(to top, #fff, rgba(0, 0, 0, .7))',

@NathanWalker NathanWalker force-pushed the feat/rootlayout-gradient-shadecover branch from f55e62d to 9495910 Compare October 28, 2021 23:19
@NathanWalker NathanWalker marked this pull request as ready for review December 16, 2021 16:07
@NathanWalker NathanWalker changed the base branch from master to release/8.2.0 January 14, 2022 05:41
@NathanWalker NathanWalker merged commit 06c00d2 into release/8.2.0 Jan 14, 2022
@NathanWalker NathanWalker deleted the feat/rootlayout-gradient-shadecover branch January 14, 2022 05:41
NathanWalker added a commit that referenced this pull request Feb 14, 2022
Co-authored-by: William Juan <williamjuan027@gmail.com>
NathanWalker added a commit that referenced this pull request Feb 18, 2022
Co-authored-by: William Juan <williamjuan027@gmail.com>
NathanWalker added a commit that referenced this pull request Mar 1, 2022
Co-authored-by: William Juan <williamjuan027@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants