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

Implement official shadcn sidebar #1002

Open
2 tasks
stackingsaunter opened this issue Jan 17, 2025 · 0 comments
Open
2 tasks

Implement official shadcn sidebar #1002

stackingsaunter opened this issue Jan 17, 2025 · 0 comments

Comments

@stackingsaunter
Copy link
Contributor

stackingsaunter commented Jan 17, 2025

Links:

I slightly changed a sidebar from new shadcn Figma library. In the library, there are 14 different ready siderbars, not sure If you have same in the code - I slightly edited number 7 to resemble more what we have now.

Sidebar allows to be closed and display only icons.
Image

Button to open / close it is in the header.
Image

Sidebar uses defailt shadcn sidebar colors (they introduced those classes with this component)
Image

Mobile version slightly differes:

  • has increased font size to text base leading none regular (16px)
  • button hight increases from 32px to 40px
  • icons size increase from 16px to 24px
  • spacing between buttons is 12px
  • spacing between icon and page title is 12px

Image

Additional tasks:

  • Change Guides icon to "BookOpen"
  • Make sure account selector uses sidebar menu button with content as below:

Image

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