diff --git a/scripts/ColorTestCase.js b/scripts/ColorTestCase.js index 2b16744..693269b 100644 --- a/scripts/ColorTestCase.js +++ b/scripts/ColorTestCase.js @@ -9,6 +9,20 @@ rectest.ColorTestCase = Class( 'ColorTestCase' ) [ 'purple', 'brown', 'gray' ] ], + // Tango icon theme + 'private static _cmap': { + black: '#2e3436', + blue: '#204a87', + brown: '#8f5902', + gray: '#babdb6', + green: '#73d216', + orange: '#f57900', + purple: '#75507b', + red: '#cc0000', + white: '#eeeeec', + yellow: '#edd400' + }, + /** * Element to contain color * @var {jQuery} @@ -46,7 +60,9 @@ rectest.ColorTestCase = Class( 'ColorTestCase' ) 'public render': function( id, $element ) { - this._$color.css( 'background-color', id ); + this._$color.css( 'background-color', + this.__self.$( '_cmap' )[ id ] || id + ); } } );