-
-
Notifications
You must be signed in to change notification settings - Fork 332
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
Add a style prop to the Avatar component #3100
Comments
How can i configure v3 version in mine |
I'm not entirely sure what you're asking here. But we cover most implementation details on the documentation here: |
I can port the implementation from v2. |
Is there any video or docs to clone and configure Skeleton v3 codebase? |
I assume you're asking for instruction on getting started with Skeleton v3. Those can be found from the installation page. The code is located in the Also, I'd suggest asking in Discord if you have more questions, this thread should only be used to discuss this specific issue. |
@rxhul18 what Long said, but I'll append this as well if you're just looking for a high level overview of what it includes: @phamduylong long that would be great! I'm not sure it'll be 1:1 with v2 as the Svelte 5 syntax may differ, but I'm sure they cover that in the docs. Also don't forget React the React version too please! |
Describe the feature in detail (code, mocks, or screenshots encouraged)
The Avatar is one of the components where it makes sense to have custom styling that goes beyond what tailwind classes can offer (ie. changing the background color of the avatar based on the user's name as a fallback when the user doesn't have a profile picture set). It was previously possible in Skeleton v2 using the style prop to pass arbitrary values.
What type of pull request would this be?
Enhancement
Provide relevant links or additional information.
This is how I used to achieve that in Skeleton v2:
The text was updated successfully, but these errors were encountered: