Skip to content

Commit

Permalink
Styled components 6 support (#397)
Browse files Browse the repository at this point in the history
* upgraded to react 18

* Include implicit & for styled components 6 support
  • Loading branch information
jcfilben authored May 24, 2024
1 parent 0f5751c commit bcd6b13
Show file tree
Hide file tree
Showing 2 changed files with 492 additions and 1,196 deletions.
6 changes: 3 additions & 3 deletions src/js/themes/hpe.js
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ export const hpe = deepFreeze({
${
!disabled &&
pad === 'none' &&
`:hover {
`&:hover {
background-color: unset;
}`
}
Expand Down Expand Up @@ -735,7 +735,7 @@ export const hpe = deepFreeze({
svg {
opacity: 0;
}
:hover {
&:hover {
svg {
opacity: 1;
}
Expand Down Expand Up @@ -1526,7 +1526,7 @@ export const hpe = deepFreeze({
body: {
extend: ({ theme }) =>
`
:hover {
&:hover {
button {
background: ${
theme.global.colors['background-contrast'][
Expand Down
Loading

0 comments on commit bcd6b13

Please sign in to comment.