Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ddyokim committed Nov 30, 2015
1 parent 1a92a41 commit 355929f
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 0 deletions.
9 changes: 9 additions & 0 deletions changeColor.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//$(document).ready(function() {
var colors = [ '#1e6823', '#44a340', '#8cc665', '#d6e685', '#eee' ];
var converts = [ '#ff5675', '#ff6a89', '#ff88a7', '#ff9cbb', '#ffb0cf' ];

for (var i = 0; i < colors.length; i += 1) {
$('.day[fill='+colors[i] + ']').attr('fill', converts[i]);
$('ul.legend li[style="background-color: '+colors[i]+'"]').css('background-color', converts[i]);
}
//});
Binary file added icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icon128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icon16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icon48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions jquery.min.js

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"manifest_version" : 2,
"name": "colorGit",
"version": "1.0",
"description": "Make your GitHub more colorful",
"browser_action": {
"default_icon": "icon.png"
},
"icons": {
"16": "icon16.png",
"48": "icon48.png",
"128": "icon128.png"
},
"permissions": [
"tabs",
"*://github.com/*"
],
"content_scripts": [
{
"matches": [
"*://github.com/*"
],
"js": [
"jquery.min.js",
"changeColor.js"
]
}
]
}

0 comments on commit 355929f

Please sign in to comment.