svelteuidev / svelteui

SvelteUI Monorepo
https://svelteui.dev
MIT License
1.27k stars 63 forks source link

`Card` don't have shadow with dark theme #396

Closed notramo closed 1 year ago

notramo commented 1 year ago

What package has an issue

@svelteuidev/core

A clear and concise description of what the bug is

Card container shadow is barely visible with dark theme. Using certain display configurations and lighting conditions, it can seem it don't have shadow or border at all.

In which browser(s) did the problem occur?

No response

Steps To Reproduce

Use Card with dark theme.

Do you know how to fix the issue

No

Are you willing to participate in fixing this issue and create a pull request with the fix

No

Relevant Assets

No response

BeeMargarida commented 1 year ago

I double checked, the current shadows are correct, they follow the design system of Mantine. You can check, it uses the same shadows of Paper - https://www.svelteui.org/core/paper

I noticed other error however, related to the background color of Paper, which is using an incorrect shade of the dark color. I'll make a commit with a fix