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

Allow a background color to be used instead #23

Closed
jonathanKingston opened this issue Nov 20, 2015 · 4 comments
Closed

Allow a background color to be used instead #23

jonathanKingston opened this issue Nov 20, 2015 · 4 comments

Comments

@jonathanKingston
Copy link
Contributor

Using this has given mixed results for older browsers due to it cutting away the alpha channel and discarding it.

I would like to propose an option where the user can use a base color to aid the transform. This so far (certainly for my use-cases) has yielded nicer results.

So with a white background:

body {
  background: #ade4ad;
  background: rgba(153, 221, 153, 0.8);
  font-size:1px;
  border: solid 1px #d1d1d1;
  border: solid 1px rgba(100,102,103,.3);
  color: #999999;
  color: rgba(0, 0, 0, .4);
}

Instead of:

body {
  background: #99dd99;
  background: rgba(153, 221, 153, 0.8);
  font-size:1px;
  border: solid 1px #646667;
  border: solid 1px rgba(100,102,103,.3);
  color: #000000;
  color: rgba(0, 0, 0, .4);
}
@jonathanKingston
Copy link
Contributor Author

@magsout is this something that could be considered? Thanks.

@magsout
Copy link
Member

magsout commented Dec 29, 2015

@jonathanKingston thanks for your proposal. I never needed it, but why not.

@jonathanKingston
Copy link
Contributor Author

This is visible on https://www.cyber-ami.com if you needed to see it in practice.

ba-focus-panel{background:#f7f7f7;background:rgba(35,35,35,.036);}

Instead of:

ba-focus-panel{background:#232323;background:rgba(35,35,35,.036);}

@magsout
Copy link
Member

magsout commented Dec 30, 2015

Yes, seems fair

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

No branches or pull requests

2 participants