-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customize default colour palette #481
Comments
Please, when this coulour palette will be available, is there any solution to change the default color? |
I created a PR for this long ago #482 but so far it's gone ignored by the library owners |
In React i changed the default color as
////////////////////////////////////////////// COMPONENT /////////////////////////////
|
a workaround this, is to make use of the startDrawingMode method so you can create your own color picker or use the tui color picker and then invoke the StartDrawingMode method using your own function, here is how I do it in Vue (Nuxt.js)
drawStyle can be 'FREE_DRAWING' or 'LINE_DRAWING' this code is in Vue (Nuxt.js) but I believe it is fairly similar it React |
Version
3.10.0
Development Environment
Chrome, IE, Mozilla, etc...
Current Behavior
Presently the default colour palette in the colour chooser cannot be changed
Expected Behavior
There needs to be a way for for developers to pass through their own colour palette to replace this preset
The text was updated successfully, but these errors were encountered: