Extending a parent theme's configuration blueprint

I have a theme “B” which extends “A”. This is the first time I’ve tried theme blueprints. I added a form and field to A’s blueprint under form: in themes/a/blueprints.yaml. It does not come up when I am editing B’s configuration in Admin’s “Themes” menu.

I tried this in themes/b/blueprints.yaml and it didn’t work:

form:
  extends@: parent@

(in case anyone saw this in the first few minutes after posting, I edited this significantly, please reread)
(filenames corrected too after reading @pamtbaau’s first response)

I could guess all kinds of crazy combinations of YAML syntax and might get lucky.

I also looked at events I might hook into but nothing seemed suitable and I don’t know what I would change if I found one anyway.

I’ve extended page templates and blueprints easily enough, but can’t find any guidance on theme blueprints.

@hughbris, Am I understanding correctly that you wish to inherit and extend file /user/themes/a/blueprints.yaml in /user/themes/b/blueprints.yaml by adding extra config fields?

I’m having the impression that it is not possible to inherit/extend the blueprints.yaml file, because the docs explicitly states to copy the form definition from the parent theme.

From section Inheriting using the CLI:

  1. Copy the “form” section from /user/themes/quark/blueprints.yaml file into /user/themes/mytheme/blueprints.yaml in order to include the customizable elements of the theme in the admin. (Or simply replace the file and edit its content.)

From section Inheriting manually:

  1. Copy the /user/themes/quark/blueprints.yaml file into /user/themes/mytheme/blueprints.yaml in order to include the customizable elements of the theme in the admin.

That’s correct and you helped me see that I mentioned the wrong YAML filename in my question. Will correct that.

I agree that doesn’t look promising. However, sometimes the docs don’t get updated. Also, Grav usually follows DRY principles.