Showybox Style Inheritance

This is a showybox I’ve encapsulated within my own template. I plan to encapsulate several additional showyboxes in different colors using a similar style. Does Typst have an inheritance-like feature? Specifically, I want to write a base style that allows me to expose the encapsulation while only needing to change properties like body-color when reusing it.

#import "@preview/showybox:2.0.4": showybox


#let theorem(
  title,
  ..items, 
  bw: 98%,
  ba: center,
  ta: left, 
  tc: white 
) =  showybox(
  title: text(size:13pt, title),
  width: bw,
  align: ba,
  frame: (
    dash: "solid",
    border-color: blue.lighten(10%),
    title-color: blue.lighten(30%),
    body-color: blue.lighten(80%),
    radius: 1pt,
  ),
  title-style: (
    align: ta,
    color: tc,
    weight: "regular",
  ),
  text(size:13pt, ..items)
)

Additionally, I’d like to ask if there are any recommended coding conventions for this type of encapsulation in Typst? I feel like my approach is a bit haphazard.