Style "text-shadow" globally via a theme?

Is it possible to style “text-shadow” globally via a theme or can it only be done at the card level? ex:

   style: |
            ha-card {
              text-shadow: 0px 5px 5px rgba(0,0,0,0.3);
            }

it obviously works at the card level but I’d like to make it “default” for all dashboard text.

got it. added card_mod styling to my custom theme:

my-custom-theme:
  card-mod-theme: my-custom-theme 
  card-mod-card: |
    ha-card {
      text-shadow: 0px 5px 5px rgba(0,0,0,0.3);
      }    

This is wrong.
Go to card-mod theme thread or github for a proper syntax.

trim&copy error. corrected. thx!.