-
-
Notifications
You must be signed in to change notification settings - Fork 331
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
Docs/ Nav List example for highlighting to match main Nav List example #2177
Conversation
…e of icon from skeleton to notepad
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
While I agree shorthand might be confusing to new users, I don't think all the other changes are justified. Appending the attribute key should be all that's needed to clarify the point of confusion. Something like this: <CodeBlock language="html" code={`<a href={href} class="{classesActive(href)}">Page</a>`} /> Per the emojii, we've maintained the documentation for a bit over a year and half. In that time we've changed our standards a bit. The emojii was a remnant of an old standard. We now just use I know many libraries like to repeat the entirety of code per each snippet, but this is not how Skeleton handles this. We're a small team, so we keep things as lean as possible. I'd recommend reverting the wrapping nav/ul/li tags. This makes it harder to focus on what's being demonstrated here. Once these changes are made, let me know and I'll be happy to merge. |
@endigo9740 Thanks for the input. I updated to follow that. |
That'll work, thanks for your contribution @ddxv |
Description
I struggled a bit understanding the Skeleton.dev > Explore > Tailwind > Lists > Nav List for highlighting. As a newbie I was unfamiliar with the shorthand format it was written in, and after searching Discord for that the
{href}
was shorthand for how it would be written inside a loop. This makes sense, but was a bit unclear as someone newer.So I suggest changing the highlighting example to match the main Nav List example just above the highlighting example.
Dominik and Niktek helped with some pointers in the Discord channel, as well as suggesting changing the icons.
{description}
Changsets
Instructions: Changesets automate our changelog. If you modify files in
/packages/skeleton
, runpnpm changeset
in the root of the monorepo, follow the prompts, then commit the markdown file. Changes that add features should beminor
while chores and bugfixes should bepatch
. Please prefix the changeset message withfeat:
,bugfix:
orchore:
.Checklist
Please read and apply all contribution requirements.
dev
branch (NEVERmaster
)docs/
,feat/
,chore/
,bugfix/
pnpm check
pnpm format
pnpm test