The CSS box-shadow supports a property called inset, which causes the box-shadow to be rendered _inside_ the element:
__Without__ inset:

__With__ inset:

We use this inner-box-shadow styling in Oni's tab-bar to create the illusion of depth:

The README.md and Theme.re both have this style applied to make it appear they are 'underneath' the editor surface. It would be cool if we had that styling capability for Oni2, as well.
I think the approach would be quite similiar to the approach @Akin909 took with #107 - it'd just be about rendering the shadow _above_ the element, and positioning it correctly in the inset case.
I can have a look at this @bryphe, since I knew it would come up :laughing:
Sweet, thanks @Akin909 !
Most helpful comment
I can have a look at this @bryphe, since I knew it would come up :laughing: