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

Automatic contrast #72

Closed
Synchro opened this issue Jan 2, 2014 · 1 comment
Closed

Automatic contrast #72

Synchro opened this issue Jan 2, 2014 · 1 comment

Comments

@Synchro
Copy link

Synchro commented Jan 2, 2014

It would be nice if I could specify only a background color and have holder automatically pick a contrasting colour for the text overlay. The contrast function in LESS.js does this according to the WCAG spec. It would require a regex to match a single colour instead of the pair that you currently match in the app.flags object.

@imsky
Copy link
Owner

imsky commented Jan 3, 2014

Good idea, I'll look into it.

@imsky imsky added the 2.5 label Jun 8, 2014
@imsky imsky removed the 2.5 label Nov 23, 2014
@imsky imsky added this to the Holder 2.5 milestone Nov 23, 2014
@imsky imsky removed this from the Holder 2.5 milestone Feb 1, 2015
@imsky imsky modified the milestones: Holder 2.6, Holder 2.7 Apr 8, 2015
@imsky imsky removed this from the Holder 2.7 milestone May 3, 2015
@imsky imsky mentioned this issue May 25, 2015
Merged
3 tasks
@imsky imsky closed this as completed in 14bb113 May 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants