Getting Material Design Form in Existing "Custom HTML" Project

Currently I have a project that I initiated as a “Custom HTML” project.
I would like to be able to use the “Material Design” Forms in this project now, but I’m not sure how…

Any hints?

Here’s a thread on a similar issue

Convert Classic theme to new Material Design theme

2 Likes

@stucork, thanks, I’ll check that out :slight_smile:

In the thread you posted, the workaround is:

" (Workaround: You can do it by checking two apps out in Git, and copying the theme/ directory wholesale from one to the other…)"

How do I do this?

How’s your knowledge of git? Some good YouTube videos out there. I’d recommend this for a nice intro.

Here’s the docs on using git with anvil.

https://anvil.works/docs/version-control/git

You’d want to follow the steps there. Clone it into a directory on your PC (and another one with the theme you need into a separate directory). Make the changes. Commit the changes. Push the changes.

Worth playing around with minor changes on a duplicate project to see how it works.
You should be able to revert changes using anvils view of the saved changes.

2 Likes

I know how to clone, that’s about it. I’ll check out the video and see if I can figure it out from there. Thanks!

Got it! Copied the theme folder as recommended, checked it in, and BOOM. Works.

Thank you!

2 Likes