-
-
Notifications
You must be signed in to change notification settings - Fork 208
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
Readable color returnIfDarkColor isn't working #615
Comments
@majkl-zumberi I was running into this issue as well, you can pass in |
Hmm after looking at the implementation, I guess I'd like this behavior but not sure if that wouldn't cause some unintended side effects.
|
I'm running into this issue on Redocly, which uses Polished. No matter what I do, I can't get the search background to #FFFFFF and now I have a problem where I've had to choose a lighter grey for the text (#999999) which allows the search results to show up, but it looks washed out on the white background I have everywhere else, and weird when there's other text on the page that's black (#000000). I've tried reverting to an older version of Polished, but that's not working either. This was working before. Not sure what changed, but I'd love it if they'd put it back the way it was. |
polished
version: ^4.2.2JSS-in_CSS
library and version: styled-components ^5.1.1Mixin/Helper/Shorthand Usage
What You Are Seeing
i provide #f4d449 as secondary #FFF as white and #2b3399 as tertiary
returns the default color returnIfDarkColor
What You Expected To See
returns #000 instead of #2b3399
The text was updated successfully, but these errors were encountered: