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

Changing Color #27

Open
henrik-d opened this issue Jul 29, 2015 · 1 comment
Open

Changing Color #27

henrik-d opened this issue Jul 29, 2015 · 1 comment

Comments

@henrik-d
Copy link

Hey,
thanks for the great project. It would be cool, if one could change the color of the bar at runtime :)

@stakach
Copy link
Member

stakach commented Jul 30, 2015

You can with CSS and classes. Have to look at the resulting element and the elements you want to modify, shouldn't be too difficult

@import "../../bower_components/orbicular/orbicular.scss";
@include orbicular();
orbicular.changeColor {
  div.co-fill {
    background-color: blue;
  }
}

Now you can add / remove the change color class using JS.

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