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

adding pseudo elements #1700

Open
neeraj719714 opened this issue Oct 10, 2023 · 2 comments
Open

adding pseudo elements #1700

neeraj719714 opened this issue Oct 10, 2023 · 2 comments
Labels
P1 Kinda Important 🤔 Needs discussion This needs some internal discussions

Comments

@neeraj719714
Copy link

neeraj719714 commented Oct 10, 2023

description

Blade doesn't support any way of adding pseudo elements, which are of a very common use case.
At many places in our designs we have some use cases where these are preffered. for example use of ::after in the following small box
Screenshot 2023-10-10 at 12 32 46 PM
figma link

There are many such examples where pseudo elements especially after and before are very helpful.

@snitin315
Copy link
Member

snitin315 commented Oct 10, 2023

@neeraj719714 Can we not use the Icon component here directly?

@neeraj719714
Copy link
Author

@snitin315 not the icon component but the curve shape you see. That part we add an after pseudo element and place it there. There are many such cases for example adding a badge new in some cards e.t.c.
Screenshot 2023-10-10 at 1 13 24 PM

@saurabhdaware saurabhdaware added the 🤔 Needs discussion This needs some internal discussions label Oct 20, 2023
@saurabhdaware saurabhdaware added the P1 Kinda Important label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 Kinda Important 🤔 Needs discussion This needs some internal discussions
Projects
None yet
Development

No branches or pull requests

3 participants