Error handling in the case when null borders are attempted to be rendered.
element_ternary fully depreciated in favour of individual theme elements.