<commit_before>function ShapeTheme(onComplete, global) {
    GOWN.Theme.call(this, global);
    this.textStyle = {
        "fill": "#fff",
        "font": "20px Arial"
    };
    this.onComplete = onComplete;
    this.setSkins();
}

ShapeTheme.prototype = Object.create( GOWN.Theme.prototype );
ShapeTheme.prototype.constructor = ShapeTheme;

ShapeTheme.prototype.getDummyButton = function(color, borderColor) {
    return function() {
        var rect = new GOWN.Rect(color, 0.8);
        rect.radius = 5;
        rect.border = 2;
        rect.borderColor = borderColor;
        return rect;
    }
};

ShapeTheme.prototype.setSkins = function() {
    var b = GOWN.Button;<commit_msg>Bugfix: set textStyle properties directly in ShapeTheme (using ThemeFont)<commit_after>function ShapeTheme(onComplete, global) {
    GOWN.Theme.call(this, global);
    this.textStyle.fill = '#fff';
    this.textStyle.font = '20px Arial';
    this.onComplete = onComplete;
    this.setSkins();
}

ShapeTheme.prototype = Object.create( GOWN.Theme.prototype );
ShapeTheme.prototype.constructor = ShapeTheme;

ShapeTheme.prototype.getDummyButton = function(color, borderColor) {
    return function() {
        var rect = new GOWN.Rect(color, 0.8);
        rect.radius = 5;
        rect.border = 2;
        rect.borderColor = borderColor;
        return rect;
    }
};

ShapeTheme.prototype.setSkins = function() {
    var b = GOWN.Button;
{'fraction_non_alphanumeric': 0.12473572938689217, 'fraction_numerical': 0.008456659619450317, 'mean_word_length': 3.152046783625731, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4783587', 'n_tokens_mistral': 453, 'n_tokens_neox': 436, 'n_words': 90}