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
// ==UserScript== | |
// @name SPM Custom CSS Properties | |
// @namespace http://tampermonkey.net/ | |
// @version 0.35 | |
// @description SPM UI theme creation using CSS properties | |
// @author https://github.com/daithimorton | |
// @match https://*/* | |
// @match http://*/* | |
// @grant none | |
// @downloadUrl https://gist.github.com/daithimorton/467336d64f1a130ef622499634dd098c/raw/spmcssvar.user.js |
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
module Component | |
def operation | |
raise "Component error" | |
end | |
end | |
module Decorator | |
include Component | |
def initialize(component) | |
@component = component |
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
module Component | |
def operation | |
raise "Component error" | |
end | |
end | |
module Decorator | |
include Component | |
def initialize(component) |
NewerOlder