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

[DO NOT MERGE] feat: navigation light mode #2730

Open
wants to merge 30 commits into
base: main
Choose a base branch
from

Conversation

Lelith
Copy link
Collaborator

@Lelith Lelith commented Apr 25, 2024

Purpose of PR

Change the color schema of the Navbar component from dark to light. This is not a new variation but a complete switch of style. The overall structure and layout of the component is unchanged.
But some of the classNames are changed in order to be more meaningful.

Copy link

changeset-bot bot commented Apr 25, 2024

⚠️ No Changeset found

Latest commit: 76cc3f7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Apr 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
forma-36 ✅ Ready (Inspect) Visit Preview May 17, 2024 11:00am

Copy link

github-actions bot commented Apr 25, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
CommonJS 132.98 KB (+0.07% 🔺) 2.7 s (+0.07% 🔺) 900 ms (+36.36% 🔺) 3.6 s
Module 129.58 KB (0%) 2.6 s (0%) 726 ms (+3.14% 🔺) 3.4 s

@damann
Copy link

damann commented Apr 26, 2024

Looks good. Thanks so much! Just two tiny things:
2. There’s something weird happening with the borders of the space switcher not being even.
3. Could you shave off a few pixels on the right margins of the Apps button so that the hover state looks more even between the label and the arrow?
Screenshot 2024-04-26 at 13 33 36
Screenshot 2024-04-26 at 13 45 11

@denkristoffer
Copy link
Collaborator

As far as I can tell from the design we don't want the background coloured border to separate the items:
Screenshot 2024-04-29 at 14 47 08

@denkristoffer
Copy link
Collaborator

Are you also seeing this weird behaviour with the background cut in half on the hover?
Screenshot 2024-04-29 at 16 54 19

Copy link
Collaborator

@denkristoffer denkristoffer left a comment

Choose a reason for hiding this comment

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

I am noticing a few minor differences from the design, I don't know how much we want to nitpick them though. Any thoughts @damann?

Screenshot 2024-04-30 at 10 29 47
  • There's a difference in the green colour used for the environments.
  • The selected state is currently "inside" the hover state background, in the design it lives below it.
  • The burger menu icon seems smaller in the design.

@damann damann marked this pull request as ready for review April 30, 2024 08:38
@damann damann self-requested a review as a code owner April 30, 2024 08:38
* feat: set maxWidth for navbar

* feat: enable wide and fullscreen variants

* chore: remove unused import

* feat: only limit the content width not the components
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants