Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

fix(Menu): Adding dark & contrast themes for Menu toolbar #708

Merged
merged 16 commits into from
Jan 15, 2019

Conversation

codepretty
Copy link
Collaborator

@codepretty codepretty commented Jan 11, 2019

This pr fixes themeing for the toolbar variation of the Menu component.

Fixes include:

  • support for showing filled icons on hover/focus
  • color updates to icon and to focus border in teams & teams-dark themes
  • adds box focus style for teams-high-contrast theme

Teams theme
image

Teams-dark theme
image

Teams-high-contrast theme
image

@codepretty codepretty changed the title [WIP] feat(Menu): Adding dark & contrast themes for Menu feat(Menu): Adding dark & contrast themes for Menu toolbar Jan 12, 2019
@codepretty codepretty changed the title feat(Menu): Adding dark & contrast themes for Menu toolbar fix(Menu): Adding dark & contrast themes for Menu toolbar Jan 12, 2019
<svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}>
<g>
<path
className={cx('ui-icon__outline', classes.outlinePart)}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@miroslavstastny I'm using the poc you did in #364. i manually added this to a couple icons for this toolbar, but we will need to get this added to all icons. are you planning on doing this?

Copy link
Member

Choose a reason for hiding this comment

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

We agreed that #364 is the way how we want to do it but nobody is currently working on it.
Created an issue #716 (feel free to take it :-)

Copy link
Member

@miroslavstastny miroslavstastny left a comment

Choose a reason for hiding this comment

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

accept screener changes before merging

@codepretty codepretty merged commit 69cae74 into master Jan 15, 2019
@layershifter layershifter deleted the feat/menu-theme-support branch January 15, 2019 08:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants