Skip to content

Drop duplicate $nav-link-disabled-color declaration#38083

Merged
julien-deramond merged 2 commits intomainfrom
main-jd-drop-duplicate-nav-disabled-color-init
Feb 23, 2023
Merged

Drop duplicate $nav-link-disabled-color declaration#38083
julien-deramond merged 2 commits intomainfrom
main-jd-drop-duplicate-nav-disabled-color-init

Conversation

@julien-deramond
Copy link
Copy Markdown
Member

@julien-deramond julien-deramond commented Feb 20, 2023

Description

This PR suggests dropping one of the two $nav-link-disabled-color. I supposed that we prefer to set it with the CSS var instead of $gray-500 based on our recent work around color mode. But I might be wrong; there are some edge cases sometimes :)

Type of changes

  • Enhancement (non-breaking change)

Checklist

  • I have read the contributing guidelines
  • My code follows the code style of the project (using npm run lint)
  • (N/A) My change introduces changes to the documentation
  • (N/A) I have updated the documentation accordingly
  • (N/A) I have added tests to cover my changes
  • All new and existing tests passed

Live previews

Copy link
Copy Markdown
Member

@mdo mdo left a comment

Choose a reason for hiding this comment

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

Should definitely be the new CSS variable. Thanks!

@julien-deramond julien-deramond merged commit afd3736 into main Feb 23, 2023
@julien-deramond julien-deramond deleted the main-jd-drop-duplicate-nav-disabled-color-init branch February 23, 2023 06:59
@mahilanmjd mahilanmjd mentioned this pull request Apr 16, 2023
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants