We use cookies to ensure that we give you the best experience on our website. Click here for more information. Got it
How to set a primary or secondary color for Material design
INTEGRATIONS
FREE TOOLS
COMPANY
Copyright © 2024 Justinmind
Footer policies
Footer policies
Footer policies
This means we would like to set a primary color for the whole project instead replacing it for each element.
This means we would like to set a primary color for the whole project instead replacing it for each element.
Ideally the same could be done with fonts, etc.
Ideally the same could be done with fonts, etc.
You can load the widget library you're using, then click on the 'gear' icon and click 'edit library'
Then, click 'Edit all widgets', which will load all widgets to the Canvas in separate tabs
Lastly, go to Edit -> Replace styles, and you'll be able to change the background color for the widgets, as well as their font styles/colors etc. Make sure to click 'Save all widgets' after you're done editing.
You can load the widget library you're using, then click on the 'gear' icon and click 'edit library'
Then, click 'Edit all widgets', which will load all widgets to the Canvas in separate tabs
Lastly, go to Edit -> Replace styles, and you'll be able to change the background color for the widgets, as well as their font styles/colors etc. Make sure to click 'Save all widgets' after you're done editing.
Thank you for the prompt answer. Sounds interesting. But are these settings across projects or only valid for the loaded project?
Thank you for the prompt answer. Sounds interesting. But are these settings across projects or only valid for the loaded project?
Most of the widgets do not have the 'gear' icon. So it is not possible to edit them (eg. Android Components). How is it possible to edit these?
Most of the widgets do not have the 'gear' icon. So it is not possible to edit them (eg. Android Components). How is it possible to edit these?
You'll need to create a new widget library for those. Go to Widgets -> New Widget library -> Drag the Android Components widgets you're going to use into the new library. You'll then be able to edit them in bulk. These settings are valid across any project in which you load that widget library.
You'll need to create a new widget library for those. Go to Widgets -> New Widget library -> Drag the Android Components widgets you're going to use into the new library. You'll then be able to edit them in bulk. These settings are valid across any project in which you load that widget library.
Thank you that helps. But a better solution would be to define global style variables and assign them to elements. That would make prototyping much faster.
Thank you that helps. But a better solution would be to define global style variables and assign them to elements. That would make prototyping much faster.
Thanks for the feedback! I'll forward that along to our team.
Thanks for the feedback! I'll forward that along to our team.
Replies have been locked on this page!