Hello,
@pamtbaau
https://learn.getgrav.org/17/themes/customization#inheriting-using-the-cli
The first time I already did it this way but I tried again, and with the same result :
Point 2/
[code]
user@monpc~/public_html/grav$ bin/plugin devtools new-theme
Enter Theme Name:
mytheme2
Enter Theme Description:
mytheme2
Enter Developer Name:
user
Enter GitHub ID (can be blank):
Enter Developer Email:
@.net
Please choose an option:
[pure-blank ] Basic Theme using Pure.css
[tailwind ] Basic Theme using tailwind.css
[inheritance] Inherit from another theme
[copy ] Copy another theme
Inherit from another theme
Please choose a theme to extend:
[0] mytheme
[1] quark
1
SUCCESS theme mytheme2 -> Created Successfully
Path: /home/user/public_html/grav/user/themes/mytheme2
[/code]
Point 4/ It's strange because it is already done :
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.)
My css grav/user/themes/mytheme2/custom.css is working but not for pre code tags
[code]
pre code {
background: #CCBBBB;
}
[/code]