Currently, there is no way to add gradient to box-shadow. It would be useful in many situations.
For now, there are hack-ish workarownd using ::before or ::after pseudo elements, but if you use both pseudos for other purposes, you can't use this way.