What I’m trying to do:
Create a wild style for my app that defies convention of a cookie cutter template website.
What I’ve tried and what’s not working:
I have to really think about how to cancel out bootstrap and other linked CSS applied to default elements like buttons and flow panels.
I am currently creating separate HTML template forms and defining them as my own components. I have to manage classes and onclicks with javascript or javascript wrapped with anvil.js…
but that destroys the point of Anvil being a 6-minute app tool.
Any way we could have no default formatting mode?
Is there any hacky way I can cancel out pre-loaded bootstrap themes?
Bootstrap plus some CSS and javascript added by the Anvil team are part of what allows it being a “6-minute app tool” that works seamlessly across platforms. You certainly can replace those thousands of lines written by many people over many years, but I really don’t think you can do it in less than 6 minutes.
I think there is a tutorial, I don’t remember which one, that creates an app that looks really great. If I remember the Anvil team didn’t create the CSS, they paid a third party specialized in this very job just to show that it is possible.
So… yeah, it is definitely possible to “Create a wild style for my app that defies convention of a cookie cutter template website”, but it is definitely impossible to do so in less than 6 minutes.
@ianb : that is the cleanest way, but as stefano.menci mentioned there is still css in there.
@stefano.menci : absolutely, and those thousands of lines are what makes it so powerful.
What I need help with is possibly assigning more than 1 role? Or some way to control column margins and padding, as well as element placement. Possibly add a list of classes onto an element without unpacking it with get_dom_node() ?
I think XY Panel could be what I need, but I haven’t played with it enough yet.
I have never used a system so perfect to deal with the backend frontend integration. It’s truly a work of art. Now I just need some powerful UI/UX tools. Figma/Lunacy integration? I have a few ideas to redesign the design view, but I am not the PO/PM for Anvil, is there something on the roadmap?
There are a lot of questions, and hopefully this contributes to our discussion.