fix(instant): Dropdown hover should be 10% of primary color
This commit is contained in:
@@ -36,6 +36,7 @@ export interface ContainerProps {
|
||||
cursor?: string;
|
||||
overflow?: string;
|
||||
darkenOnHover?: boolean;
|
||||
rawHoverColor?: string;
|
||||
boxShadowOnHover?: boolean;
|
||||
flexGrow?: string | number;
|
||||
}
|
||||
@@ -87,6 +88,7 @@ export const Container =
|
||||
background-color: ${props => getBackgroundColor(props.theme, props.backgroundColor, props.rawBackgroundColor)};
|
||||
border-color: ${props => (props.borderColor ? props.theme[props.borderColor] : 'none')};
|
||||
&:hover {
|
||||
${props => (props.rawHoverColor ? `background-color: ${props.rawHoverColor}` : '')}
|
||||
${props =>
|
||||
props.darkenOnHover
|
||||
? `background-color: ${
|
||||
|
Reference in New Issue
Block a user