Design vs Code (e.g. components, instances, etc)

Hi Rui,

You should be able to find the component styling in the theme.css. If you want to add some styles use roles:

.anvil-role-newrole {
# properties;
}

Then in roles (where the colour pallette lives) add your role by its name, e.g. newrole and you can apply using the role dropdown in your design view wheb you have a component selected.

Then, when you want to add an event to a component it’s at the bottom of the properties panel.

1 Like