Theme doesn't apply with splitter config

Hello,

I wanted to give a try to this dash: GitHub - VigoKrumins/hass-config: A minimalist Home Assistant configuration with a clean UI. Enjoy a comprehensive set of configurations and a thoughtfully designed dashboard. Minimize reliance on external plugins while maximizing simplicity and efficiency. Your all-in-one solution for Home Assistant.

But I need your help figuring out why this theme doesn’t apply if not selected in the user’s preferences.
I have a splitter config, and a couple of UI Dashboards, so I had to configure my lovelace in storage mode, and it probably made things more complicated. I hope there is a fix. These are my main yaml files.

lovelace.yaml

lovelace:
  mode: storage
  
  dashboards:
    lovelace-yaml:
      mode: yaml
      title: Minimal P
      icon: mdi:home-assistant
      show_in_sidebar: true
      filename: ui-lovelace.yaml

ui-lovelace.yaml

button_card_templates: 
  !include_dir_merge_named button_card_templates

title: "Home Assistant"
theme: "Minimal"

kiosk_mode:
  hide_header: false
  non_admin_settings:
    kiosk: false

views: !include_dir_merge_list minimal-dash/

overview.yaml

- type: custom:grid-layout
  name: Minimal Dash
  path: minimal
  icon: mdi:home
  layout:
    margin: 0
    padding: 0
...