Semantic-ui-react: Setting background color of Menu.Item

Created on 7 Dec 2016  路  1Comment  路  Source: Semantic-Org/Semantic-UI-React

How do you set the background color of a Menu.Item, or invert a single Menu.Item element?

For example I want to make the background color of the checkmark item green.

<Menu secondary> <Menu.Item icon="trash outline" /> <Menu.Item color={'green'} icon="checkmark" /> </Menu secondary>

question

Most helpful comment

These are all the possible color options:

http://react.semantic-ui.com/collections/menu#colored

If none of these work for your use case, you should use some other additional form of styling such as inline styles, an override stylesheet, or a custom theme:

http://semantic-ui.com/usage/theming.html.

>All comments

These are all the possible color options:

http://react.semantic-ui.com/collections/menu#colored

If none of these work for your use case, you should use some other additional form of styling such as inline styles, an override stylesheet, or a custom theme:

http://semantic-ui.com/usage/theming.html.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jeffcarbs picture jeffcarbs  路  53Comments

brianespinosa picture brianespinosa  路  21Comments

layershifter picture layershifter  路  20Comments

justinobney picture justinobney  路  28Comments

imns picture imns  路  40Comments