Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rect fill color doesn't work #294

Open
ybyqzxl opened this issue Sep 6, 2022 · 1 comment
Open

Rect fill color doesn't work #294

ybyqzxl opened this issue Sep 6, 2022 · 1 comment

Comments

@ybyqzxl
Copy link

ybyqzxl commented Sep 6, 2022

What did you do?

fill color doesn't work

code:

<ContentLoader
            speed={2}
            width={'100%'}
            height={148}
            backgroundColor="#f3f3f3"
            foregroundColor="#ecebeb"
        >
            <Rect
                x="275"
                y="100"
                rx="18"
                ry="18"
                width="120"
                height="36"
                fill="#FFE9EC"
            />
            <Rect
                x="148"
                y="112"
                rx="4"
                ry="4"
                width="80"
                height="24"
                fill="#FFE9EC"
            />
            <Rect
                x="151"
                y="73"
                rx="3"
                ry="3"
                width="182"
                height="15"
                fill="#F5F3F3"
            />
            <Rect
                x="151"
                y="53"
                rx="3"
                ry="3"
                width="182"
                height="15"
                fill="#F5F3F3"
            />
            <Rect
                x="151"
                y="12"
                rx="3"
                ry="3"
                width="244"
                height="17"
                fill="#F5F3F3"
            />
            <Rect
                x="19"
                y="12"
                rx="4"
                ry="4"
                width="124"
                height="124"
                fill="#F5F3F3"
            />
            <Rect
                x="151"
                y="31"
                rx="3"
                ry="3"
                width="244"
                height="17"
                fill="#F5F3F3"
            />
        </ContentLoader>

What did you expect to happen?

wan't fill color work well

@nadilas
Copy link

nadilas commented Dec 21, 2022

@ybyqzxl Do you mean you want to override the fill color on particular rects?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants