Skip to content

Conversation

@jellydeck
Copy link
Contributor

@jellydeck jellydeck commented Feb 7, 2026

update the general style of buttons, group buttons and links to be consistent with our design language.

also, removed global css as Input component seems to be done.
Thanks @alexdln @essenmitsosse for feedback, enjoyed working together :)

@vercel
Copy link

vercel bot commented Feb 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
npmx.dev Ready Ready Preview, Comment Feb 10, 2026 7:11am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview Feb 10, 2026 7:11am
npmx-lunaria Ignored Ignored Feb 10, 2026 7:11am

Request Review

@vercel
Copy link

vercel bot commented Feb 7, 2026

@jellydeck is attempting to deploy a commit to the serhalp's projects Team on Vercel.

A member of the Team first needs to authorize it.

@codecov
Copy link

codecov bot commented Feb 7, 2026

Codecov Report

❌ Patch coverage is 84.61538% with 2 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
app/components/Header/AccountMenu.client.vue 80.00% 1 Missing ⚠️
app/pages/package/[[org]]/[name].vue 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@thasmo
Copy link
Contributor

thasmo commented Feb 8, 2026

  1. focus ring is not in foreground
image
  1. accent color is not used on some elements
image image image
  1. cut off focus-ring (same on prod)
image

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
app/components/Package/Dependencies.vue (1)

143-158: ⚠️ Potential issue | 🟡 Minor

Inconsistent focus-visible styling across "Show all" buttons.

This file contains three "Show all" buttons with different focus styling:

  • Line 146: Uses the new explicit styling focus-visible:(outline-2 outline-offset-2 outline-accent)
  • Line 198: Still uses the old focus-visible:outline-accent/70 style
  • Line 255: Has no focus-visible styling at all

Since the PR removes global focus CSS and standardises inline focus styling, all three buttons should use the same approach. This may relate to the accent colour inconsistencies reported in the PR review comments.

🔧 Proposed fix to standardise focus styling

Apply the same focus-visible classes to the peer dependencies button:

       <button
         v-if="sortedPeerDependencies.length > 10 && !peerDepsExpanded"
         type="button"
-        class="mt-2 font-mono text-xs text-fg-muted hover:text-fg transition-colors duration-200 rounded focus-visible:outline-accent/70"
+        class="my-2 ms-1 font-mono text-xs text-fg-muted hover:text-fg transition-colors duration-200 rounded focus-visible:(outline-2 outline-offset-2 outline-accent)"
         `@click`="peerDepsExpanded = true"
       >

Apply the same styling to the optional dependencies button:

       <button
         v-if="sortedOptionalDependencies.length > 10 && !optionalDepsExpanded"
         type="button"
-        class="mt-2 truncate"
+        class="my-2 ms-1 font-mono text-xs text-fg-muted hover:text-fg transition-colors duration-200 rounded focus-visible:(outline-2 outline-offset-2 outline-accent)"
         `@click`="optionalDepsExpanded = true"
       >

Also applies to: 195-210, 252-267

@essenmitsosse
Copy link
Contributor

Screenshot 2026-02-09 at 13 28 25

There is a regression here, where the menu links/buttons have their outline back. This should be overwritten (see prod)

@essenmitsosse
Copy link
Contributor

Screenshot 2026-02-09 at 13 33 24

This looks very tight now

@jellydeck
Copy link
Contributor Author

jellydeck commented Feb 9, 2026

Screenshot 2026-02-09 at 13 33 24

This looks very tight now

not intended, will do fix once i'll be back on desktop

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
app/components/Button/Base.vue (1)

8-8: Consider renaming classicon to iconClass for consistency.

The prop name classicon deviates from standard camelCase conventions (e.g., iconClass). This would align better with typical Vue/JS naming patterns and improve readability.

♻️ Suggested rename
-    classicon?: string
+    iconClass?: string

And update the template reference at line 52:

-    <span v-if="classicon" class="size-[1em]" :class="classicon" aria-hidden="true" />
+    <span v-if="iconClass" class="size-[1em]" :class="iconClass" aria-hidden="true" />

@jellydeck
Copy link
Contributor Author

  1. focus ring is not in foreground
image
2. accent color is not used on some elements

image image image

3. cut off focus-ring (same on prod)
image

done 👍

@jellydeck
Copy link
Contributor Author

Screenshot 2026-02-09 at 13 28 25

There is a regression here, where the menu links/buttons have their outline back. This should be overwritten (see prod)

done in latest commit 👍

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

Successfully merging this pull request may close these issues.

4 participants