Support » Plugin: Atomic Blocks - Gutenberg Blocks Collection » Can I change default button color?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author atomicblocks

    (@atomicblocks)

    Hi Kim,

    We’re working on a way for users to be able to set defaults within the interface, but we’re not quite there yet. To reset the default color, it looks like you will have to redefine the color palettes that are set in the theme. You’ll need to do this in the child theme. Depending on the theme, the Genesis team should be able to point you to the color palette code that needs to be replaced!

    Thanks. I’ll keep my eyes open for this update.

    BTW… I did set the default colors in my Child Theme, but they don’t carry over to the default button color for some reason. (They do give them to me as an option) but Blue stays the first one that goes in.

    Plugin Author atomicblocks

    (@atomicblocks)

    It looks like the button has a default attribute being applied, which is the blue you’re seeing.

    buttonBackgroundColor: {
    	type: 'string',
    	default: '#3373dc'
    },

    We’ll have to take a look at what it means to remove that. If it can be done seamlessly on our end (and not trigger a deprecation), that might be the best option.

    Plugin Author atomicblocks

    (@atomicblocks)

    In the interim, there is a way to filter through blocks and change their default attributes. You can find more about there here.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can I change default button color?’ is closed to new replies.