Skip to content
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

Document how to change styles for Twitter-Picker #816

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tordans
Copy link

@tordans tordans commented Apr 14, 2021

This clarifies how to customise the styles.

It took me a while to figure out I need to add default to the styles hash. The styles example from https://casesandberg.github.io/react-color/#create-helpers EditableInput does not use the default hash. And the example at https://github.com/casesandberg/react-color/blob/master/docs/documentation/03.05-customStyles.md is not rendered at https://casesandberg.github.io/react-color/.

This clarifies how to customise the styles.

It took me a while to figure out I need to add `default` to the styles hash. The styles example from https://casesandberg.github.io/react-color/#create-helpers `EditableInput` does not use the `default` hash. And the example at https://github.com/casesandberg/react-color/blob/master/docs/documentation/03.05-customStyles.md is not rendered at https://casesandberg.github.io/react-color/.
tordans added a commit to tordans/react-color that referenced this pull request Apr 14, 2021
The page https://github.com/casesandberg/react-color/blob/master/docs/documentation/03.05-customStyles.md is ideal to explain how to customise styles but is missing from https://casesandberg.github.io/react-color/#api. 

Adding this will also resolve the need to document the styles props individually at casesandberg#816
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.

None yet

1 participant