5555 <div class =" dx-fieldset" >
5656 <div class =" dx-fieldset-header" >Event Handling</div >
5757 <div class =" hero-block" >
58- <div
59- :style =" { backgroundColor: color }"
60- class =" color-block"
61- >
62- <div class =" superhero" />
58+ <div class =" color-block" >
59+ <svg class =" brush" width =" 360" height =" 254" :style =" { color }" >
60+ <use :href =' "../../../../images/Brush.svg#brush"' ></use >
61+ </svg >
62+ <svg class =" superhero" width =" 360" height =" 254" >
63+ <use :href =' "../../../../images/Hero.svg#hero"' ></use >
64+ </svg >
6365 </div >
6466 <div class =" hero-color-box" >
6567 <DxColorBox
@@ -101,7 +103,6 @@ const eventHandlingLabel = { 'aria-label': 'Event Handling' };
101103.color-block {
102104 width : 360px ;
103105 height : 254px ;
104- background-color : #f05b41 ;
105106 position : relative ;
106107}
107108
@@ -112,7 +113,8 @@ const eventHandlingLabel = { 'aria-label': 'Event Handling' };
112113 top : 110px ;
113114}
114115
115- .color-block .superhero {
116+ .superhero ,
117+ .brush {
116118 position : absolute ;
117119 height : 100% ;
118120 width : 100% ;
@@ -122,35 +124,27 @@ const eventHandlingLabel = { 'aria-label': 'Event Handling' };
122124 position : relative ;
123125}
124126
125- .superhero {
126- background-image : url (" ../../../../images/hero_white.png" );
127- }
128-
129- .dx-color-scheme-dark .superhero {
130- background-image : url (" ../../../../images/hero_black.png" );
131- }
132-
133- .dx-color-scheme-darkmoon .superhero {
134- background-image : url (" ../../../../images/hero_darkmoon.png" );
135- }
136-
137- .dx-color-scheme-darkviolet .superhero {
138- background-image : url (" ../../../../images/hero_darkviolet.png" );
127+ .brush {
128+ color : #f05b41 ;
139129}
140130
131+ .superhero ,
141132.dx-color-scheme-greenmist .superhero {
142- background-image : url (" ../../../../images/hero_greenmist.png" );
143- }
144-
145- .dx-color-scheme-contrast .superhero {
146- background-image : url (" ../../../../images/hero_contrast.png" );
133+ color : #404041 ;
147134}
148135
136+ .dx-color-scheme-dark .superhero ,
137+ .dx-color-scheme-darkmoon .superhero ,
138+ .dx-color-scheme-darkviolet .superhero ,
149139.dx-color-scheme-blue-dark .superhero ,
150140.dx-color-scheme-orange-dark .superhero ,
151141.dx-color-scheme-teal-dark .superhero ,
152142.dx-color-scheme-lime-dark .superhero ,
153143.dx-color-scheme-purple-dark .superhero {
154- background-image : url (" ../../../../images/hero_material_dark.png" );
144+ color : #a8a8a8 ;
145+ }
146+
147+ .dx-color-scheme-contrast .superhero {
148+ color : #fff ;
155149}
156150 </style >
0 commit comments