1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed default cell shades

This commit is contained in:
Fedor Katurov 2021-10-05 18:35:20 +07:00
parent 2858b70a8b
commit a7e8e19b06
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ const CellShade: FC<Props> = ({ color, ...rest }) => {
return undefined; return undefined;
} }
return `linear-gradient(10deg, ${color} 30px, ${convertHexToRGBA(color, 0.3)} 200px)`; return `linear-gradient(7deg, ${color} 50px, ${convertHexToRGBA(color, 0.3)} 250px)`;
}, [color]); }, [color]);
return ( return (

View file

@ -6,7 +6,7 @@
left: 0; left: 0;
right: 0; right: 0;
top: 0; top: 0;
background: linear-gradient(5deg, transparentize($content_bg, 0), transparentize($content_bg, 1)); background: linear-gradient(7deg, transparentize($content_bg, 0.05) 30px, transparentize($content_bg, 1) 250px);
pointer-events: none; pointer-events: none;
touch-action: none; touch-action: none;