@@ -18,7 +18,7 @@ const StandardIconContainer = styled(Button)<Omit<IconButtonProps, 'Icon'>>`
18
18
background-color: transparent;
19
19
border-color: transparent;
20
20
21
- // we create a before pseudo element to mess with the opacity (see the hovered state)
21
+ /* we create a before pseudo element to mess with the opacity (see the hovered state) */
22
22
&::before {
23
23
position: absolute;
24
24
content: '';
@@ -28,13 +28,13 @@ const StandardIconContainer = styled(Button)<Omit<IconButtonProps, 'Icon'>>`
28
28
width: 5rem;
29
29
}
30
30
31
- // we want to change the opacity here but not affect the icon, so we have to use the before pseudo element
31
+ /* we want to change the opacity here but not affect the icon, so we have to use the before pseudo element */
32
32
&[data-hovered]::before {
33
33
opacity: 0.16;
34
34
background-color: ${ getSemanticValue ( 'on-surface' ) } ;
35
35
}
36
36
37
- // this is to position the svg relative to the before pseudo element
37
+ /* this is to position the svg relative to the before pseudo element */
38
38
> svg {
39
39
padding: 1rem;
40
40
min-width: 3rem;
@@ -57,7 +57,7 @@ const TonalIconContainer = styled(Button)<Omit<IconButtonProps, 'Icon'>>`
57
57
border-color: transparent;
58
58
background: none;
59
59
60
- // we create a before pseudo element to mess with the opacity (see the hovered state)
60
+ /* we create a before pseudo element to mess with the opacity (see the hovered state) */
61
61
&::before {
62
62
position: absolute;
63
63
content: '';
@@ -71,7 +71,7 @@ const TonalIconContainer = styled(Button)<Omit<IconButtonProps, 'Icon'>>`
71
71
z-index: -1;
72
72
}
73
73
74
- // we want to change the opacity here but not affect the icon, so we have to use the before pseudo element
74
+ /* we want to change the opacity here but not affect the icon, so we have to use the before pseudo element */
75
75
&[data-hovered]::before {
76
76
background-color: color-mix(
77
77
in hsl,
@@ -82,7 +82,7 @@ const TonalIconContainer = styled(Button)<Omit<IconButtonProps, 'Icon'>>`
82
82
opacity: 0.16;
83
83
}
84
84
85
- // this is to position the svg relative to the before pseudo element
85
+ /* this is to position the svg relative to the before pseudo element */
86
86
> svg {
87
87
padding: 2rem;
88
88
min-width: 3rem;
0 commit comments