GUI -- Fixed broken unit test, and amended case of color specs.
Change-Id: I0bd0fcc0139d264a56f8035a0a823a6aafb57ea5
Showing
2 changed files
with
3 additions
and
3 deletions
... | @@ -140,7 +140,7 @@ | ... | @@ -140,7 +140,7 @@ |
140 | var lightNorm = ['#3E5780', '#78533B', '#CB4D28', '#018D61', '#8A2979', '#006D73', '#56AF00'], | 140 | var lightNorm = ['#3E5780', '#78533B', '#CB4D28', '#018D61', '#8A2979', '#006D73', '#56AF00'], |
141 | lightMute = ['#A8B8CC', '#CCB3A8', '#FFC2BD', '#96D6BF', '#D19FCE', '#8FCCCA', '#CAEAA4'], | 141 | lightMute = ['#A8B8CC', '#CCB3A8', '#FFC2BD', '#96D6BF', '#D19FCE', '#8FCCCA', '#CAEAA4'], |
142 | 142 | ||
143 | - darkNorm = ['#304860', '#664631', '#a8391b', '#00754b', '#77206d', '#005959', '#428700'], | 143 | + darkNorm = ['#304860', '#664631', '#A8391B', '#00754B', '#77206D', '#005959', '#428700'], |
144 | darkMute = ['#16203A', '#281810', '#4F1206', '#00331C', '#3D063A', '#002D2D', '#1B4400']; | 144 | darkMute = ['#16203A', '#281810', '#4F1206', '#00331C', '#3D063A', '#002D2D', '#1B4400']; |
145 | 145 | ||
146 | var colors= { | 146 | var colors= { | ... | ... |
... | @@ -70,11 +70,11 @@ describe('factory: fw/svg/svgUtil.js', function() { | ... | @@ -70,11 +70,11 @@ describe('factory: fw/svg/svgUtil.js', function() { |
70 | 70 | ||
71 | 71 | ||
72 | it('should provide an alternate (dark) shade of blue', function () { | 72 | it('should provide an alternate (dark) shade of blue', function () { |
73 | - expect(sus.cat7().getColor('foo', false, 'dark')).toEqual('#364D7F'); | 73 | + expect(sus.cat7().getColor('foo', false, 'dark')).toEqual('#304860'); |
74 | }); | 74 | }); |
75 | 75 | ||
76 | it('should provide an alternate (dark) shade of blue for muted', function () { | 76 | it('should provide an alternate (dark) shade of blue for muted', function () { |
77 | - expect(sus.cat7().getColor('foo', true, 'dark')).toEqual('#1B2645'); | 77 | + expect(sus.cat7().getColor('foo', true, 'dark')).toEqual('#16203A'); |
78 | }); | 78 | }); |
79 | 79 | ||
80 | it('should iterate across the colors', function () { | 80 | it('should iterate across the colors', function () { | ... | ... |
-
Please register or login to post a comment