-
Notifications
You must be signed in to change notification settings - Fork 148
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
feat: color picker style enhancements #230
Conversation
jimniels
commented
Feb 8, 2023
•
edited
Loading
edited
- Get rid of box-shadows inside color picker menus
- Refines swatch styles
- Adds a "clear" button that appears more incorporated to the picker
- Works everywhere the color picker works (in both Floating Context menu and TopBar Formatting Menu)
- Fill color
- Text color
This pull request is automatically being deployed by Amplify Hosting (learn more). |
right: 0; | ||
top: 0; | ||
bottom: 0; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't love everything in this CSS overrides file, but react-color
doesn't have a lot of great extensibility for styling other than overriding like this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't love it either, but it works.
I am weird and like inline styles, because they are always easy to find. In React, if you want reusable styles - make a component with inline styles. :)
Also in TS styles are type-checked