I've created a customized component that turns green on hover. Here's the code for it:
const ProjectAdd= styled.div`
background-color: white;
list-style-type: none;
list-style: none;
height: 100%;
width: 10%;
height: 100%;
border-radius: .4em;
display: flex;
justify-content: center;
align-items: center;
outline: 10px #7d7d7d99;
box-shadow: 3px 5px 15px -4px #999999;
transition: .5s all;
&:hover{
background-color: #00935f61;
color: "white";
}
`
In my component, this shows up like this:
<ProjectAdd>
<Typography fontSize=".85em" color="#009360">
+ Add
</Typography>
</ProjectAdd>
If I want the typography to turn white on hover too, how can I achieve that without additional styles?