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

wip feat(Sidenav): new design #3345

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

SevenOutman
Copy link
Member

@SevenOutman SevenOutman commented Aug 22, 2023

Design

https://www.figma.com/file/uEq9QBplcKUYZrcWWA3RK2/NXT-UI?type=design&node-id=5357-18617&mode=design&t=zooDEM8DZ6kVjYAp-4

Easier theme customization (WIP)

No longer require Less for customize theme color for Sidenav.

import { createPalette } from 'rsuite';

const greenishPalette = createPalette('#1b9451')

return (
  <Sidenav
    style={greenishPalette.cssProperties}
  />
);

TODO

  • Remove Sidenav-related deprecated Less variables since v5
  • Remove selected-within class name from Sidenav dropdown elements in favor of :has() selector
  • Use special class names to style Sidenav dropdowns instead of .rs-sidenav .rs-dropdown

@vercel
Copy link

vercel bot commented Aug 22, 2023

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

Name Status Preview Comments Updated (UTC)
rsuite-nextjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 22, 2023 9:34am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
rsuite-v4 ⬜️ Ignored (Inspect) Visit Preview Aug 22, 2023 9:34am

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 4b0f191:

Sandbox Source
rsuite-tp-ci Configuration

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

1 participant