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

When css border properties are separated - the border is missing #175

Open
dalexiev00 opened this issue May 21, 2024 · 1 comment
Open
Assignees

Comments

@dalexiev00
Copy link

Describe the problem

I noticed that when we define the properties of a border separately (like border-width, border-color, border-style) in figma the border is missing, but for short definition (like border: 1px solid black) it's perfectly fine.
Could you check if you can do something about it? I can share more info if needed.


Bug report identity: Please do not edit

Task path: ep257UoJEMTnEDJeFpEl/1bA1JLkLYX3xr40WMSdS/wpa2qm1ywpfin

@gluck
Copy link
Member

gluck commented May 21, 2024

Hi @dalexiev00
Issue doesn't really come from the fact that properties are separated, but that figma doesn't support mixed colors borders, so we can't fully implement it.
In your case maybe a bottom-only border (in figma) would be the closest to what you see in the web, but if you look closely on the edges, it will be different.

On the web you have:
image

Such border is pretty tricky to implement exactly on figma.
We can probably use diamond gradients to make it work, so I'll have a look eventually, but just so you know, independent properties work just fine.

@gluck gluck self-assigned this May 21, 2024
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