Skip to content

Commit

Permalink
Define LESS variable for on/off indicator color.
Browse files Browse the repository at this point in the history
  • Loading branch information
kantlivelong committed Nov 23, 2017
1 parent 4f60f5a commit 9bec55d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions octoprint_psucontrol/static/less/psucontrol.less
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
@psucontrol-on-color: #00FF00;
@psucontrol-off-color: #808080;

#psucontrol_indicator {
&.on i {
color: #00FF00;
color: @psucontrol-on-color;
}

&.off i {
color: #808080;
color: @psucontrol-off-color;
}
}

0 comments on commit 9bec55d

Please sign in to comment.