Greasy Fork is available in English.
theme for arras.io
当前为
// ==UserScript==
// @name Arras Theme
// @version 2.0.0
// @description theme for arras.io
// @match *://arras.io/*
// @grant none
// @run-at document-start
// @license MIT
// @namespace http://tampermonkey.net/
// ==/UserScript==
CanvasRenderingContext2D.prototype._stroke = CanvasRenderingContext2D.prototype._stroke || CanvasRenderingContext2D.prototype.stroke;
CanvasRenderingContext2D.prototype._fillText = CanvasRenderingContext2D.prototype._fillText || CanvasRenderingContext2D.prototype.fillText
CanvasRenderingContext2D.prototype._strokeText = CanvasRenderingContext2D.prototype._strokeText || CanvasRenderingContext2D.prototype.strokeText
CanvasRenderingContext2D.prototype.stroke = function() {
this.shadowBlur = this.lineWidth / 2;// remove this line to have no blur
this.shadowColor = this.strokeStyle; // remove this line to have no blur
//tanks in genral
this.fillStyle = "#c7370f "
this._stroke(...arguments)
this.shadowBlur = 0; // remove this line for no blur
};
CanvasRenderingContext2D.prototype.fillText = function() {
this._fillText(...arguments)
this.shadowBlur = 0;
};
//names exc...
CanvasRenderingContext2D.prototype.strokeText = function() {
this.strokeStyle = "#03fcfc"
this._strokeText(...arguments);
};