@@ -19,7 +19,7 @@ import {
1919 * @param opacity a number between 0 and 1 representing the opacity
2020 * @returns 8-digit hex color code with the last two digits representing the opacity
2121 */
22- function getColorWithOpactity ( color : string , opacity : number ) {
22+ function getColorWithOpacity ( color : string , opacity : number ) {
2323 if ( opacity < 0 || opacity > 1 ) {
2424 throw new Error ( 'Opacity must be between 0 and 1' ) ;
2525 }
@@ -39,15 +39,15 @@ const containerStyles = css({
3939 marginBottom : spacing [ 50 ] ,
4040 boxShadow : `0px ${ spacing [ 50 ] } px ${ spacing [ 100 ] } px -${
4141 spacing [ 25 ]
42- } px ${ getColorWithOpactity ( palette . black , 0.15 ) } `,
42+ } px ${ getColorWithOpacity ( palette . black , 0.15 ) } `,
4343} ) ;
4444
4545const containerDarkStyles = css ( {
4646 backgroundColor : palette . gray . dark3 ,
4747 borderBottom : `1px solid ${ palette . gray . dark2 } ` ,
4848 boxShadow : `0px ${ spacing [ 50 ] } px ${ spacing [ 100 ] } px -${
4949 spacing [ 25 ]
50- } px ${ getColorWithOpactity ( palette . white , 0.15 ) } `,
50+ } px ${ getColorWithOpacity ( palette . white , 0.15 ) } `,
5151} ) ;
5252
5353const toolbarGroupStyles = css ( {
0 commit comments