diff --git a/src/paper.js b/src/paper.js index 0d6ffb94..92de6507 100644 --- a/src/paper.js +++ b/src/paper.js @@ -84,10 +84,10 @@ var paper = new function() { /*#*/ include('text/TextItem.js'); /*#*/ include('text/PointText.js'); -/*#*/ include('style/Style.js'); /*#*/ include('style/Color.js'); /*#*/ include('style/Gradient.js'); /*#*/ include('style/GradientStop.js'); +/*#*/ include('style/Style.js'); /*#*/ if (options.browser) { /*#*/ include('browser/DomElement.js'); diff --git a/src/style/Style.js b/src/style/Style.js index fdcf7ed4..5b1d76df 100644 --- a/src/style/Style.js +++ b/src/style/Style.js @@ -84,7 +84,7 @@ var Style = this.Style = Base.extend(new function() { _defaults: defaults, // Override default fillColor for text items _textDefaults: Base.merge(defaults, { - fillColor: 'black' + fillColor: new Color() // black }) };