Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.37 KB

File metadata and controls

36 lines (23 loc) · 1.37 KB

git-contribution-repository-text

A javascript script which draws strings within the "Year contribution" canvas

Screenshot 2020-03-26 at 17 55 52

Usage

  • You can either copy the content of the script in the browser's console or use greasemonkey / tampermonkey to integrate the script.

  • Call the function apply(w, bg_color, color)

Parameters Description
w The word you want to apply ( at the moment, the script will only prints the first 7 letters ) . DEFAULT = HELLO
bg_color The background color. DEFAULT = #ebedf0
color The letters' color. DEFAULT = #239a3b

Playground

If you want to play around with the script you can

  • Clone the repo into a directory and change the current directory.
  • Run a local webserver. E.g. (If you have PHP installed) php -S localhost:8000
  • Open a browser and go to localhost:8000
  • Change values

Example

gittext

License

License

MIT license

  • Copyright 2020 © Annino De Petra