-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add colors.js example + info to readme
- Loading branch information
1 parent
febb51a
commit bbbf526
Showing
3 changed files
with
9 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
var keyboard = require('../')(); | ||
|
||
keyboard.color('left', { | ||
color: 'red', | ||
color: 'rgba(200, 0, 0)', | ||
intensity: 'high' | ||
}); | ||
keyboard.color('middle', { | ||
color: 'green', | ||
intensity: 'high' | ||
}); | ||
keyboard.color('right', { | ||
color: 'blue', | ||
color: '#4654BD', | ||
intensity: 'high' | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters