Skip to content

Allow to customize frame, feedback and oval colors#11

Open
jakubkoci wants to merge 2 commits into
tradle:masterfrom
jakubkoci:customizations
Open

Allow to customize frame, feedback and oval colors#11
jakubkoci wants to merge 2 commits into
tradle:masterfrom
jakubkoci:customizations

Conversation

@jakubkoci

Copy link
Copy Markdown
Contributor

This allows adding customization attributes as objects in opts JSON to be counterparts for SDK customization objects (frame, feedback, oval). I just added feedback and oval for now, but I can refactor the frame in the same way later.

Example of config:

{ 
  ...
  backgroundColor: '#D50032',
  borderColor: '#FFFFFF',
  feedbackCustomization: {
    backgroundColor: ['#D3284C', '#F05A78'],
  },
  ovalCustomization: {
    progressColor1: '#FA551E',
    progressColor2: '#D3284C',
  },
  ...
}

What do you think?

@mvayngrib mvayngrib requested a review from pgmemk October 7, 2019 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant