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

Suggestion: Assign Relevant Classes to All Elements Within the Component #63

Open
MonaAghili opened this issue Oct 21, 2024 · 0 comments

Comments

@MonaAghili
Copy link
Member

To apply changes through the component's class attribute or directly in style files, we should add classes to each section or part within the components.

For example, in the case of the sidebar, we added a custom class to the close button and its wrapper so the user can modify styles

<.sidebar class="[&_.dismiss-sidebar-wrapper]"></.sidebar>

or

.dismiss-sidebar-wrapper{}
@MonaAghili MonaAghili added this to the 0.0.2 milestone Oct 21, 2024
@MonaAghili MonaAghili self-assigned this Oct 21, 2024
@shahryarjb shahryarjb mentioned this issue Oct 21, 2024
81 tasks
@MonaAghili MonaAghili modified the milestones: 0.0.2, 0.0.3 Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant