-
Notifications
You must be signed in to change notification settings - Fork 26
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
docs(hx-menu): implement and document vars and attrs #825
Conversation
Deploy preview for helix-ui ready! Built with commit 2cee3b1 |
a7001a9
to
1b62a1f
Compare
src/scss/components/menu/_index.scss
Outdated
@@ -44,7 +44,7 @@ hx-menuitem { | |||
background-color: transparent; | |||
border-radius: 2px; | |||
border: none; | |||
color: $cyan-900; | |||
color: var(--hxMenu-hxMenuitem-color, $cyan-900); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update color variable to Color Palette 2.0 specs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes have been done, Please review
src/scss/components/menu/_index.scss
Outdated
@@ -56,13 +56,13 @@ hx-menuitem { | |||
&:hover { | |||
background-color: transparent; | |||
border-color: transparent; | |||
color: $cyan-500; | |||
color: var(--hxMenu-hxMenuitem-hover-color, $cyan-500); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update color variable to Color Palette 2.0 specs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes have been done, Please review
src/scss/components/menu/_index.scss
Outdated
} | ||
|
||
&:active { | ||
background-color: transparent; | ||
border-color: transparent; | ||
color: $cyan-700; | ||
color: var(--hxMenu-hxMenuitem-active-color, $cyan-700); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update color variable to Color Palette 2.0 specs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes have been done, Please review
a9c70c8
to
42c2f97
Compare
42c2f97
to
2cee3b1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dev LGTM
Description
<hx-menu>
: Implement and Document variables and attributesWhat are the relevant story cards/tickets? Any additional PRs or other references?
Jira: SURF-2113
Before you request a review for this PR:
yarn test
to ensure all tests passed?